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