Class MacWindowUtil

java.lang.Object
net.minecraft.client.util.MacWindowUtil

@Environment(CLIENT) public class MacWindowUtil extends Object
Mappings:
Namespace Name
official egb
intermediary net/minecraft/class_6417
named net/minecraft/client/util/MacWindowUtil
  • Field Details

    • FULLSCREEN_MASK

      private static final int FULLSCREEN_MASK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Legb;a:I
      intermediary field_34053 Lnet/minecraft/class_6417;field_34053:I
      named FULLSCREEN_MASK Lnet/minecraft/client/util/MacWindowUtil;FULLSCREEN_MASK:I
  • Constructor Details

    • MacWindowUtil

      public MacWindowUtil()
  • Method Details

    • toggleFullscreen

      public static void toggleFullscreen(long handle)
      Mappings:
      Namespace Name Mixin selector
      official a Legb;a(J)V
      intermediary method_37461 Lnet/minecraft/class_6417;method_37461(J)V
      named toggleFullscreen Lnet/minecraft/client/util/MacWindowUtil;toggleFullscreen(J)V
    • getCocoaWindow

      private static Optional<NSObject> getCocoaWindow(long handle)
      Mappings:
      Namespace Name Mixin selector
      official b Legb;b(J)Ljava/util/Optional;
      intermediary method_37463 Lnet/minecraft/class_6417;method_37463(J)Ljava/util/Optional;
      named getCocoaWindow Lnet/minecraft/client/util/MacWindowUtil;getCocoaWindow(J)Ljava/util/Optional;
    • isFullscreen

      private static boolean isFullscreen(NSObject handle)
      Mappings:
      Namespace Name Mixin selector
      official a Legb;a(Lca/weblite/objc/NSObject;)Z
      intermediary method_37462 Lnet/minecraft/class_6417;method_37462(Lca/weblite/objc/NSObject;)Z
      named isFullscreen Lnet/minecraft/client/util/MacWindowUtil;isFullscreen(Lca/weblite/objc/NSObject;)Z
    • toggleFullscreen

      private static void toggleFullscreen(NSObject handle)
      Mappings:
      Namespace Name Mixin selector
      official b Legb;b(Lca/weblite/objc/NSObject;)V
      intermediary method_37464 Lnet/minecraft/class_6417;method_37464(Lca/weblite/objc/NSObject;)V
      named toggleFullscreen Lnet/minecraft/client/util/MacWindowUtil;toggleFullscreen(Lca/weblite/objc/NSObject;)V
    • setApplicationIconImage

      public static void setApplicationIconImage(InputSupplier<InputStream> iconSupplier) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Legb;a(Lakz;)V
      intermediary method_41718 Lnet/minecraft/class_6417;method_41718(Lnet/minecraft/class_7367;)V
      named setApplicationIconImage Lnet/minecraft/client/util/MacWindowUtil;setApplicationIconImage(Lnet/minecraft/resource/InputSupplier;)V