public void onIgnite(Block block, Cause<?> cause) {
// spawn a primed TntBlock
Point pos = block.getPosition();
World world = pos.getWorld();
Tnt tnt = world.createEntity(pos, Tnt.class).add(Tnt.class);
world.spawnEntity(tnt.getOwner());
block.setMaterial(VanillaMaterials.AIR, cause);
}
@Override
public void onUpdate(BlockMaterial oldMaterial, Block block) {