Package net.minecraft.src.buildcraft.api

Examples of net.minecraft.src.buildcraft.api.IPowerReceptor


                    TileGenericPipe nearbyTile = (TileGenericPipe) needsPower.get(b).tile;
                    PipeTransportPower nearbyTransport = (PipeTransportPower) nearbyTile.pipe.transport;
                    nearbyTransport.receiveEnergy(needsPower.get(b).ori, powerToSend);
                }
                else if (needsPower.get(b).tile instanceof IPowerReceptor) {
                    IPowerReceptor pow = (IPowerReceptor) needsPower.get(b);
                    pow.getPowerProvider().receiveEnergy((int)powerToSend);
                }
            }

        }
View Full Code Here

TOP

Related Classes of net.minecraft.src.buildcraft.api.IPowerReceptor

Copyright © 2018 www.massapicom. 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.