Refactor all Gecko Internal support to CustomModel

This commit is contained in:
Kam committed 2023-11-16 17:46:12 -05:00
1 parent c67a8e43cb
commit ff49b1ffbd
11 files changed
+38 -111

No files matched your search

@@ -15,6 +15,9 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import noppes.npcs.client.Client;
import noppes.npcs.client.NoppesUtil;
import noppes.npcs.client.gui.model.custom.GuiCustomAnimFileSelection;
import noppes.npcs.client.gui.model.custom.GuiCustomAnimationSelection;
import noppes.npcs.client.gui.model.custom.GuiCustomModelSelection;
import noppes.npcs.client.gui.util.*;
import noppes.npcs.constants.EnumPacketServer;
import noppes.npcs.compat.PixelmonHelper;
@@ -325,15 +328,15 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol
}
if(button.id == 202){
NoppesUtil.openGUI(player, new GuiGeckoModelSelection(npc, this));
NoppesUtil.openGUI(player, new GuiCustomModelSelection(npc, this));
}
if(button.id == 203){
NoppesUtil.openGUI(player, new GuiGeckoAnimFileSelection(npc, this));
NoppesUtil.openGUI(player, new GuiCustomAnimFileSelection(npc, this));
}
if(button.id == 204){
NoppesUtil.openGUI(player, new GuiGeckoAnimationSelection(npc, this, (name)-> npc.display.idleAnim=name));
NoppesUtil.openGUI(player, new GuiCustomAnimationSelection(npc, this, (name)-> npc.display.idleAnim=name));
}
}