Package pneumaticCraft.common.tileentity

Examples of pneumaticCraft.common.tileentity.TileEntityUVLightBox


    }

    @Override
    public void renderStatic(float size, TileEntity te){
        if(te instanceof TileEntityUVLightBox) {
            TileEntityUVLightBox tile = (TileEntityUVLightBox)te;
            renderModel(size, tile.leftConnected, tile.rightConnected, tile.areLightsOn);
            if(blueprintEntity == null) {
                blueprintEntity = new EntityItem(tile.getWorldObj());
                blueprintEntity.setEntityItemStack(new ItemStack(Itemss.PCBBlueprint));
                blueprintEntity.hoverStart = 0.0F;
            }
            if(pcbEntity == null) {
                pcbEntity = new EntityItem(tile.getWorldObj());
                pcbEntity.setEntityItemStack(new ItemStack(Itemss.emptyPCB));
                pcbEntity.hoverStart = 0.0F;
            }
            float scaleFactor = 1.0F;// getGhostItemScaleFactor(tileGlassBell.getStackInSlot(TileGlassBell.DISPLAY_SLOT_INVENTORY_INDEX));
            // float rotationAngle = (float) (720.0 *
 
View Full Code Here


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

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

        return 0;
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.common.tileentity.TileEntityUVLightBox

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.