Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silk-touch Spawners #88

Open
josefbaltz opened this issue Dec 11, 2023 · 0 comments
Open

Silk-touch Spawners #88

josefbaltz opened this issue Dec 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@josefbaltz
Copy link
Member

Implement an in-house solution for silk spawners

Describe the solution you'd like
Allow for players with silk touch pickaxes to get spawners.
Additionally create an API so external plugins can utilize our solution to this issue.

Stretch Goals
Implement a GUI to allow players to add items and other resources to change the spawner type after placed. For example, allow the player to spend 5 levels of experience and 16 gunpowder to set the spawner type to creeper.

Additional context
Utilize NBT tags to store mob type.
API should allow the following

  • Creating an ItemStack with the required NBT data so the GalaxeSMP plugin can appropriately set the spawner type when placed.
  • Adding required NBT data to an already existing spawner within someone's inventory.
  • Easily get the mob type of an ItemStack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants