From 9920a13f4fe51abe03ebf20ea166ade7e6193ff4 Mon Sep 17 00:00:00 2001 From: Mark Rapson Date: Wed, 14 May 2025 13:32:50 +0100 Subject: [PATCH] Prevent cycle if terracotta mode matches current rotation --- data/wrench/function/rotate/glazed_terracotta/mode.mcfunction | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/wrench/function/rotate/glazed_terracotta/mode.mcfunction b/data/wrench/function/rotate/glazed_terracotta/mode.mcfunction index e388925..48d84af 100644 --- a/data/wrench/function/rotate/glazed_terracotta/mode.mcfunction +++ b/data/wrench/function/rotate/glazed_terracotta/mode.mcfunction @@ -17,3 +17,6 @@ tag @s[tag=TerracottaNORTH] remove TerracottaNORTH tag @s[tag=TerracottaEAST] remove TerracottaEAST tag @s[tag=TerracottaSOUTH] remove TerracottaSOUTH tag @s[tag=TerracottaWEST] remove TerracottaWEST + +# Don't rotate if matches current orientation +execute as @s[scores={lz_wrench_success=0}] run scoreboard players set @s lz_wrench_success -1 \ No newline at end of file