Example #1
0
 public final boolean willMeltAt(Block block) {
   return block.getBlockLight() > MIN_MELT_LIGHT;
 }
Example #2
0
 @Override
 public void onRandomTick(Block block) {
   if (block.getBlockLight() > 11) {
     block.setMaterial(VanillaMaterials.AIR);
   }
 }