Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

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? โ€‹

readonly optional attributeToUser?: boolean

Defined in: core/values/enchantment/entity-effect.ts:36

Credits the enchanted item's user with the explosion.


blockInteraction โ€‹

readonly blockInteraction: BlockInteraction

Defined in: core/values/enchantment/entity-effect.ts:34


blockParticles? โ€‹

readonly optional blockParticles?: readonly object[]

Defined in: core/values/enchantment/entity-effect.ts:49

1.21.9+. Particles from the blocks it hits, picked by weight.


createFire? โ€‹

readonly optional createFire?: boolean

Defined in: core/values/enchantment/entity-effect.ts:45

Places fire in the radius.


damageType? โ€‹

readonly optional damageType?: DamageType

Defined in: core/values/enchantment/entity-effect.ts:38

No damage without one.


immuneBlocks? โ€‹

readonly optional immuneBlocks?: Block | readonly Block[]

Defined in: core/values/enchantment/entity-effect.ts:40

Blocks, or a tag, that stop the explosion.


knockbackMultiplier? โ€‹

readonly optional knockbackMultiplier?: LevelBased

Defined in: core/values/enchantment/entity-effect.ts:42

Defaults to 1.


largeParticle? โ€‹

readonly optional largeParticle?: Particle

Defined in: core/values/enchantment/entity-effect.ts:47


offset? โ€‹

readonly optional offset?: Xyz

Defined in: core/values/enchantment/entity-effect.ts:43


radius โ€‹

readonly radius: LevelBased

Defined in: core/values/enchantment/entity-effect.ts:33


smallParticle? โ€‹

readonly optional smallParticle?: Particle

Defined in: core/values/enchantment/entity-effect.ts:46


sound? โ€‹

readonly optional sound?: SoundRef

Defined in: core/values/enchantment/entity-effect.ts:50

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.