Minecraft Gui Overlay bug?

Ca
- in Textures
2

Public class ChakraTest {

public class ChakraTest {

static int Chakra = 1000;

public static ResourceLocation texture = new ResourceLocation ("dna: textures / gui / chakrabar1000.png");

@SubscribeEvent

public void onRenderGameOverlay (RenderGameOverlayEvent event)

{

Minecraft mc = Minecraft.getMinecraft ();

ScaledResolution scaled = new ScaledResolution (mc, mc.displayWidth, mc.displayHeight);

if (! Mc.thePlayer.capabilities.isCreativeMode)

{

if (chakra> = 1000)

{

. Minecraft.getMinecraft () renderEngine.bindTexture (texture);

int posX = scaled.getScaledWidth () -48;

int posY = scaled.getScaledHeight () / 2 + 12;

mc.ingameGUI.drawTexturedModalRect (posX, posY, 0, 0, 200, 80); }

}

}

}

Does anybody know what I'm doing wrong?

Minecraft Gui Overlay bug
Ju

So you're just trying to program Minecraft right?

Ca

I'm programming a mod