Custom Criteria #4098
Unanswered
Leventeand2
asked this question in
Mod Dev Support
Custom Criteria
#4098
Replies: 1 comment
-
You can use the The following is the relevant part of the advancement JSON required for this behavior: {
"criteria": {
"walk_on_<your block name>": {
"trigger": "minecraft:location",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"stepping_on": {
"block": {
"blocks": "<your block id here>"
}
}
}
}
]
}
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hey guys! I'm trying to make an advancement where if a player walks on a block, the criteria is triggered, but I'm unable to determine how to. Can someone please help me? Thank you! (I'm new to both Java and Fabric)
Beta Was this translation helpful? Give feedback.
All reactions