2021-06-06 10:07:19 +00:00
{
"$id" : "blockception.minecraft.behavior.entities.1.8.0.minecraft.projectile" ,
"description" : "Allows the entity to be a thrown entity." ,
"type" : "object" ,
"title" : "Projectile 1.8.0" ,
"additionalProperties" : false ,
"required" : [ ] ,
"properties" : {
"angleoffset" : { "type" : "number" , "default" : 0 , "description" : "Determines the angle at which the projectile is thrown" , "title" : "TODO Title" } ,
"catchFire" : { "type" : "boolean" , "default" : false , "description" : "If true, the entity hit will be set on fire" , "title" : "TODO Title" } ,
"critParticleOnHurt" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, the projectile will produce additional particles when a critical hit happens" ,
"title" : "TODO Title"
} ,
"destroyOnHurt" : { "type" : "boolean" , "default" : false , "description" : "If true, this entity will be destroyed when hit" , "title" : "TODO Title" } ,
"filter" : {
"$ref" : "../../filters/filters.json" ,
"description" : "Entity Definitions defined here can't be hurt by the projectile" ,
"title" : "TODO Title"
} ,
"fireAffectedByGriefing" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, whether the projectile causes fire is affected by the mob griefing game rule" ,
"title" : "TODO Title"
} ,
"gravity" : {
"type" : "number" ,
"default" : 0.05 ,
"description" : "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls" ,
"title" : "TODO Title"
} ,
"hitSound" : { "type" : "string" , "default" : "" , "description" : "The sound that plays when the projectile hits something" , "title" : "TODO Title" } ,
"homing" : { "type" : "boolean" , "default" : false , "description" : "If true, the projectile homes in to the nearest entity" , "title" : "TODO Title" } ,
"inertia" : {
"type" : "number" ,
"default" : 0.99 ,
"description" : "The fraction of the projectile's speed maintained every frame while traveling in air" ,
"title" : "TODO Title"
} ,
"isdangerous" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, the projectile will be treated as dangerous to the players" ,
"title" : "TODO Title"
} ,
"knockback" : {
"type" : "boolean" ,
"default" : true ,
"description" : "If true, the projectile will knock back the entity it hits" ,
"title" : "TODO Title"
} ,
"lightning" : { "type" : "boolean" , "default" : false , "description" : "If true, the entity hit will be struck by lightning" , "title" : "TODO Title" } ,
"liquid_inertia" : {
"type" : "number" ,
"default" : 0.6 ,
"description" : "The fraction of the projectile's speed maintained every frame while traveling in water" ,
"title" : "TODO Title"
} ,
"multipletargets" : {
"type" : "boolean" ,
"default" : true ,
"description" : "If true, the projectile can hit multiple entities per flight" ,
"title" : "TODO Title"
} ,
"offset" : {
"$ref" : "../../../../general/array_3_number.json" ,
"default" : [ 0.0 , 0.5 , 0.0 ] ,
"description" : "The offset from the entity's anchor where the projectile will spawn" ,
"title" : "TODO Title"
} ,
"onFireTime" : { "type" : "number" , "default" : 5 , "description" : "Time in seconds that the entity hit will be on fire for" , "title" : "TODO Title" } ,
"particle" : { "type" : "string" , "default" : "iconcrack" , "description" : "Particle to use upon collision" , "title" : "TODO Title" } ,
"potionEffect" : {
"type" : "integer" ,
"default" : -1 ,
"description" : "Defines the effect the arrow will apply to the entity it hits" ,
"title" : "TODO Title"
} ,
"power" : { "type" : "number" , "default" : 1.3 , "description" : "Determines the velocity of the projectile" , "title" : "TODO Title" } ,
"reflectOnHurt" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, this entity will be reflected back when hit" ,
"title" : "TODO Title"
} ,
"semirandomdiffdamage" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, damage will be randomized based on damage and speed" ,
"title" : "TODO Title"
} ,
"shootSound" : { "type" : "string" , "description" : "The sound that plays when the projectile is shot" , "title" : "TODO Title" } ,
"shoottarget" : {
"type" : "boolean" ,
"default" : true ,
"description" : "If true, the projectile will be shot towards the target of the entity firing it" ,
"title" : "TODO Title"
} ,
"shouldbounce" : { "type" : "boolean" , "default" : false , "description" : "If true, the projectile will bounce upon hit" , "title" : "TODO Title" } ,
"splashPotion" : {
"type" : "boolean" ,
"default" : false ,
"description" : "If true, the projectile will be treated like a splash potion" ,
"title" : "TODO Title"
} ,
2021-06-06 13:00:25 +02:00
"splashRange" : { "type" : "number" , "default" : 4 , "description" : "Radius in blocks of the `splash` effect" , "title" : "TODO Title" } ,
2021-06-06 10:07:19 +00:00
"uncertaintyBase" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier" ,
"title" : "TODO Title"
} ,
"uncertaintyMultiplier" : {
"type" : "number" ,
"default" : 0 ,
"description" : "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier" ,
"title" : "TODO Title"
}
}
}