Skip to content

Conversation

TiagoFar78
Copy link
Contributor

@TiagoFar78 TiagoFar78 commented May 7, 2024

Information

This PR closes #5535.

Details

Proposed feature:

Everytime you create a kit with gear (armor and offhand) equipped, the gear is placed in their respective slots once you retrieve the kit. For example, if you create the kit with a golden helmet equipped, it will be placed in your helmet slot when retrieving the kit.

Environments tested:

OS: Windows 11

Java version: 17

  • Most recent Paper version (1.20.4, git-Paper-BUILD)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:

Before:

Inventory before creating kit:
image

Execute createkit command:
image

Remove everything from inventory:
image

Retrieving the kit:
image

Inventory result:
image

After:

Inventory before creating kit:
image

Execute createkit command:
image

Remove everything from inventory:
image

Retrieving the kit:
image

Inventory result:
image

Everytime you create a kit with gear (armor and offhand) equipped, the
gear is placed in their respective slots once you retrieve the kit. For
example, if you create the kit with a golden helmet equipped, it will be
placed in your helmet slot when retrieving the kit.

Co-authored-by: Catarina Freire <catarina.xie.freire@tecnico.ulisboa.pt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option for placing items in specific slots (offhand, armor, etc)
1 participant