Ejemplo n.º 1
0
 @Override
 public void onRender() {
   if (blockHitDelay == 0 && shouldRenderESP)
     if (!Minecraft.getMinecraft().thePlayer.capabilities.isCreativeMode
         && currentBlock.getPlayerRelativeBlockHardness(
                 Minecraft.getMinecraft().thePlayer, Minecraft.getMinecraft().theWorld, pos)
             < 1) RenderUtils.nukerBox(pos, currentDamage);
     else RenderUtils.nukerBox(pos, 1);
 }