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": {
"type": "number",
"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"
},
"hurt_item": {

View File

@@ -13,8 +13,15 @@
},
"sway_amplitude": {
"type": "number",
"description": "The amount of sway that is allowed for movement.",
"title": "Sway Amplitude"
"description": "Strength of the sway movement.",
"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": [

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",
"type": "string",
"enum": [
"slot.armor.legs",
"none",
"slot.weapon.mainhand",
"none",
"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"
"slot.chest",
"slot.equippable"
]
}
}