@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
728 lines • 21.6 kB
JSON
{
"description": "Allows an entity to define an entity's melee attack and any additional effects on it's attack.",
"fields": [
{
"id": "damage",
"description": "Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it.",
"dataType": 19,
"minValue": -50,
"maxValue": 50,
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 2
}
],
"/vanilla/behavior_pack/entities/bee.json": [
{
"path": "/minecraft:entity/component_groups/easy_attack/minecraft:attack/",
"content": 2
}
],
"/vanilla/behavior_pack/entities/blaze.json": [
{
"path": "/minecraft:entity/component_groups/melee_mode/minecraft:attack/",
"content": 6
}
],
"/vanilla/behavior_pack/entities/bogged.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": 3
}
],
"/vanilla/behavior_pack/entities/creaking.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 3
}
],
"/vanilla/behavior_pack/entities/elder_guardian.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 5
}
],
"/vanilla/behavior_pack/entities/enderman.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 7
}
],
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/goat_baby/minecraft:attack/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/guardian.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 5
}
],
"/vanilla/behavior_pack/entities/hoglin.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:hoglin_baby/minecraft:attack/",
"content": 1
},
{
"path": "/minecraft:entity/component_groups/minecraft:hoglin_adult/minecraft:attack/",
"content": [
3,
9
]
}
],
"/vanilla/behavior_pack/entities/iron_golem.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"range_min": 7,
"range_max": 21
}
}
],
"/vanilla/behavior_pack/entities/magma_cube.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:slime_large/minecraft:attack/",
"content": 6
},
{
"path": "/minecraft:entity/component_groups/minecraft:slime_medium/minecraft:attack/",
"content": 4
}
],
"/vanilla/behavior_pack/entities/piglin_brute.json": [
{
"path": "/minecraft:entity/component_groups/melee_unit/minecraft:attack/",
"content": 7
}
],
"/vanilla/behavior_pack/entities/ravager.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 12
}
],
"/vanilla/behavior_pack/entities/slime.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:slime_large/minecraft:attack/",
"content": 4
}
],
"/vanilla/behavior_pack/entities/vindicator.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 8
}
],
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 30
}
],
"/vanilla/behavior_pack/entities/zoglin.json": [
{
"path": "/minecraft:entity/component_groups/zoglin_baby/minecraft:attack/",
"content": 0.5
},
{
"path": "/minecraft:entity/component_groups/zoglin_adult/minecraft:attack/",
"content": [
3,
8
]
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/entities/axe_turret.behavior.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 400
}
]
},
"title": "Damage"
},
{
"id": "effect_duration",
"description": "Duration in seconds of the status ailment applied to the damaged entity.",
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/bee.json": [
{
"path": "/minecraft:entity/component_groups/normal_attack/minecraft:attack/",
"content": 10
},
{
"path": "/minecraft:entity/component_groups/hard_attack/minecraft:attack/",
"content": 18
}
],
"/vanilla/behavior_pack/entities/cave_spider.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:spider_poison_normal/minecraft:attack/",
"content": 7
},
{
"path": "/minecraft:entity/component_groups/minecraft:spider_poison_hard/minecraft:attack/",
"content": 15
}
],
"/vanilla/behavior_pack/entities/husk.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": 30
}
],
"/vanilla/behavior_pack/entities/stray.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": 10
}
]
},
"defaultValue": 0,
"title": "Effect Duration"
},
{
"id": "effect_name",
"description": "Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/bee.json": [
{
"path": "/minecraft:entity/component_groups/normal_attack/minecraft:attack/",
"content": "poison"
},
{
"path": "/minecraft:entity/component_groups/hard_attack/minecraft:attack/",
"content": "poison"
}
],
"/vanilla/behavior_pack/entities/husk.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": "hunger"
}
],
"/vanilla/behavior_pack/entities/stray.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": "slowness"
}
],
"/vanilla/behavior_pack/entities/wither_skeleton.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": "wither"
}
]
},
"title": "Effect Name"
}
],
"title": "Attack",
"samples": {
"/vanilla/behavior_pack/entities/axolotl.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/bee.json": [
{
"path": "/minecraft:entity/component_groups/easy_attack/minecraft:attack/",
"content": {
"damage": 2
}
},
{
"path": "/minecraft:entity/component_groups/normal_attack/minecraft:attack/",
"content": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 10
}
},
{
"path": "/minecraft:entity/component_groups/hard_attack/minecraft:attack/",
"content": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 18
}
}
],
"/vanilla/behavior_pack/entities/blaze.json": [
{
"path": "/minecraft:entity/component_groups/melee_mode/minecraft:attack/",
"content": {
"damage": 6
}
}
],
"/vanilla/behavior_pack/entities/bogged.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/cave_spider.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:spider_poison_easy/minecraft:attack/",
"content": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 0
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:spider_poison_normal/minecraft:attack/",
"content": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 7
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:spider_poison_hard/minecraft:attack/",
"content": {
"damage": 2,
"effect_name": "poison",
"effect_duration": 15
}
}
],
"/vanilla/behavior_pack/entities/creaking.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/creeper.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/dolphin.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/drowned.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_mode/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/elder_guardian.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 5
}
}
],
"/vanilla/behavior_pack/entities/ender_dragon.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/enderman.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 7
}
}
],
"/vanilla/behavior_pack/entities/endermite.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/fox.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/goat.json": [
{
"path": "/minecraft:entity/component_groups/goat_baby/minecraft:attack/",
"content": {
"damage": 1
}
},
{
"path": "/minecraft:entity/component_groups/goat_adult/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/guardian.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 5
}
}
],
"/vanilla/behavior_pack/entities/hoglin.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:hoglin_baby/minecraft:attack/",
"content": {
"damage": 1
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:hoglin_adult/minecraft:attack/",
"content": {
"damage": [
3,
9
]
}
}
],
"/vanilla/behavior_pack/entities/husk.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3,
"effect_name": "hunger",
"effect_duration": 30
}
}
],
"/vanilla/behavior_pack/entities/iron_golem.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": {
"range_min": 7,
"range_max": 21
}
}
}
],
"/vanilla/behavior_pack/entities/magma_cube.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:slime_large/minecraft:attack/",
"content": {
"damage": 6
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:slime_medium/minecraft:attack/",
"content": {
"damage": 4
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:slime_small/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/panda.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:panda_adult/minecraft:attack/",
"content": {
"damage": 2
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:panda_aggressive/minecraft:attack/",
"content": {
"damage": 6
}
}
],
"/vanilla/behavior_pack/entities/phantom.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 6
}
}
],
"/vanilla/behavior_pack/entities/piglin_brute.json": [
{
"path": "/minecraft:entity/component_groups/melee_unit/minecraft:attack/",
"content": {
"damage": 7
}
}
],
"/vanilla/behavior_pack/entities/piglin.json": [
{
"path": "/minecraft:entity/component_groups/melee_unit/minecraft:attack/",
"content": {
"damage": 5
}
}
],
"/vanilla/behavior_pack/entities/pillager.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/player.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 1
}
}
],
"/vanilla/behavior_pack/entities/polar_bear.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:adult_hostile/minecraft:attack/",
"content": {
"damage": 6
}
}
],
"/vanilla/behavior_pack/entities/ravager.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 12
}
}
],
"/vanilla/behavior_pack/entities/silverfish.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 1
}
}
],
"/vanilla/behavior_pack/entities/skeleton.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/slime.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:slime_large/minecraft:attack/",
"content": {
"damage": 4
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:slime_medium/minecraft:attack/",
"content": {
"damage": 2
}
},
{
"path": "/minecraft:entity/component_groups/minecraft:slime_small/minecraft:attack/",
"content": {
"damage": 0
}
}
],
"/vanilla/behavior_pack/entities/snow_golem.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/spider.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 2
}
}
],
"/vanilla/behavior_pack/entities/stray.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:attack/",
"content": {
"damage": 3,
"effect_name": "slowness",
"effect_duration": 10
}
}
],
"/vanilla/behavior_pack/entities/vex.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/vindicator.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 8
}
}
],
"/vanilla/behavior_pack/entities/warden.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 30
}
}
],
"/vanilla/behavior_pack/entities/wither_skeleton.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 4,
"effect_name": "wither",
"effect_duration": 10
}
}
],
"/vanilla/behavior_pack/entities/zoglin.json": [
{
"path": "/minecraft:entity/component_groups/zoglin_baby/minecraft:attack/",
"content": {
"damage": 0.5
}
},
{
"path": "/minecraft:entity/component_groups/zoglin_adult/minecraft:attack/",
"content": {
"damage": [
3,
8
]
}
}
],
"/vanilla/behavior_pack/entities/zombie_pigman.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 5
}
}
],
"/vanilla/behavior_pack/entities/zombie_villager_v2.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/zombie_villager.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/vanilla/behavior_pack/entities/zombie.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/samples/addon_starter/2_entities/behavior_packs/aop_mobs/entities/biceson.behavior.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:adult_hostile/minecraft:attack/",
"content": {
"damage": 6
}
}
],
"/samples/addon_starter/2_entities/behavior_packs/aop_mobs/entities/sheepomelon.behavior.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:sheep_sheared/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/samples/addon_starter/complete/behavior_packs/aop_mobs/entities/biceson.behavior.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:adult_hostile/minecraft:attack/",
"content": {
"damage": 6
}
}
],
"/samples/addon_starter/complete/behavior_packs/aop_mobs/entities/sheepomelon.behavior.json": [
{
"path": "/minecraft:entity/component_groups/minecraft:sheep_sheared/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/samples/behavior_pack_sample/entities/cow.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 3
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/entities/axe_turret.behavior.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 400
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/entities/gray_zombie_leader.behavior.json": [
{
"path": "/minecraft:entity/components/minecraft:attack/",
"content": {
"damage": 6
}
}
]
},
"id": "minecraft:attack"
}