All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Teal Lib

Teal Lib

by Ninni • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Title

Library mod I made that provides some common utils for the development of my mods, as well as generally shared code among them. It also features:

  • A new Animation system based on the Vanilla Keyframes
  • Fully data driven Variant system for Entities and Block entities
  • A new Variant Data registry type that's used by the data driven Variant system to give further customization over the mob variants
  • An easy way to store and release mobs from items
  • A specific color.
  • More!!

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
1d ago 1
1.21.1
Neoforge
1d ago 1
1.21.1
Neoforge
1d ago 1
1.21.1
Neoforge
1d ago 1
  • Thread the WorldGenRegion accessor through variant assignment so biome,
height and weather lookups stay region-local and non-blocking. They
previously routed through the entity's ServerLevel and could block a
worldgen worker on an off-thread chunk load, deadlocking chunk generation.
  • Select the weighted variant with a fresh per-call RandomSource. The shared
level RNG is not thread-safe under parallel chunk generation and tripped
the ThreadingDetector. This also removes the need for the c2me special case.
  • Defer variant assignment to the first entity tick when the spawn chunk is
not yet queryable, covering structure-placed spawns.
  • Pass the accessor into applyEntity so variant data implementations can
query the level.

Thanks nacolla!
  • fixed c2me crash
  • added more template classes for mods to use
  • added an EntityAnimationHolder interface you can use to refer to all entities that use Teal Lib's animation system
  • made floor particles more easily rotated by classes that extend them
  • added a new system to super easily render items on models
  • updated fieldguide compat
  • release
Teal Lib Icon
Download Teal Lib
Select game version
Select platform