Appearance
helix / Explosion
Interface: Explosion โ
Defined in: core/values/enchantment/entity-effect.ts:32
An explosion, such as the Wind Burst on a mace. Particles and sound default to a normal explosion's.
Properties โ
attributeToUser? โ
readonlyoptionalattributeToUser?:boolean
Defined in: core/values/enchantment/entity-effect.ts:36
Credits the enchanted item's user with the explosion.
blockInteraction โ
readonlyblockInteraction:BlockInteraction
Defined in: core/values/enchantment/entity-effect.ts:34
blockParticles? โ
readonlyoptionalblockParticles?: readonlyobject[]
Defined in: core/values/enchantment/entity-effect.ts:49
1.21.9+. Particles from the blocks it hits, picked by weight.
createFire? โ
readonlyoptionalcreateFire?:boolean
Defined in: core/values/enchantment/entity-effect.ts:45
Places fire in the radius.
damageType? โ
readonlyoptionaldamageType?:DamageType
Defined in: core/values/enchantment/entity-effect.ts:38
No damage without one.
immuneBlocks? โ
Defined in: core/values/enchantment/entity-effect.ts:40
Blocks, or a tag, that stop the explosion.
knockbackMultiplier? โ
readonlyoptionalknockbackMultiplier?:LevelBased
Defined in: core/values/enchantment/entity-effect.ts:42
Defaults to 1.
largeParticle? โ
readonlyoptionallargeParticle?:Particle
Defined in: core/values/enchantment/entity-effect.ts:47
offset? โ
readonlyoptionaloffset?:Xyz
Defined in: core/values/enchantment/entity-effect.ts:43
radius โ
readonlyradius:LevelBased
Defined in: core/values/enchantment/entity-effect.ts:33
smallParticle? โ
readonlyoptionalsmallParticle?:Particle
Defined in: core/values/enchantment/entity-effect.ts:46
sound? โ
readonlyoptionalsound?:SoundRef
Defined in: core/values/enchantment/entity-effect.ts:50