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.
import crafttweaker . api.world . ExplosionBlockInteraction;
Undocumented Interfaces Comparable <Enum >
ExplosionBlockInteraction is an enum with 4 constants. They are accessible like so:
// 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 >
// ExplosionBlockInteraction.TRIGGER_BLOCK
< constant : minecraft:explosion/blockinteraction:trigger_block >