Class Clipboard

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

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

    • GLFW_FORMAT_UNAVAILABLE

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

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

    • Clipboard

      public Clipboard()
  • Method Details

    • getClipboard

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

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

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