Huge Overhaul to Fullscreen Modes + Folder Support for:

- Animations
- Abilities
- Forms
- Auras
- Outlines
- Effects
- Linked Items
This commit is contained in:
Kam committed 2026-03-06 05:20:11 -05:00
1 parent c11cd4a6bb
commit 0b1e4f9ed4
29 files changed
+4110 -279

No files matched your search

@@ -86,6 +86,15 @@ public class GuiNPCManageLinked extends GuiNPCInterface2 implements IScrollData,
int y = guiTop + 8;
// Fullscreen button - FIRST (only for Items tab)
if (tab == 1) {
GuiNpcButton fullBtn = new GuiNpcButton(66, guiLeft + 368, y, 45, 20, "gui.fullscreen");
fullBtn.setTextColor(0x55FF55);
fullBtn.setHoverText("gui.fullscreen.tooltip");
this.addButton(fullBtn);
y += 22;
}
this.addButton(new GuiNpcButton(10, guiLeft + 368, y, 45, 20, "gui.npcs"));
this.addButton(new GuiNpcButton(11, guiLeft + 368, y += 22, 45, 20, "gui.items"));
getButton(10).enabled = tab == 1;
@@ -216,6 +225,7 @@ public class GuiNPCManageLinked extends GuiNPCInterface2 implements IScrollData,
}
private List<String> getSearchList() {
if (data == null) return new ArrayList<String>();
if (search.isEmpty()) {
return new ArrayList<String>(this.data.keySet());
}
@@ -265,6 +275,11 @@ public class GuiNPCManageLinked extends GuiNPCInterface2 implements IScrollData,
scroll.setSelected("");
}
if (button.id == 66) {
mc.displayGuiScreen(new GuiLinkedItemDirectory(npc));
return;
}
if (linkedItem == null)
return;