promotional bannermobile promotional banner

XunLib

Not exciting, another library mod
Back to Files

XunLib 1.21.1-3.1.0

File namexunlib-neoforge-1.21.1-3.1.0.jar
Uploader
Xun_skXun_sk
Uploaded
Oct 10, 2026
Downloads
8
Size
265.2 KB
Mod Loaders
NeoForge
File ID
9114771
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:xunlib-1245630:9114771"

Learn more about Curse Maven

What's new

XunLib 3.1.0

Changed

  • Moved ItemStackPredicate from api.inventory to api.item.
  • Refactored SlotRange, renamed it to ContainerSlotRange, and moved it to api.block.entity.container. See the relevant commit for details.
  • Updated InventoryUtil methods that previously accepted SlotRange to use ContainerSlotRange instead.
  • Renamed InventoryUtil.insertItem() to tryInsertStack() for a clearer description of its behavior.

Deprecated

  • Deprecated all APIs under api.inventory and marked them for removal.
  • Deprecated PlayerInvUtil because most of its methods were simple one-line wrappers around existing functionality.

This mod has no related projects