Implemented animation GUI

This commit is contained in:
Luis C.M committed 2023-02-06 23:17:05 -06:00
1 parent 30d73f91cf
commit cfca59a48e
15 files changed
+818 -23

No files matched your search

@@ -247,6 +247,14 @@ public class ClientProxy extends CommonProxy {
else if (gui == EnumGuiType.ManageTags)
return new GuiNPCManageTags(npc);
else if (gui == EnumGuiType.ManageAnimations) {
EntityCustomNpc animNpc = new EntityCustomNpc(npc.worldObj);
animNpc.copyDataFrom(npc,true);
animNpc.display.showName = 1;
animNpc.display.showBossBar = 0;
return new GuiNPCManageAnimations(animNpc);
}
else if (gui == EnumGuiType.ManageLinked)
return new GuiNPCManageLinkedNpc(npc);