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.
85 lines
2.1 KiB
JSON
85 lines
2.1 KiB
JSON
{
|
|
"type": "origins:multiple",
|
|
"name": "Bulwark",
|
|
"description": "You have more health, take less damage but you can not passively heal to full!",
|
|
"badges": [
|
|
{
|
|
"type": "origins:tooltip",
|
|
"sprite": "minecraft:textures/item/cookie.png",
|
|
"text": "Cookie heals you for 2 hearts."
|
|
},
|
|
{
|
|
"type": "origins:tooltip",
|
|
"sprite": "minecraft:textures/gui/sprites/hud/heart/full.png",
|
|
"text": "An immense health boost to up to 20 hearts!"
|
|
},
|
|
{
|
|
"type": "origins:tooltip",
|
|
"sprite": "minecraft:textures/gui/sprites/hud/heart/container.png",
|
|
"text": "Your health only regenerates up to 10 hearts! Heal the rest with other means!"
|
|
},
|
|
{
|
|
"type": "origins:tooltip",
|
|
"sprite": "minecraft:textures/item/iron_chestplate.png",
|
|
"text": "You're a bit more resistant to knockback!"
|
|
}
|
|
],
|
|
"health": {
|
|
"type": "origins:attribute",
|
|
"modifier": {
|
|
"id": "bulwark_health",
|
|
"attribute": "minecraft:generic.max_health",
|
|
"amount": 20,
|
|
"operation": "add_value"
|
|
}
|
|
},
|
|
"no_regeneration": {
|
|
"type": "origins:disable_regen"
|
|
},
|
|
"passive_regeneration": {
|
|
"type": "origins:action_over_time",
|
|
"entity_action": {
|
|
"type": "origins:heal",
|
|
"amount": 1
|
|
},
|
|
"interval": 100,
|
|
"condition": {
|
|
"type": "origins:and",
|
|
"conditions": [
|
|
{
|
|
"type": "origins:health",
|
|
"comparison": "<",
|
|
"compare_to": 10
|
|
},
|
|
{
|
|
"type": "apoli:food_level",
|
|
"comparison": ">",
|
|
"compare_to": 6
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"less_knockback": {
|
|
"type": "origins:attribute",
|
|
"modifier": {
|
|
"id": "bulwark_knockback",
|
|
"attribute": "minecraft:generic.knockback_resistance",
|
|
"amount": 0.3,
|
|
"operation": "add_value"
|
|
}
|
|
},
|
|
"cookie_healing": {
|
|
"type": "origins:action_on_item_use",
|
|
"entity_action": {
|
|
"type": "origins:heal",
|
|
"amount": 4
|
|
},
|
|
"item_condition": {
|
|
"type": "origins:ingredient",
|
|
"ingredient": {
|
|
"item": "minecraft:cookie"
|
|
}
|
|
}
|
|
}
|
|
}
|