All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Teal Lib

Teal Lib

by Ninni • Downloads: 3 • 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!!

How to Install Teal Lib (Mod)

Teal Lib by Ninni is verified for Neoforge across Minecraft versions 1.21.1 (latest release: 1.3.teal, file size: 256 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.1) and platform (Neoforge).
  2. Make sure you have the compatible loader or environment installed for Neoforge.
  3. Move the downloaded Teal Lib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
2mo ago 2
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Neoforge
2mo 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