Examples of TileEntityContainer


Examples of net.mcft.copy.betterstorage.tile.entity.TileEntityContainer

    return super.removedByPlayer(world, player, x, y, z);
  }
 
  @Override
  public void onBlockPreDestroy(World world, int x, int y, int z, int meta) {
    TileEntityContainer container = getContainer(world, x, y, z);
    if (container != null) container.onBlockDestroyed();
  }
View Full Code Here

Examples of net.mcft.copy.betterstorage.tile.entity.TileEntityContainer

    if (container != null) container.onBlockDestroyed();
  }
 
  @Override
  public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z) {
    TileEntityContainer container = getContainer(world, x, y, z);
    if (container instanceof IHasAttachments) {
      ItemStack pick = ((IHasAttachments)container).getAttachments().pick(target);
      if (pick != null) return pick;
    }
    ItemStack pick = super.getPickBlock(target, world, x, y, z);
    return container.onPickBlock(pick, target);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.