예제 #1
0
 @Override
 public void onInventoryChanged() {
   super.onInventoryChanged();
   MinecraftForge.EVENT_BUS.post(
       new GridStorageUpdateEvent(
           worldObj, new WorldCoord(this.xCoord, this.yCoord, this.zCoord), this.getGrid()));
 }
 /** Called when an the contents of an Inventory change, usually */
 public void onInventoryChanged() {
   super.onInventoryChanged();
 }
 @Override
 public void onInventoryChanged() {
   super.onInventoryChanged();
   this.worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
 }