Skip to content

Commit

Permalink
Make the mobility gel advancements not activate while sneaking
Browse files Browse the repository at this point in the history
  • Loading branch information
Cart3r1234 committed Oct 25, 2023
1 parent a2847b9 commit 916f0e3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"run": {
"trigger": "minecraft:enter_block",
"conditions": {
"player": {
"flags": {
"is_sneaking": false
}
},
"block": "portalcubed:propulsion_gel"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,23 @@
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:player",
"location": {
"block": {
"blocks": [
"portalcubed:repulsion_gel"
]
}
},
"flags": {
"is_sneaking": false
}
}
}
],
"distance": {
"y": {
"min": 1
"min": 0.1
}
}
}
Expand Down

0 comments on commit 916f0e3

Please sign in to comment.