Skip to content

Commit

Permalink
Add is_on_ground predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Nov 24, 2024
1 parent e8cfafe commit 672fc16
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions data/lt/predicate/is_on_ground.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:player",
"stepping_on": {
"block": {
"blocks": "air"
}
}
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_on_ground": true
}
}
}

0 comments on commit 672fc16

Please sign in to comment.