Examples of TileEntityAerialInterface


Examples of pneumaticCraft.common.tileentity.TileEntityAerialInterface

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

        TileEntity te = par1IBlockAccess.getTileEntity(par2, par3, par4);
        if(te instanceof TileEntityAerialInterface) {
            TileEntityAerialInterface teAi = (TileEntityAerialInterface)te;
            return teAi.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.