Examples of onDetachedPipe()


Examples of buildcraft.api.transport.IPipePluggable.onDetachedPipe()

    public boolean dropItem(LogisticsTileGenericPipe pipe, ForgeDirection direction) {
      boolean result = false;
      IPipePluggable pluggable = pluggables[direction.ordinal()];
      if (pluggable != null) {
        pluggable.onDetachedPipe(((PipeWrapper)pipe.pipe.bcPipePart.getWrapped()).getTile(), direction);
        ItemStack[] stacks = pluggable.getDropItems(pipe);
        if (stacks != null) {
          for (ItemStack stack : stacks) {
            InvUtils.dropItems(pipe.getWorldObj(), stack, pipe.xCoord, pipe.yCoord, pipe.zCoord);
          }
View Full Code Here

Examples of buildcraft.api.transport.IPipePluggable.onDetachedPipe()

    public boolean dropItem(TileGenericPipe pipe, ForgeDirection direction) {
      boolean result = false;
      IPipePluggable pluggable = pluggables[direction.ordinal()];
      if (pluggable != null) {
        pluggable.onDetachedPipe(pipe, direction);
        ItemStack[] stacks = pluggable.getDropItems(pipe);
        if (stacks != null) {
          for (ItemStack stack : stacks) {
            InvUtils.dropItems(pipe.worldObj, stack, pipe.xCoord, pipe.yCoord, pipe.zCoord);
          }
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.