-
Bug
-
Resolution: Invalid
-
None
-
1.19.2
-
Unconfirmed
-
(Unassigned)
I created a datapack to unloack the bundle recipe using the code from the Caves And Cliffs Preview datapack.
The datapack is basicly working, but the unlock for the recipe acts strange and unlocks the recipe directly when entering the world and not when I find a string.
The advancement file of this player shows this entry
"minecraft:recipes/tools/bundle" : { "criteria" : { "has_string" : "2022-08-07 16:47:34 +0200" }, "done" : true },
what means the has_string critery was triggerd, but this should only happen what the player has a string in his inventoy.
The critera is written like this:
"has_string": { "trigger": "minecraft:inventory_changed", "conditions": { "items": [ { "item": "minecraft:string" } ] }
Expected behavior:
- Player should NOT have the recipe in the recipe book
- when the player takes a string in his inventory, the recipe should be unlocked
Actual behavoir:
- the recipe is instandly unlocked when the player enters the world (even when he has NO string in his inventory)
How to reproduce:
- Add the datapack in the datapack folder of your world
- Open the world in single player (with a player that has NO string in his inventory)