@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
1,551 lines • 47.9 kB
JSON
{
"fields": [
{
"id": "angle_offset",
"title": "Angle Offset",
"description": "Determines the angle at which the projectile is thrown",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/lingering_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": -20
}
],
"/vanilla/behavior_pack/entities/splash_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": -20
}
]
}
},
{
"id": "catch_fire",
"title": "Catch Fire",
"description": "If true, the entity hit will be set on fire",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "crit_particle_on_hurt",
"title": "Crit Particle On Hurt",
"description": "If true, the projectile will produce additional particles when a critical hit happens",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "destroy_on_hurt",
"title": "Destroy On Hurt",
"description": "If true, this entity will be destroyed when hit",
"defaultValue": false,
"dataType": 1
},
{
"id": "filter",
"title": "Filter",
"description": "Entity Definitions defined here can't be hurt by the projectile",
"dataType": 2
},
{
"id": "fire_affected_by_griefing",
"title": "Fire Affected By Griefing",
"description": "If true, whether the projectile causes fire is affected by the mob griefing game rule",
"defaultValue": false,
"dataType": 1
},
{
"id": "gravity",
"title": "Gravity",
"description": "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls",
"defaultValue": 0.05,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/egg.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.03
}
],
"/vanilla/behavior_pack/entities/lingering_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.05
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.06
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.05
}
],
"/vanilla/behavior_pack/entities/snowball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.03
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.1
}
]
}
},
{
"id": "hit_nearest_passenger",
"title": "Hit Nearest Passenger",
"description": "If true, when hitting a vehicle, and there's at least one passenger in the vehicle, the damage will be dealt to the passenger closest to the projectile impact point. If there are no passengers, this setting does nothing.",
"defaultValue": false,
"dataType": 1
},
{
"id": "hit_sound",
"title": "Hit Sound",
"description": "The sound that plays when the projectile hits something",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "explode"
}
],
"/vanilla/behavior_pack/entities/lingering_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "glass"
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "bullet.hit"
}
],
"/vanilla/behavior_pack/entities/splash_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "glass"
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "item.trident.hit"
}
],
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "bow.hit"
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "bow.hit"
}
]
}
},
{
"id": "homing",
"title": "Homing",
"description": "If true, the projectile homes in to the nearest entity",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "ignored_entities",
"title": "Ignored Entities",
"description": "[EXPERIMENTAL] An array of strings defining the types of entities that this entity does not collide with.",
"dataType": 17,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
"ender_crystal",
"wind_charge_projectile",
"breeze_wind_charge_projectile"
]
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
"ender_crystal",
"wind_charge_projectile",
"breeze_wind_charge_projectile"
]
}
]
}
},
{
"id": "inertia",
"title": "Inertia",
"description": "The fraction of the projectile's speed maintained every frame while traveling in air",
"defaultValue": 0.99,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
]
}
},
{
"id": "is_dangerous",
"title": "Is Dangerous",
"description": "If true, the projectile will be treated as dangerous to the players",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "knockback",
"title": "Knockback",
"description": "If true, the projectile will knock back the entity it hits",
"defaultValue": true,
"dataType": 1
},
{
"id": "lightning",
"title": "Lightning",
"description": "If true, the entity hit will be struck by lightning",
"defaultValue": false,
"dataType": 1
},
{
"id": "liquid_inertia",
"title": "Liquid Inertia",
"description": "The fraction of the projectile's speed maintained every frame while traveling in water",
"defaultValue": 0.6,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.99
}
]
}
},
{
"id": "multiple_targets",
"title": "Multiple Targets",
"description": "If true, the projectile can hit multiple entities per flight",
"defaultValue": true,
"dataType": 1
},
{
"id": "offset",
"title": "Offset",
"description": "The offset from the entity's anchor where the projectile will spawn",
"defaultValue": [
0,
0,
0
],
"dataType": 11,
"samples": {
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
0,
0.5,
0
]
}
],
"/vanilla/behavior_pack/entities/fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
0,
-1.5,
0
]
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
0,
-0.1,
0
]
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
0,
-0.1,
0
]
}
],
"/vanilla/behavior_pack/entities/small_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": [
0,
0.5,
0
]
}
]
}
},
{
"id": "on_fire_time",
"title": "On Fire Time",
"description": "Time in seconds that the entity hit will be on fire for",
"defaultValue": 5,
"dataType": 3
},
{
"id": "particle",
"title": "Particle",
"description": "Particle to use upon collision",
"defaultValue": "iconcrack",
"dataType": 2
},
{
"id": "potion_effect",
"title": "Potion Effect",
"description": "Defines the effect the arrow will apply to the entity it hits",
"defaultValue": -1,
"dataType": 0
},
{
"id": "power",
"title": "Power",
"description": "Determines the velocity of the projectile",
"defaultValue": 1.3,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.7
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.5
}
],
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.3
}
],
"/vanilla/behavior_pack/entities/egg.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.5
}
],
"/vanilla/behavior_pack/entities/fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.6
}
],
"/vanilla/behavior_pack/entities/lingering_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.5
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.6
}
],
"/vanilla/behavior_pack/entities/small_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.3
}
],
"/vanilla/behavior_pack/entities/splash_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.5
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 4
}
],
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.6
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1.2
}
]
}
},
{
"id": "reflect_immunity",
"title": "Reflect Immunity",
"description": "During the specified time, in seconds, the projectile cannot be reflected by hitting it",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 0.5
}
]
}
},
{
"id": "reflect_on_hurt",
"title": "Reflect On Hurt",
"description": "If true, this entity will be reflected back when hit",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "semi_random_diff_damage",
"title": "Semi Random Diff Damage",
"description": "If true, damage will be randomized based on damage and speed",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
],
"/vanilla/behavior_pack/entities/small_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "shoot_sound",
"title": "Shoot Sound",
"description": "The sound that plays when the projectile is shot",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "bow"
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "bow"
}
]
}
},
{
"id": "shoot_target",
"title": "Shoot Target",
"description": "If true, the projectile will be shot towards the target of the entity firing it",
"defaultValue": true,
"dataType": 1
},
{
"id": "should_bounce",
"title": "Should Bounce",
"description": "If true, the projectile will bounce upon hit",
"defaultValue": false,
"dataType": 1,
"samples": {
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "splash_potion",
"title": "Splash Potion",
"description": "If true, the projectile will be treated like a splash potion",
"defaultValue": false,
"dataType": 1
},
{
"id": "splash_range",
"title": "Splash Range",
"description": "Radius in blocks of the 'splash' effect",
"defaultValue": 4,
"dataType": 3
},
{
"id": "uncertainty_base",
"title": "Uncertainty Base",
"description": "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 5
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 10
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 10
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 16
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 7.5
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 7.5
}
]
}
},
{
"id": "uncertainty_multiplier",
"title": "Uncertainty Multiplier",
"description": "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"defaultValue": 0,
"dataType": 3,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 4
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 4
}
],
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
]
}
},
{
"id": "on_hit",
"title": "On Hit",
"dataType": 22,
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 1,
"knockback": true
},
"wind_burst_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 1,
"max_critical_damage": 1,
"knockback": true
},
"wind_burst_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"spawn_aoe_cloud": {
"radius": 6,
"radius_on_use": 0,
"potion": 23,
"particle": "dragonbreath",
"duration": 120,
"color": [
220,
0,
239
],
"affect_owner": false,
"reapplication_delay": 20
},
"remove_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/egg.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 0,
"knockback": true,
"destroy_on_hit": true
},
"spawn_chance": {
"first_spawn_chance": 8,
"second_spawn_chance": 32,
"first_spawn_count": 1,
"second_spawn_count": 4,
"spawn_definition": "minecraft:chicken",
"spawn_baby": true,
"on_spawn": [
{
"filters": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:climate_variant",
"value": "warm"
},
"event": "minecraft:hatch_warm"
},
{
"filters": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:climate_variant",
"value": "cold"
},
"event": "minecraft:hatch_cold"
}
]
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "iconcrack",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true,
"particle_item_name": {
"brown_egg": {
"test": "enum_property",
"domain": "minecraft:climate_variant",
"value": "warm"
},
"blue_egg": {
"test": "enum_property",
"domain": "minecraft:climate_variant",
"value": "cold"
}
}
}
}
}
],
"/vanilla/behavior_pack/entities/fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 6,
"knockback": false,
"semi_random_diff_damage": false
},
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
}
}
}
],
"/vanilla/behavior_pack/entities/fishing_hook.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"stick_in_ground": {}
}
}
],
"/vanilla/behavior_pack/entities/lingering_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"douse_fire": {},
"spawn_aoe_cloud": {
"radius": 3,
"radius_on_use": -0.5,
"duration": 30,
"reapplication_delay": 40
},
"remove_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 1,
"knockback": false
},
"remove_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 4,
"knockback": true,
"should_bounce": true
},
"mob_effect": {
"effect": "levitation",
"durationeasy": 200,
"durationnormal": 200,
"durationhard": 200,
"amplifier": 0
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "largeexplode",
"on_other_hit": true
}
}
}
],
"/vanilla/behavior_pack/entities/small_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 5,
"knockback": true,
"catch_fire": true,
"semi_random_diff_damage": false
},
"catch_fire": {
"fire_affected_by_griefing": true
},
"remove_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/snowball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"filter": "blaze",
"damage": 3,
"knockback": true
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "snowballpoof",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true
}
}
}
],
"/vanilla/behavior_pack/entities/splash_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"douse_fire": {},
"thrown_potion_effect": {},
"remove_on_hit": {}
}
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"impact_damage": {
"damage": 8,
"knockback": true,
"semi_random_diff_damage": false,
"destroy_on_hit": false
},
"stick_in_ground": {
"shake_time": 0
}
}
}
],
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
},
"mob_effect": {
"effect": "wither",
"durationeasy": 0,
"durationnormal": 200,
"durationhard": 800,
"amplifier": 1
}
}
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
},
"mob_effect": {
"effect": "wither",
"durationeasy": 0,
"durationnormal": 200,
"durationhard": 800,
"amplifier": 1
}
}
}
],
"/vanilla/behavior_pack/entities/xp_bottle.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"grant_xp": {
"minXP": 3,
"maxXP": 11
},
"remove_on_hit": {}
}
}
]
}
},
{
"id": "anchor",
"title": "Anchor",
"dataType": 7,
"samples": {
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 2
}
],
"/vanilla/behavior_pack/entities/fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 2
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": 1
}
]
}
},
{
"id": "destroyOnHurt",
"title": "DestroyOnHurt",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
},
{
"id": "hit_ground_sound",
"title": "Hit Ground Sound",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": "item.trident.hit_ground"
}
]
}
},
{
"id": "stop_on_hurt",
"title": "Stop On Hurt",
"dataType": 2,
"samples": {
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": true
}
]
}
}
],
"description": "Allows the entity to be a thrown entity.",
"title": "Projectile",
"samples": {
"/vanilla/behavior_pack/entities/breeze_wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 1,
"knockback": true
},
"wind_burst_on_hit": {}
},
"power": 0.7,
"gravity": 0,
"inertia": 1,
"liquid_inertia": 1,
"uncertainty_base": 5,
"uncertainty_multiplier": 4,
"reflect_on_hurt": true,
"ignored_entities": [
"ender_crystal",
"wind_charge_projectile",
"breeze_wind_charge_projectile"
]
}
}
],
"/vanilla/behavior_pack/entities/wind_charge_projectile.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 1,
"max_critical_damage": 1,
"knockback": true
},
"wind_burst_on_hit": {}
},
"power": 1.5,
"gravity": 0,
"inertia": 1,
"liquid_inertia": 1,
"uncertainty_base": 1,
"uncertainty_multiplier": 0,
"reflect_on_hurt": true,
"multiple_targets": false,
"reflect_immunity": 0.5,
"ignored_entities": [
"ender_crystal",
"wind_charge_projectile",
"breeze_wind_charge_projectile"
]
}
}
],
"/vanilla/behavior_pack/entities/axolotl.json": [],
"/vanilla/behavior_pack/entities/dragon_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"spawn_aoe_cloud": {
"radius": 6,
"radius_on_use": 0,
"potion": 23,
"particle": "dragonbreath",
"duration": 120,
"color": [
220,
0,
239
],
"affect_owner": false,
"reapplication_delay": 20
},
"remove_on_hit": {}
},
"power": 1.3,
"gravity": 0,
"inertia": 1,
"anchor": 2,
"offset": [
0,
0.5,
0
],
"semi_random_diff_damage": true,
"uncertainty_base": 10,
"reflect_on_hurt": true,
"hit_sound": "explode"
}
}
],
"/vanilla/behavior_pack/entities/egg.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 0,
"knockback": true,
"destroy_on_hit": true
},
"spawn_chance": {
"first_spawn_chance": 8,
"second_spawn_chance": 32,
"first_spawn_count": 1,
"second_spawn_count": 4,
"spawn_definition": "minecraft:chicken",
"spawn_baby": true,
"on_spawn": [
{
"filters": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:climate_variant",
"value": "warm"
},
"event": "minecraft:hatch_warm"
},
{
"filters": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:climate_variant",
"value": "cold"
},
"event": "minecraft:hatch_cold"
}
]
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "iconcrack",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true,
"particle_item_name": {
"brown_egg": {
"test": "enum_property",
"domain": "minecraft:climate_variant",
"value": "warm"
},
"blue_egg": {
"test": "enum_property",
"domain": "minecraft:climate_variant",
"value": "cold"
}
}
}
},
"power": 1.5,
"gravity": 0.03,
"angle_offset": 0
}
}
],
"/vanilla/behavior_pack/entities/fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 6,
"knockback": false,
"semi_random_diff_damage": false
},
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
}
},
"power": 1.6,
"gravity": 0,
"inertia": 1,
"liquid_inertia": 1,
"uncertainty_base": 0,
"uncertainty_multiplier": 0,
"anchor": 2,
"offset": [
0,
-1.5,
0
],
"reflect_on_hurt": true,
"catch_fire": true
}
}
],
"/vanilla/behavior_pack/entities/fishing_hook.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"stick_in_ground": {}
}
}
}
],
"/vanilla/behavior_pack/entities/lingering_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"douse_fire": {},
"spawn_aoe_cloud": {
"radius": 3,
"radius_on_use": -0.5,
"duration": 30,
"reapplication_delay": 40
},
"remove_on_hit": {}
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20,
"hit_sound": "glass"
}
}
],
"/vanilla/behavior_pack/entities/llama_spit.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 1,
"knockback": false
},
"remove_on_hit": {}
},
"power": 1.5,
"gravity": 0.06,
"inertia": 1,
"uncertainty_base": 10,
"uncertainty_multiplier": 4,
"anchor": 1,
"offset": [
0,
-0.1,
0
],
"reflect_on_hurt": true
}
}
],
"/vanilla/behavior_pack/entities/shulker_bullet.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 4,
"knockback": true,
"should_bounce": true
},
"mob_effect": {
"effect": "levitation",
"durationeasy": 200,
"durationnormal": 200,
"durationhard": 200,
"amplifier": 0
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "largeexplode",
"on_other_hit": true
}
},
"hit_sound": "bullet.hit",
"destroyOnHurt": true,
"crit_particle_on_hurt": true,
"power": 1.6,
"gravity": 0.05,
"uncertainty_base": 16,
"uncertainty_multiplier": 4,
"anchor": 1,
"offset": [
0,
-0.1,
0
],
"homing": true
}
}
],
"/vanilla/behavior_pack/entities/small_fireball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 5,
"knockback": true,
"catch_fire": true,
"semi_random_diff_damage": false
},
"catch_fire": {
"fire_affected_by_griefing": true
},
"remove_on_hit": {}
},
"power": 1.3,
"gravity": 0,
"inertia": 1,
"liquid_inertia": 1,
"anchor": 2,
"offset": [
0,
0.5,
0
],
"semi_random_diff_damage": true,
"uncertainty_base": 10,
"reflect_on_hurt": true
}
}
],
"/vanilla/behavior_pack/entities/snowball.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"filter": "blaze",
"damage": 3,
"knockback": true
},
"remove_on_hit": {},
"particle_on_hit": {
"particle_type": "snowballpoof",
"num_particles": 6,
"on_entity_hit": true,
"on_other_hit": true
}
},
"anchor": 1,
"power": 1.5,
"gravity": 0.03,
"angle_offset": 0,
"offset": [
0,
-0.1,
0
]
}
}
],
"/vanilla/behavior_pack/entities/splash_potion.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"douse_fire": {},
"thrown_potion_effect": {},
"remove_on_hit": {}
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20,
"hit_sound": "glass"
}
}
],
"/vanilla/behavior_pack/entities/thrown_trident.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"impact_damage": {
"damage": 8,
"knockback": true,
"semi_random_diff_damage": false,
"destroy_on_hit": false
},
"stick_in_ground": {
"shake_time": 0
}
},
"liquid_inertia": 0.99,
"hit_sound": "item.trident.hit",
"hit_ground_sound": "item.trident.hit_ground",
"power": 4,
"gravity": 0.1,
"uncertainty_base": 1,
"uncertainty_multiplier": 0,
"stop_on_hurt": true,
"anchor": 1,
"should_bounce": true,
"multiple_targets": false,
"offset": [
0,
-0.1,
0
]
}
}
],
"/vanilla/behavior_pack/entities/wither_skull_dangerous.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
},
"mob_effect": {
"effect": "wither",
"durationeasy": 0,
"durationnormal": 200,
"durationhard": 800,
"amplifier": 1
}
},
"power": 0.6,
"gravity": 0,
"uncertainty_base": 7.5,
"uncertainty_multiplier": 1,
"shoot_sound": "bow",
"hit_sound": "bow.hit",
"anchor": 1,
"offset": [
0,
-0.1,
0
],
"is_dangerous": true,
"inertia": 1,
"liquid_inertia": 1,
"shoot_target": false,
"reflect_on_hurt": true
}
}
],
"/vanilla/behavior_pack/entities/wither_skull.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"definition_event": {
"affect_projectile": true,
"event_trigger": {
"event": "minecraft:explode",
"target": "self"
}
},
"mob_effect": {
"effect": "wither",
"durationeasy": 0,
"durationnormal": 200,
"durationhard": 800,
"amplifier": 1
}
},
"power": 1.2,
"gravity": 0,
"uncertainty_base": 7.5,
"uncertainty_multiplier": 1,
"shoot_sound": "bow",
"hit_sound": "bow.hit",
"anchor": 1,
"offset": [
0,
-0.1,
0
],
"inertia": 1,
"liquid_inertia": 1,
"shoot_target": false
}
}
],
"/vanilla/behavior_pack/entities/xp_bottle.json": [
{
"path": "/minecraft:entity/components/minecraft:projectile/",
"content": {
"on_hit": {
"grant_xp": {
"minXP": 3,
"maxXP": 11
},
"remove_on_hit": {}
},
"power": 0.5,
"gravity": 0.05,
"angle_offset": -20,
"hit_sound": "glass"
}
}
]
},
"id": "minecraft:projectile"
}