Skip to content

nexia-cts/InventoryMerger

 
 

Repository files navigation

InventoryMerger

A server-side Fabric library mod to easily merge, save and load inventories.

Allows you to add items to an inventory while following a specified layout. Can be used to let players create custom inventory layouts for kits that might change in the future.

Merging

The example above was created with InventoryMerger::merge.

  • Layout represents the specified layout which the kit tries to follow, most likely something a player on your server can create. Items are different from Result, but the layout has been followed.
  • Kit contains all the given items. Therefore items in Kit are the same as items in Result.
  • Result is what the player's inventory will look like after the "merge".

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%