You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
This keeps coming up on a pack I am putting together, I am not the best at finding these issues in these things. any help is appreciated.
https://paste.ee/p/SeEVH
This is what I have now, nothing shows on the screen and after using mana the game freezes.
public class ManaOverlay extends Overlay {
ResourceLocation manaBar = ResourceLocation.fromNamespaceAndPath(RSGArmoury.MOD_ID, "/textures/block/spawnable_arena_wall.png");
@Override
public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) {
Mana mana = new Mana();
pGuiGraphics.blit(manaBar, 16, -16, 0, 0, mana.getMana(), 16, mana.getMana(), 16);
}
@Override
public boolean isPauseScreen() {
return false;
}
}
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.