Semi Functioning Magic Map System

This commit is contained in:
Kam committed 2025-02-03 16:59:06 -05:00
1 parent d28935ab58
commit 50c6ab644b
7 files changed
+988 -197

No files matched your search

@@ -1,9 +1,12 @@
package noppes.npcs.client.gui.util;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.util.ResourceLocation;
import noppes.npcs.entity.EntityNPCInterface;
import org.lwjgl.opengl.GL11;
import java.util.List;
public abstract class GuiNPCInterface2 extends GuiNPCInterface
{
private ResourceLocation background = new ResourceLocation("customnpcs:textures/gui/menubg.png");
@@ -62,6 +65,10 @@ public abstract class GuiNPCInterface2 extends GuiNPCInterface
drawTexturedModalRect(guiLeft + xSize-230, guiTop, 26, 0, 230, 220);
}
public void renderHoveringText(List textLines, int x, int y, FontRenderer font) {
this.drawHoveringText(textLines, x, y, font);
}
protected GuiNpcMenu getMenu(){
return this.menu;
}