From 01b28705d30fe0d5c798221feda672f7103960f2 Mon Sep 17 00:00:00 2001 From: UnRealDinnerbone Date: Sun, 24 Nov 2024 08:26:26 -0600 Subject: [PATCH] Add add functions --- data/lt/function/stage/feature/add/disable.mcfunction | 1 + data/lt/function/stage/feature/add/enable.mcfunction | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 data/lt/function/stage/feature/add/disable.mcfunction create mode 100644 data/lt/function/stage/feature/add/enable.mcfunction diff --git a/data/lt/function/stage/feature/add/disable.mcfunction b/data/lt/function/stage/feature/add/disable.mcfunction new file mode 100644 index 00000000..0574fc3e --- /dev/null +++ b/data/lt/function/stage/feature/add/disable.mcfunction @@ -0,0 +1 @@ +execute as @e[tag=info.add] at @s run data modify entity @s[type=minecraft:text_display] view_range set value 0 \ No newline at end of file diff --git a/data/lt/function/stage/feature/add/enable.mcfunction b/data/lt/function/stage/feature/add/enable.mcfunction new file mode 100644 index 00000000..2da4d112 --- /dev/null +++ b/data/lt/function/stage/feature/add/enable.mcfunction @@ -0,0 +1,2 @@ +execute as @e[tag=info.add] at @s run data modify entity @s[type=minecraft:text_display] view_range set value 1 +execute as @e[tag=info.add] at @s run data modify entity @s[type=minecraft:text_display] start_interpolation set value 0 \ No newline at end of file