You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.8 KiB
JSON

{
"type": "origins:multiple",
"name": "Flammable",
"description": "Your fluffy fur turns out to be very flammable! Better not catch fire!",
"flammable_effect": {
"type": "origins:action_when_damage_taken",
"cooldown": 20,
"damage_condition": {
"type": "origins:fire"
},
"entity_action": {
"type": "origins:if_else",
"condition": {
"type": "origins:on_fire",
"inverted": true
},
"if_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:set_on_fire",
"duration": 10
},
{
"type": "origins:play_sound",
"sound": "minecraft:block.fire.extinguish",
"category": "players",
"pitch": 0.6,
"volume": 0.6
},
{
"type": "origins:spawn_particles",
"particle": "minecraft:smoke",
"count": 25,
"offset_y": 0.5,
"speed": 0.2,
"spread": {
"x": 0.35,
"y": 0.45,
"z": 0.35
}
}
]
}
}
},
"extra_fire_dmg": {
"type": "origins:action_when_damage_taken",
"damage_condition": {
"type": "origins:in_tag",
"tag": "minecraft:is_fire"
},
"entity_action": {
"type": "origins:damage",
"damage_type": "minecraft:on_fire",
"amount": 4
}
}
}