-
Bug
-
Resolution: Duplicate
-
None
-
1.20.1
-
None
-
Unconfirmed
-
(Unassigned)
Steps to reproduce:
1. run the game on a server or in singleplayer (tested both)
2. Set up the following advancement:
inv_change.json
{
"criteria": {
"change": {
"trigger": "minecraft:inventory_changed"
}
},
"rewards": {
"function": "test:clear_item"
}
}
which runs:
clear_item.mcfunction
clear @s lime_terracotta
give @s lime_terracotta
advancement revoke @s only test:inv_change
3. in creative, take the lime terracotta with your mouse.
as clear works in adventure/survival, the item is cleared from your mouse,
however, you keep a ghost clone of the item, which can't be used placed etc.
- duplicates
-
MC-187281 Function reward removing the item an advancement detected creates a ghost item
- Open