HUGE IScriptHandlerPacket merge.

All ScriptHandlers that send packets now directly define their data through the ScriptHandler class itself, NOT through their own GuiScript extended class.
This commit is contained in:
bigguy345 committed 2026-01-22 20:05:07 +02:00
1 parent 3f8373d76f
commit 50e9f1b3e5
18 files changed
+323 -443

No files matched your search

@@ -10,7 +10,6 @@ import net.minecraft.server.MinecraftServer;
import net.minecraft.util.StatCollector;
import noppes.npcs.NoppesStringUtils;
import noppes.npcs.client.NoppesUtil;
import noppes.npcs.client.gui.script.GuiNPCEventScripts;
import noppes.npcs.client.gui.script.GuiScriptInterface;
import noppes.npcs.client.gui.util.*;
import noppes.npcs.constants.ScriptContext;
@@ -270,7 +269,7 @@ public class GuiScript extends GuiScriptInterface {
}
if (guibutton.id == 16) {
close();
mc.displayGuiScreen(new GuiNPCEventScripts(npc));
GuiScriptInterface.open(this, new DataScript(npc));
}
if (guibutton.id == 17) {
close();