Explosion Property
Description
The Explosion Property makes a projectile explode upon hitting an entity or block. The explosion parameters such as strength, radius, and whether or not blocks are destroyed can be customized. The explosion may also affect entities with a configurable maximum damage and radius.
Data
- strength: Strength of the explosion.
- chance: (optional default = 1.0) Probability of the explosion occurring upon impact.
- destroyBlocks: (optional default = true) Whether blocks are destroyed by the explosion.
- entityStrength: (optional default = strength) Damage multiplier for entities caught in the explosion.
- entityMaxDamage: (optional default = strength) Maximum damage the explosion can deal to entities.
- entityRadius: (optional default = strength) Radius of the explosion's effect on entities.