ExplosionBlockInteraction

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.api.world.ExplosionBlockInteraction;

Implements

Undocumented Interfaces

Comparable<Enum>

Enum Constants

ExplosionBlockInteraction is an enum with 3 constants. They are accessible like so:

script.zs
// ExplosionBlockInteraction.DESTROY
<constant:minecraft:explosion/blockinteraction:destroy>
// ExplosionBlockInteraction.DESTROY_WITH_DECAY
<constant:minecraft:explosion/blockinteraction:destroy_with_decay>
// ExplosionBlockInteraction.KEEP
<constant:minecraft:explosion/blockinteraction:keep>