
[Feature Request] Add support for controlling spawned shopkeeper type
Hezkore opened this issue ยท 0 comments
On my server, I have a custom trader that sells VILLAGER_SPAWN_EGG
items with custom_data={PublicBukkitValues: {"shopkeepers:shop_creation_item": 1b}}
set.
This works, but the current behavior allows players to choose the type of shopkeeper they place (e.g., villager, skeleton etc.).
I would like a way to remove the player's ability to choose the shopkeeper type, and instead determine the shopkeeper type based on something like the egg type itself, or perhaps another shopkeepers
tag.
Use Case Example:
- A trader sells a villager-type shopkeeper egg for 10 emeralds.
- A skeleton-type shopkeeper egg is more rare and costs 15 emeralds.
- When a player places the egg, the type of shopkeeper should be automatically selected based on the egg, and the player should not be prompted to choose.