Class Clipboard

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

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

    • GLFW_FORMAT_UNAVAILABLE

      public static final int GLFW_FORMAT_UNAVAILABLE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a:I
      intermediary field_31905 Lnet/minecraft/class_3674;field_31905:I
      named GLFW_FORMAT_UNAVAILABLE Lnet/minecraft/client/util/Clipboard;GLFW_FORMAT_UNAVAILABLE:I
    • clipboardBuffer

      private final ByteBuffer clipboardBuffer
      Mappings:
      Namespace Name Mixin selector
      official b Legk;b:Ljava/nio/ByteBuffer;
      intermediary field_16236 Lnet/minecraft/class_3674;field_16236:Ljava/nio/ByteBuffer;
      named clipboardBuffer Lnet/minecraft/client/util/Clipboard;clipboardBuffer:Ljava/nio/ByteBuffer;
  • Constructor Details

    • Clipboard

      public Clipboard()
  • Method Details

    • getClipboard

      public String getClipboard(long window, GLFWErrorCallbackI errorCallback)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(JLorg/lwjgl/glfw/GLFWErrorCallbackI;)Ljava/lang/String;
      intermediary method_15977 Lnet/minecraft/class_3674;method_15977(JLorg/lwjgl/glfw/GLFWErrorCallbackI;)Ljava/lang/String;
      named getClipboard Lnet/minecraft/client/util/Clipboard;getClipboard(JLorg/lwjgl/glfw/GLFWErrorCallbackI;)Ljava/lang/String;
    • setClipboard

      private static void setClipboard(long window, ByteBuffer clipboardBuffer, byte[] content)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(JLjava/nio/ByteBuffer;[B)V
      intermediary method_15978 Lnet/minecraft/class_3674;method_15978(JLjava/nio/ByteBuffer;[B)V
      named setClipboard Lnet/minecraft/client/util/Clipboard;setClipboard(JLjava/nio/ByteBuffer;[B)V
    • setClipboard

      public void setClipboard(long window, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Legk;a(JLjava/lang/String;)V
      intermediary method_15979 Lnet/minecraft/class_3674;method_15979(JLjava/lang/String;)V
      named setClipboard Lnet/minecraft/client/util/Clipboard;setClipboard(JLjava/lang/String;)V