示例#1
0
 /** Called when block is placed in world */
 public void onAdded() {
   updatePower();
 }
示例#2
0
 public void onNeighborChange(Block block) {
   if (!worldObj.isRemote) {
     updatePower();
   }
 }