Package pneumaticCraft.client.render.pneumaticArmor

Examples of pneumaticCraft.client.render.pneumaticArmor.RenderTarget


        }
    }

    private static boolean isInDisplayCooldown(IHackableEntity hackableBlock, Entity entity){
        if(entity.worldObj.isRemote) {
            RenderTarget target = ((EntityTrackUpgradeHandler)HUDHandler.instance().getSpecificRenderer(EntityTrackUpgradeHandler.class)).getTargetForEntity(entity);
            int requiredHackTime = hackableBlock.getHackTime(entity, PneumaticCraft.proxy.getPlayer());
            return target != null && target.getHackTime() >= requiredHackTime && target.getHackTime() <= requiredHackTime + 20;
        } else {
            return false;
        }
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.client.render.pneumaticArmor.RenderTarget

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.