Wolf Armor and Storage Legacy

Wolf Armor and Storage Legacy

16M Downloads

[1.12] Right click un-armored wolves with armor to auto-equip

satyrnidae opened this issue ยท 0 comments

commented

Is your feature request related to a problem? Please describe.

It's too slow with too many clicks to equip an un-armored wolf with a new set of armor. Players have to go through the GUI and place the armor on the wolf.

Describe the solution you'd like

In vanilla Minecraft, armor can be equipped by right-clicking, so it should be the same for the wolves.

When a player interacts with a wolf entity:

  1. Ensure that the wolf is tamed and that the player is the wolf's owner
  2. Ensure that the wolf is not a puppy
  3. Ensure the player's held item is a piece of wolf armor
    a. If it is anything except armor, continue as normal.
  4. Check if the player is sneaking
    a. If they are, open the menu as usual
  5. Equip the wolf with the armor
  6. If the player is not in creative mode, decrease the held item stack size by 1

Why is this enhancement desirable?

With this enhancement it will be much quicker to armor a wolf in a combat situation. Additionally, a creative player could equip many wolves with armor without having to go through the wolf's GUI and copy the stack.