mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 07:35:11 +00:00
Implemented animation GUI
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user