Skip to content

Commit

Permalink
Add icecream
Browse files Browse the repository at this point in the history
  • Loading branch information
UnRealDinnerbone committed Oct 13, 2024
1 parent 7d43392 commit 75e8266
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions data/lt/advancement/icecream.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:player",
"components": {
"minecraft:custom_data": "{IceCream:1b}"
}
}
}
}
},
"rewards": {
"function": "lt:effects/icecream"
}
}
2 changes: 2 additions & 0 deletions data/lt/function/effects/icecream.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
execute anchored eyes run particle minecraft:block{block_state:"minecraft:ice"} ~ ~2 ~ 0.25 0.25 0.25 0.001 50
advancement revoke @s only lt:icecream

0 comments on commit 75e8266

Please sign in to comment.