}
}
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;
}
}