@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
72 lines • 2.17 kB
JSON
{
"fields": [
{
"id": "damage_per_hurt",
"title": "Damage Per Hurt",
"description": "Amount of damage caused each hurt.",
"defaultValue": 1,
"dataType": 0,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_dried/minecraft:damage_over_time/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_dried/minecraft:damage_over_time/",
"content": 1
}
]
}
},
{
"id": "time_between_hurt",
"title": "Time Between Hurt",
"description": "Time in seconds between damage.",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/vex.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:periodic_damage/minecraft:damage_over_time/",
"content": 1
}
]
}
}
],
"description": "Applies defined amount of damage to the entity at specified intervals.",
"title": "Damage Over Time",
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/component_groups/axolotl_dried/minecraft:damage_over_time/",
"content": {
"damage_per_hurt": 1,
"time_between_hurt": 0
}
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/component_groups/dolphin_dried/minecraft:damage_over_time/",
"content": {
"damage_per_hurt": 1,
"time_between_hurt": 0
}
}
],
"/vanilla/behavior_pack/entities/vex.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:periodic_damage/minecraft:damage_over_time/",
"content": {
"damage_per_hurt": 1,
"time_between_hurt": 1
}
}
]
},
"id": "minecraft:damage_over_time"
}