Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/shooter.json
2021-10-11 18:10:42 +02:00

34 lines
884 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.shooter",
"description": "Defines the entity's ranged attack behavior.",
"type": "object",
"title": "Shooter",
"additionalProperties": false,
"properties": {
"aux_val": {
"type": "integer",
"title": "Aux Val",
"default": -1,
"description": "ID of the Potion effect to be applied on hit"
},
"def": {
"title": "Def",
"type": "string",
"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"
},
"type": {
"title": "Type",
"type": "string",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
},
"examples": [
{
"aux_val": -1,
"def": "example",
"type": "example"
}
]
}