promotional bannermobile promotional banner

HZLib

The shared library powering all Heria Zone mods. Provides the multi-loader entity framework, variant system, animation profiles, and platform services that every Heria Zone mod is built on.
Back to Files

HZLib 1.21.1-0.1.0 NeoForge

File namehzlib-neoforge-1.21.1-0.1.0.jar
Uploader
MSymbiosMSymbios
Uploaded
Jun 24, 2026
Downloads
32
Size
289.5 KB
Mod Loaders
NeoForge
File ID
8312378
Type
A
Alpha
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:hzlib-1586461:8312378"

Learn more about Curse Maven

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 management
  • NativeEntity — base entity class with finalizeSpawn() lifecycle hook and initializeSpawnVariants()
  • EntityFeature base class with feature composition via withFeature(Class, Feature)

Variant System

  • TextureVariantFeature, ModelVariantFeature, AnimatorVariantFeature — data-driven variant registration
  • SizeVariantFeature with SizeConfig — dynamic hitbox management, per-pose EntityDimensions, stat multipliers, O(1) lookup
  • AnimatorVariantFeature supports optional AnimationProfile per variant (backward compatible)

Animation Profile System

  • AnimationPool, WeightedAnimation, SelectionStrategy (RANDOM, WEIGHTED_RANDOM, SEQUENTIAL), LoopBehavior
  • AnimationProfile with full builder API — named slots (idle, walk, rest, sit, ride, attack, hurt), null-safe fallback via getAnimationForState()
  • AnimationSequence, SequenceStep, SequenceState — pull-model exit conditions via Predicate<LivingEntity>
  • ISpecialAnimation marker interface
  • Zero GeckoLib/Minecraft imports in core profile classes — pure Java

Progression and Combat Features

  • LevelFeature, CombatLevelFeature — entity levelling with attribute scaling
  • LinearAttributeStrategy, ExponentialAttributeStrategy — pluggable scaling curves
  • ProtectionFeature, 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