示例#1
0
文件: Snow.java 项目: aginsun/Vanilla
 public final boolean willMeltAt(Block block) {
   return block.getBlockLight() > MIN_MELT_LIGHT;
 }
示例#2
0
 @Override
 public void onRandomTick(Block block) {
   if (block.getBlockLight() > 11) {
     block.setMaterial(VanillaMaterials.AIR);
   }
 }