-
Bug
-
Resolution: Duplicate
-
None
-
1.19.2
-
None
-
Unconfirmed
-
(Unassigned)
[The issue might also happen with other predicates]
If you have a Datapack Predicate that uses "Entity Properties" to detect whether or not you are holding a certain item in your hand, it returns "True" if you're holding the item and "False" if you're not holding the item. However, if you hold the item and then drop it, the predicate will return "True" every time you have the Hotbar Slot selected that the item was previously in. This gets fixed as soon as this exact Hotbar Slot gets updated by putting an item in it.
EXAMPLE: https://twitter.com/SilicatYT/status/1590741001349791744
PREDICATE USED:
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"nbt": "{Menu:1b}"
}
}
}
}
- duplicates
-
MC-229882 Predicate still passes for certain stacks even after dropping them
- Resolved