v2.22.2 MC (1.21,) 1.20.6, 1.20.4, 1.20.2, 1.20.1, 1.19.4, 1.18.2, 1.17.1, 1.16.5
Update: Some change in Spigot 1.21 broke this version of the Shopkeepers plugin. This version only works on Spigot versions from before 2024-07-06.
I only list the primary changes here. For information on API changes, internal changes, and changes to the language files, you can find the complete changelog on Github:
https://github.com/Shopkeepers/Shopkeepers/blob/master/CHANGELOG.md
- Add: Equipment editor for shopkeeper mobs and normal villagers.
- The equipment editor can be opened from the shopkeeper editor, as well as from the editor for normal villagers. There is no equipment editor for Citizens NPC shopkeepers yet.
- Players can also use placeholder items to setup the equipment items.
- As before, to reduce the amount of entity combust events that we need to handle, we automatically apply a small (invisible) default head item for mobs that usually burn in sunlight. If a custom head item is configured inside the editor, the item from the editor is used instead. If the configured item is destructible, it is automatically made unbreakable to not break when exposed to the sunlight.
- By default, the equipment can only be edited for mobs and slots that are known, at least for certain items, to visually affect the mob.
- If the mob is not affected by any equipment, the editor option is omitted.
- If a mob already provides dedicated editor buttons for certain equipment slots (e.g. horse armor, llama carpet), we omit these slots from the equipment editor.
- Vindicators currently don't support the mainhand slot, because they only render the item when chasing a target, which is not the case for shopkeeper mobs.
- Config: Add setting enable-all-equipment-editor-slots (default: false) that enables the equipment editor for all mobs and all equipment slots, regardless of which equipment slots the mob actually supports.
- This can for example be useful for testing purposes.
- If the mob provides dedicated editor options for certain equipment slots, any non-empty equipment configured in the equipment editor takes precedence.
- Command: The /shopkeeper replaceAllWithVanillaVillagers command ignores the custom equipment for now, because vanilla villagers can end up dropping the equipped items, e.g. on death, which might not be intended.
- Debug: Extend the /shopkeeper debugCreateShops command to accept an argument testEquipment: When specified, we spawn a shopkeeper for each enabled mob type and apply a default equipment. This can be useful to quickly test which equipment slots the individual mobs support.
- Add: Configure the carried block of endermans by assigning an item to their mainhand in the equipment editor.
- Only items with a corresponding block type result in a block to be carried by the enderman.
- Players can also use placeholder items to specify the block type. This also allows players to use block types for which there doesn't exist a corresponding item (e.g. potted flowers).
- Any block state data contained by the item (BlockStateTag / block_state component) is applied to the carried block. If the item is a placeholder item, any contained block state data is applied to the substituted block type.
- Note: Some blocks do not properly render (e.g. player heads, signs, etc.).
- Debug: The command /shopkeeper debugCreateShops spawns the shopkeepers now in the direction the player is facing.
- Minor changes related to the trading shop editor. Players can now click a non-empty slot in their inventory to swap the item on the cursor.
Known potential issues: See
here.
Donations
If you like this plugin, consider making a
donation.
Thanks!