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

helix / BlockInteraction

Variable: BlockInteraction โ€‹

const BlockInteraction: object

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

What breaking blocks an explosion does: each but NONE and TRIGGER drops items under its own game rule.

Type Declaration โ€‹

BLOCK โ€‹

readonly BLOCK: "block" = "block"

MOB โ€‹

readonly MOB: "mob" = "mob"

NONE โ€‹

readonly NONE: "none" = "none"

TNT โ€‹

readonly TNT: "tnt" = "tnt"

TRIGGER โ€‹

readonly TRIGGER: "trigger" = "trigger"

Presses buttons and the like, breaking nothing.

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