Added "integrated_armor", "regenerative_light"
Added power "integrated_armor" Gives 4 armor by default and removes it eventually when a chestplate is worn Also makes wearing armor invisible BUT Customizable Player Models is breaking that. Added power "regenerative_light" Slowly regenerates health (1 health every 6 sec) when standing in light level 15main
parent
e8450646b6
commit
beff141fbb
@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "origins:multiple",
|
||||
"name": "Integrated Armor",
|
||||
"description": "Your armor is part of you. You are lightly armored by default and others can not see your armor.",
|
||||
"badges": [
|
||||
{
|
||||
"type": "origins:tooltip",
|
||||
"sprite": "minecraft:textures/item/iron_chestplate.png",
|
||||
"text": "You get a bit of chest armor by default."
|
||||
},
|
||||
{
|
||||
"type": "origins:tooltip",
|
||||
"sprite": "minecraft:textures/item/ender_eye.png",
|
||||
"text": "Armor you wear is invisible."
|
||||
}
|
||||
],
|
||||
"invisible_armor": {
|
||||
"type": "origins:prevent_feature_render",
|
||||
"feature": "armor"
|
||||
},
|
||||
"default_armor": {
|
||||
"type": "origins:conditioned_attribute",
|
||||
"modifier": {
|
||||
"id": "default_armor_mod",
|
||||
"attribute": "minecraft:generic.armor",
|
||||
"operation": "add_value",
|
||||
"amount": 4
|
||||
},
|
||||
"tick_rate": 100,
|
||||
"condition": {
|
||||
"type": "origins:equipped_item",
|
||||
"inverted": true,
|
||||
"equipment_slot": "chest",
|
||||
"item_condition": {
|
||||
"type": "origins:armor_value",
|
||||
"comparison": ">",
|
||||
"compare_to": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
"type": "origins:multiple",
|
||||
"name": "Regnerative Light",
|
||||
"description": "Being exposed to bright light sources slowly heals you.",
|
||||
"badges": [
|
||||
{
|
||||
"type": "origins:tooltip",
|
||||
"sprite": "minecraft:textures/block/glowstone.png",
|
||||
"text": "Being in bright light slowly regenerates health."
|
||||
}
|
||||
],
|
||||
"regeneration": {
|
||||
"type": "origins:action_over_time",
|
||||
"entity_action": {
|
||||
"type": "origins:heal",
|
||||
"amount": 1
|
||||
},
|
||||
"interval": 120,
|
||||
"condition": {
|
||||
"type": "origins:brightness",
|
||||
"comparison": ">=",
|
||||
"compare_to": 1.0
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue