Hey there, I tried to create my own datapack for advancements... I already have some stuff working, like breed one of specific animal or travel to different dimension.But, I cant get to work achievement to "have specific item in inventory". I even tried to download one from the internet to figure that out, it does the same as it does with mine.
What it does: Any time I update inventory in any way, I recieve that achievement
What I want it to do: Get the achievement only if I have specific item in it (in this example it is iron ingot)
The code: (this is example from downloaded datapack, but I have it basically the same)
Hey there, I tried to create my own datapack for advancements... I already have some stuff working, like breed one of specific animal or travel to different dimension.But, I cant get to work achievement to "have specific item in inventory". I even tried to download one from the internet to figure that out, it does the same as it does with mine.
What it does: Any time I update inventory in any way, I recieve that achievement
What I want it to do: Get the achievement only if I have specific item in it (in this example it is iron ingot)
The code: (this is example from downloaded datapack, but I have it basically the same)
How to fix it?