From 0b448961f90d4d5ec6e7e853adf722948aa78e0d Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Wed, 19 Aug 2026 16:10:09 +0300 Subject: [PATCH] Change ingredient check from count 0 to count 1 --- .../experimental/crafting_ui/check_one_ingredient.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packs/macroEngine-Datapack-1.21.2/data/macroengine/function/core/internal/experimental/crafting_ui/check_one_ingredient.mcfunction b/packs/macroEngine-Datapack-1.21.2/data/macroengine/function/core/internal/experimental/crafting_ui/check_one_ingredient.mcfunction index 7712115..d8ad90d 100644 --- a/packs/macroEngine-Datapack-1.21.2/data/macroengine/function/core/internal/experimental/crafting_ui/check_one_ingredient.mcfunction +++ b/packs/macroEngine-Datapack-1.21.2/data/macroengine/function/core/internal/experimental/crafting_ui/check_one_ingredient.mcfunction @@ -4,5 +4,5 @@ # how many the caller holds, same trick as player/inv/count_item.mcfunction. scoreboard players set $cui_have macroengine.tmp 0 -$execute store result score $cui_have macroengine.tmp run clear @s $(item) 0 +$execute store result score $cui_have macroengine.tmp run clear @s $(item) 1 $execute unless score $cui_have macroengine.tmp matches $(count).. run data modify storage macroengine:engine _crafting_ui.ok set value 0b