Package net.minecraft.src.buildcraft.transport

Examples of net.minecraft.src.buildcraft.transport.PipeTransportPower.requestEnergy()


                    TileEntity tile = worldObj.getBlockTileEntity((int)destPos.x, (int)destPos.y, (int)destPos.z);

                    if (tile instanceof TileGenericPipe) {
                        TileGenericPipe nearbyTile = (TileGenericPipe) tile;
                        PipeTransportPower nearbyTransport = (PipeTransportPower) nearbyTile.pipe.transport;
                        nearbyTransport.requestEnergy(newPos.reverse(), is);
                    }
                }
            }
        }
    }
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.