Negatable List
Negatable List
{
"require": [
// A list of checks that must pass for this requirement to succeed
],
"exclude": [
// A list of checks that FAIL this requirement if they pass
]
}{
"entity": {
// -- Requirements --
"require": [
// requirement 1: must be on fire and have some NBT data
{
"flags": {
"on_fire": true
},
"nbt": {
"SomeBooleanTag": 1
}
},
// requirement 2: must have regeneration 2
{
"effects": {
"minecraft:regeneration": {
"amplifier": 1
}
}
}
],
// -- Exclusions --
"exclude": [
{
// exclusion: can't be wearing an iron helmet
"equipment": {
"head": {
"items": [
"minecraft:iron_helmet"
]
}
}
}
]
}
}Optional Parameters
Last updated