Skip to content

harrisonpage/InventoryBuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InventoryBuddy

Minecraft plugin to automatically arrange inventory by loading/saving an inventory layout.

  • /inventory save will store an inventory layout: a list of items and slot numbers
  • /inventory load will apply the saved inventory layout
  • /inventory list will show an existing layout

Screenshot

Screenshot

Screenshot of commands /inventory save and /inventory list.

Also featured in screenshot: Lodestar plugin

Building

mvn clean ; mvn package

Install

cp target/InventoryBuddy-1.0.0.jar ~/minecraft/plugins/

Edge Cases

Boring and pedantic implementation details:

Player is missing expected items

Steps to reproduce:

  • Player saves an inventory layout
  • Player drops item(s)
  • Player loads inventory layout

Player is shown a message:

InventoryBuddy: [WARNING] Items missing from inventory: GOLDEN_APPLE, TNT

Player has unexpected items

Steps to reproduce:

  • Player saves an inventory layout
  • Player gathers more items
  • Player loads inventory layout

Player is shown a message:

InventoryBuddy: [WARNING] Unexpected items: COBBLESTONE

The unexpected items will be placed in empty slots.

Player has duplicate items

This is fine but if you are carrying two axes and you are wielding a favorite axe, it may not necessarily appear where you expect.

Etc

Created by harrison.page on 9-Apr-2022

About

Minecraft plugin to arrange inventory

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages