Added isGUIOpen() function, and setPosition function with a dimensionId parameter to ScriptPlayer.

This commit is contained in:
luisc committed 2021-11-16 10:41:04 -06:00
1 parent 27b88c1fce
commit 0d807b36d9
13 files changed
+84 -17

No files matched your search

@@ -254,8 +254,10 @@ public class PacketHandlerClient extends PacketHandlerServer{
player.addChatMessage(new ChatComponentTranslation("Current font is %s", ClientProxy.Font.getName()));
}
}
else if(type == EnumPacketClient.ISGUIOPEN){
boolean isGUIOpen = Minecraft.getMinecraft().currentScreen != null;
NoppesUtil.isGUIOpen(isGUIOpen);
}
}
}