Added exhaustion_values
This commit is contained in:
@@ -51,6 +51,7 @@
|
|||||||
"minecraft:equip_item": { "$ref": "./components/equip_item.json" },
|
"minecraft:equip_item": { "$ref": "./components/equip_item.json" },
|
||||||
"minecraft:equipment": { "$ref": "./components/equipment.json" },
|
"minecraft:equipment": { "$ref": "./components/equipment.json" },
|
||||||
"minecraft:equippable": { "$ref": "./components/equippable.json" },
|
"minecraft:equippable": { "$ref": "./components/equippable.json" },
|
||||||
|
"minecraft:exhaustion_values": { "$ref": "./components/exhaustion_values.json" },
|
||||||
"minecraft:experience_reward": { "$ref": "./components/experience_reward.json" },
|
"minecraft:experience_reward": { "$ref": "./components/experience_reward.json" },
|
||||||
"minecraft:explode": { "$ref": "./components/explode.json" },
|
"minecraft:explode": { "$ref": "./components/explode.json" },
|
||||||
"minecraft:fall_damage": { "$ref": "./components/fall_damage.json" },
|
"minecraft:fall_damage": { "$ref": "./components/fall_damage.json" },
|
||||||
|
|||||||
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.minecraft.exhaustion_values",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Exhaustion Values",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"description": "Defines an entity's behavior for having items equipped to it.",
|
||||||
|
"properties": {
|
||||||
|
"attack": {
|
||||||
|
"title": "Attack",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.3,
|
||||||
|
"description": "Amount of exhaustion applied when attacking."
|
||||||
|
},
|
||||||
|
"damage": {
|
||||||
|
"title": "Damage",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.1,
|
||||||
|
"description": "Amount of exhaustion applied when taking damage."
|
||||||
|
},
|
||||||
|
"heal": {
|
||||||
|
"title": "Heal",
|
||||||
|
"type": "number",
|
||||||
|
"default": 3,
|
||||||
|
"description": "Amount of exhaustion applied when healed through food regeneration."
|
||||||
|
},
|
||||||
|
"jump": {
|
||||||
|
"title": "Jump",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.2,
|
||||||
|
"description": "Amount of exhaustion applied when jumping."
|
||||||
|
},
|
||||||
|
"mine": {
|
||||||
|
"title": "Mine",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.025,
|
||||||
|
"description": "Amount of exhaustion applied when mining."
|
||||||
|
},
|
||||||
|
"sprint": {
|
||||||
|
"title": "Sprint",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.01,
|
||||||
|
"description": "Amount of exhaustion applied when sprinting."
|
||||||
|
},
|
||||||
|
"sprint_jump": {
|
||||||
|
"title": "Sprint Jump",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.8,
|
||||||
|
"description": "Amount of exhaustion applied when sprint jumping."
|
||||||
|
},
|
||||||
|
"swim": {
|
||||||
|
"title": "Swim",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.015,
|
||||||
|
"description": "Amount of exhaustion applied when swimming."
|
||||||
|
},
|
||||||
|
"walk": {
|
||||||
|
"title": "Walk",
|
||||||
|
"type": "number",
|
||||||
|
"default": 0.01,
|
||||||
|
"description": "Amount of exhaustion applied when walking."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"heal": 6,
|
||||||
|
"jump": 0.05,
|
||||||
|
"sprint_jump": 0.2,
|
||||||
|
"mine": 0.005,
|
||||||
|
"attack": 0.1,
|
||||||
|
"damage": 0.1,
|
||||||
|
"walk": 0.0,
|
||||||
|
"sprint": 0.01,
|
||||||
|
"swim": 0.01
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user