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

@@ -588,6 +588,11 @@ public class ClientProxy extends CommonProxy {
return achievement.getDescription();
}
@Override
public boolean isGUIOpen(){
return Minecraft.getMinecraft().currentScreen != null;
}
public static class FontContainer {
private StringCache textFont = null;
public boolean useCustomFont = true;