Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/shooter.json

30 lines
970 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.shooter",
2021-10-08 12:59:03 +02:00
"description": "Defines the entity's ranged attack behavior.",
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Shooter",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"properties": {
2021-10-11 18:10:42 +02:00
"aux_val": {
"type": "integer",
"title": "Aux Val",
"default": -1,
"description": "ID of the Potion effect to be applied on hit"
},
2021-10-08 12:59:03 +02:00
"def": {
"title": "Def",
"type": "string",
2022-01-05 12:07:48 +01:00
"examples": ["minecraft:arrow", "minecraft:small_fireball", "minecraft:thrown_trident"],
2021-10-08 12:59:03 +02:00
"description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"
},
2021-10-11 18:10:42 +02:00
"type": {
"title": "Type",
"type": "string",
"description": "UNDOCUMENTED",
2022-01-05 12:07:48 +01:00
"$comment": "UNDOCUMENTED",
"examples": ["dragonfireball"]
2021-10-11 18:10:42 +02:00
}
},
2022-01-05 12:07:48 +01:00
"examples": [{ "def": "minecraft:small_fireball" }]
2021-10-08 12:59:03 +02:00
}