L2 Library

L2 Library

581k Downloads

Library for LightLand mods.

Forge 1.18.2 Only

  1. serial package: Adds annotation-based automatic serialization that supports NBT, JSON, and Packet
  2. block package: Rework Block architecture: blocks can be implemented by DetegateBlock.create(BlockMethod...) Enjoy Function Oriented Programming!
  3. network package: Add JSON config file support and auto-serialized packets
  4. menu package: Adds Container GUI manager that is data-driven and supports simple GUI with slots, player inventory, and drawable textures
  5. effect package: register your mob effects here, so it can be synced to client!
  6. capability package: add player capability support that will handle respawn and clone automatically
  7. base package: add template class for BlockEntity, Entity, and Container
  8. util package: add utils such as fraction and loot table generation helper