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" ,
"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" ,
"$comment" : "UNDOCUMENTED"
}
} ,
"examples" : [
{
"aux_val" : -1 ,
"def" : "example" ,
"type" : "example"
}
]
2021-10-08 12:59:03 +02:00
}