Origins (Forge)

Origins (Forge)

7M Downloads

origins:prevent_death doesn't work

iMythJj opened this issue ยท 0 comments

commented

For whatever reason the power type prevent_death does not function and shows this error.

Error loading power "mythical:skulk/soulstone_totem": Not a json array: {"type":"origins:equipped_item","equipment_slot":"offhand","item_condition":{"ingredient":{"item":"mythicalorigins:soulstone"}}}

Here is the full code of the power

{
"type": "origins:prevent_death",
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:clear_effect"
},
{
"type": "origins:apply_effect",
"effects": [
{
"effect": "minecraft:regeneration",
"amplifier": 1,
"duration": 900
},
{
"effect": "minecraft:fire_resistance",
"duration": 800
},
{
"effect": "minecraft:absorption",
"amplifier": 1,
"duration": 100
}
]
}
]
},
"condition": {
"type": "origins:equipped_item",
"equipment_slot": "offhand",
"item_condition": {
"ingredient": {
"item": "mythicalorigins:soulstone"
}
}
}
}