Class Clipboard

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

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

    • field_31905

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

      private final ByteBuffer clipboardBuffer
      Mappings:
      Namespace Name Mixin selector
      official b Ldpb;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 gLFWErrorCallbackI)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpb;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 Ldpb;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 Ldpb;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