Links
Tags
Creators
Details
Licensed LGPL-3.0-only
Published 4 months ago
Updated 4 months ago
All versions
1.21.1-0.1.0
Alpha
HZLib v0.1.0 Forge4 months ago 18
Uploaded by
Compatibility
Minecraft: Java Edition
1.21.1
Platform
Forge
Supported environments
Client and server
Required content
Any compatible version
Changes
0.1.0-alpha — 2026-06-24
Minecraft 1.21.1
Initial alpha release. This is the first public build of HZLib — the shared library foundation for all Heria Zone mods.
Entity Framework
NativeEntityType<T>— base entity type with feature composition, stat configuration, and variant managementNativeEntity— base entity class withfinalizeSpawn()lifecycle hook andinitializeSpawnVariants()EntityFeaturebase class with feature composition viawithFeature(Class, Feature)
Variant System
TextureVariantFeature,ModelVariantFeature,AnimatorVariantFeature— data-driven variant registrationSizeVariantFeaturewithSizeConfig— dynamic hitbox management, per-poseEntityDimensions, stat multipliers, O(1) lookupAnimatorVariantFeaturesupports optionalAnimationProfileper variant (backward compatible)
Animation Profile System
AnimationPool,WeightedAnimation,SelectionStrategy(RANDOM, WEIGHTED_RANDOM, SEQUENTIAL),LoopBehaviorAnimationProfilewith full builder API — named slots (idle, walk, rest, sit, ride, attack, hurt), null-safe fallback viagetAnimationForState()AnimationSequence,SequenceStep,SequenceState— pull-model exit conditions viaPredicate<LivingEntity>ISpecialAnimationmarker interface- Zero GeckoLib/Minecraft imports in core profile classes — pure Java
Progression and Combat Features
LevelFeature,CombatLevelFeature— entity levelling with attribute scalingLinearAttributeStrategy,ExponentialAttributeStrategy— pluggable scaling curvesProtectionFeature,LevelBasedProtectionStrategy,EnchantmentProtectionCalculator— damage type resistance with enchantment integration
Platform Services
IPlatformServices— cross-loader abstraction for creative tabs, entity/item/recipe/command registration, config, and networking- Service locator pattern (
Services.java) for clean loader-agnostic access
Utilities
- Math, NBT, validation, and config bounds utilities in the Common module
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:KxsiDURd:NXxK0KPx"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:KxsiDURd:NXxK0KPx"
}

