HZLib 1.21.1-0.1.0 NeoForge
Curse Maven Snippet
What's new
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
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

