Updated health amount

This commit is contained in:
DaanV2
2022-02-09 15:23:43 +01:00
parent da673f7104
commit 8a2a951070
3 changed files with 14 additions and 6 deletions

View File

@@ -33,7 +33,7 @@
"health_amount": { "health_amount": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Amount of health to add to the entity upon successful interaction.", "description": "The amount of health this entity will recover or hurt when interacting with this item. Negative values will harm the entity.",
"title": "Health Amount" "title": "Health Amount"
}, },
"hurt_item": { "hurt_item": {

View File

@@ -13,8 +13,15 @@
}, },
"sway_amplitude": { "sway_amplitude": {
"type": "number", "type": "number",
"description": "The amount of sway that is allowed for movement.", "description": "Strength of the sway movement.",
"title": "Sway Amplitude" "title": "Sway Amplitude",
"default": 0.05
},
"sway_frequency": {
"type": "number",
"description": "Multiplier for the frequency of the sway movement.",
"title": "Sway Amplitude",
"default": 0.5
} }
}, },
"examples": [ "examples": [

View File

@@ -11,19 +11,20 @@
"description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest", "description": "equipment_slot: slot.weapon.mainhand, slot.weapon.offhand, slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.hotbar, slot.inventory, slot.enderchest, slot.saddle, slot.armor, slot.chest",
"type": "string", "type": "string",
"enum": [ "enum": [
"slot.armor.legs",
"none",
"slot.weapon.mainhand", "slot.weapon.mainhand",
"none",
"slot.weapon.offhand", "slot.weapon.offhand",
"slot.armor.head", "slot.armor.head",
"slot.armor.chest", "slot.armor.chest",
"slot.armor.legs",
"slot.armor.feet", "slot.armor.feet",
"slot.hotbar", "slot.hotbar",
"slot.inventory", "slot.inventory",
"slot.enderchest", "slot.enderchest",
"slot.saddle", "slot.saddle",
"slot.armor", "slot.armor",
"slot.chest" "slot.chest",
"slot.equippable"
] ]
} }
} }