Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
ja ik ich bin dumm (fix explosion flag)
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake committed Sep 11, 2022
1 parent 2bc6ff6 commit 32ac533
Showing 1 changed file with 32 additions and 30 deletions.
62 changes: 32 additions & 30 deletions data/anticheat/advancements/range.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
{
"criteria": {
"requirement": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"damage": {
"type": {
"is_magic": false,
"is_projectile": false
}
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"distance": {
"absolute": {
"min": 5,
"max": 9
}
}
}
}
]
}
}
},
"rewards": {
"function": "anticheat:range"
}
"criteria": {
"requirement": {
"trigger": "minecraft:player_hurt_entity",
"conditions": {
"damage": {
"type": {
"is_explosion": false,
"is_magic": false,
"is_projectile": false,
"is_lightning": false
}
},
"entity": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"distance": {
"absolute": {
"min": 5,
"max": 9
}
}
}
}
]
}
}
},
"rewards": {
"function": "anticheat:range"
}
}

0 comments on commit 32ac533

Please sign in to comment.