You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was creating an add-on using this mod but it seems that modify_behaviour ignores conditions. Could this be fixed?
This is the code I tried to use. It's a valid JSON and works with other power types.
{
"name": "Hidden",
"description": "When sneaking you are undetectable for hostile mobs until you attack them.",
"conditions": [{
"type": "origins:sneaking",
"inverted": false
},
{
"type": "origins:daytime",
"inverted": true
}
],
"type": "originsplus:modify_behavior",
"behavior": "neutral",
"entities": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:creeper",
"minecraft:spider",
"minecraft:cave_spider",
"minecraft:skeleton",
"minecraft:blaze",
"minecraft:husk",
"minecraft:stray",
"minecraft:wither_skeleton"
]
}
The text was updated successfully, but these errors were encountered:
I was creating an add-on using this mod but it seems that modify_behaviour ignores conditions. Could this be fixed?
This is the code I tried to use. It's a valid JSON and works with other power types.
{
"name": "Hidden",
"description": "When sneaking you are undetectable for hostile mobs until you attack them.",
"conditions": [{
"type": "origins:sneaking",
"inverted": false
},
{
"type": "origins:daytime",
"inverted": true
}
],
"type": "originsplus:modify_behavior",
"behavior": "neutral",
"entities": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:creeper",
"minecraft:spider",
"minecraft:cave_spider",
"minecraft:skeleton",
"minecraft:blaze",
"minecraft:husk",
"minecraft:stray",
"minecraft:wither_skeleton"
]
}
The text was updated successfully, but these errors were encountered: