Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/components/minecraft.projectile.json
2020-11-01 17:22:42 +01:00

180 lines
5.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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.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"
},
"splashRange": {
"type": "number",
"default": 4,
"description": "Radius in blocks of the 'splash' effect",
"title": "TODO title"
},
"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"
}
}
}