mojira.dev
MC-99003

Disabled Slots tag completely messed up

Here is how it should work:
1 << slot should only disable removing Items, but allow replacing and placing
1 << slot+8 should only disable replacing items, but still allow removing Items and placing items
1 << slot+16 should only disable placing Items, but allow replacing and removing
To disable an armor stand completely, add them together:
10000000100000001 (binary)
Here is how it works at the moment: (1.9)
1 << slot completely disables all actions
1 << slot+8 disables removing and replacing, but allows placing Items
1 << slot+16 disables placing but allows replacing and removing
This is not good because it doesn't allow for some combinations, for example only allow removing but disable replacing and placing which could be used to detect right-click actions on armor stands.
It also doesn't support the off-hand at all, which should get fixed.

Comments 5

Why?
The "how it should work" is how the devs intended it to work, not my request.

The current implementation is the fix of MC-94252. Or is it different from the proposed solution in that ticket as well?

That implementation just doesn't make sense....

Please comment on MC-94252 with an explanation with what's wrong with it. We can then mark the issue for review.

15Redstones

(Unassigned)

Unconfirmed

Minecraft 1.9

Retrieved