Package pneumaticCraft.common.tileentity

Examples of pneumaticCraft.common.tileentity.TileEntityChargingStation.shouldEmitRedstone()


    public int isProvidingWeakPower(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5){

        TileEntity te = par1IBlockAccess.getTileEntity(par2, par3, par4);
        if(te instanceof TileEntityChargingStation) {
            TileEntityChargingStation teCs = (TileEntityChargingStation)te;
            return teCs.shouldEmitRedstone() ? 15 : 0;
        }

        return 0;
    }
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.