From ffe79f87261ce64ebfff8a2418a1f2add34a6641 Mon Sep 17 00:00:00 2001 From: UnRealDinnerbone Date: Sat, 23 Nov 2024 17:23:27 -0600 Subject: [PATCH] Add gegy mini disguise --- data/lt/advancement/mini_disguises/gegy.json | 18 ++++++++++++++++++ .../lt/function/mini_disguises/gegy.mcfunction | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 data/lt/advancement/mini_disguises/gegy.json create mode 100644 data/lt/function/mini_disguises/gegy.mcfunction diff --git a/data/lt/advancement/mini_disguises/gegy.json b/data/lt/advancement/mini_disguises/gegy.json new file mode 100644 index 00000000..9193bab4 --- /dev/null +++ b/data/lt/advancement/mini_disguises/gegy.json @@ -0,0 +1,18 @@ +{ + "criteria": { + "requirement": { + "trigger": "minecraft:consume_item", + "conditions": { + "item": { + "items": "minecraft:poisonous_potato", + "components": { + "minecraft:custom_data": "{MiniDisguise_Gegy:1b}" + } + } + } + } + }, + "rewards": { + "function": "lt:mini_disguises/gegy" + } +} diff --git a/data/lt/function/mini_disguises/gegy.mcfunction b/data/lt/function/mini_disguises/gegy.mcfunction new file mode 100644 index 00000000..65dc3273 --- /dev/null +++ b/data/lt/function/mini_disguises/gegy.mcfunction @@ -0,0 +1,5 @@ +disguise as ltextras:collectible {"collectible":"lt:gegy_potato"} +scoreboard players set @s mini_disguises.clock 60 +advancement revoke @s only lt:mini_disguises/gegy +particle minecraft:trial_spawner_detection_ominous ~ ~ ~ 0.15 1 0.15 0 50 +collectible give @s lt:mini_disguise/clear \ No newline at end of file