Перейти к содержимому
Mineforgian

Teal Lib

A library mod that's teal... That's the appeal

Загрузки
22K
Подписчики
7
Обновлён
25 июля 2026 г.
Лицензия
Teal-License

Опубликован 4 июля 2026 г.

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!!

Ченджлог

1.3.tealРелиз1.21.1 · 25 июля 2026 г.
  • 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!

1.2.tealРелиз1.21.1 · 23 июля 2026 г.
  • fixed c2me crash
1.1.tealРелиз1.21.1 · 23 июля 2026 г.
  • 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
1.0.tealРелиз1.21.1 · 4 июля 2026 г.
  • release

Комментарии

Загружаем…