Skip to content

Commit

Permalink
Add gegy mini disguise
Browse files Browse the repository at this point in the history
  • Loading branch information
UnRealDinnerbone committed Nov 23, 2024
1 parent 7ba5010 commit ffe79f8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions data/lt/advancement/mini_disguises/gegy.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
5 changes: 5 additions & 0 deletions data/lt/function/mini_disguises/gegy.mcfunction
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ffe79f8

Please sign in to comment.