Class GlAllocationUtils

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

@Environment(CLIENT) public class GlAllocationUtils extends Object
Mappings:
Namespace Name
official dpi
intermediary net/minecraft/class_311
named net/minecraft/client/util/GlAllocationUtils
  • Constructor Details

    • GlAllocationUtils

      public GlAllocationUtils()
  • Method Details

    • allocateByteBuffer

      public static ByteBuffer allocateByteBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official a Ldpi;a(I)Ljava/nio/ByteBuffer;
      intermediary method_1596 Lnet/minecraft/class_311;method_1596(I)Ljava/nio/ByteBuffer;
      named allocateByteBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateByteBuffer(I)Ljava/nio/ByteBuffer;
    • allocateShortBuffer

      public static ShortBuffer allocateShortBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official b Ldpi;b(I)Ljava/nio/ShortBuffer;
      intermediary method_35614 Lnet/minecraft/class_311;method_35614(I)Ljava/nio/ShortBuffer;
      named allocateShortBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateShortBuffer(I)Ljava/nio/ShortBuffer;
    • allocateCharBuffer

      public static CharBuffer allocateCharBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official c Ldpi;c(I)Ljava/nio/CharBuffer;
      intermediary method_35615 Lnet/minecraft/class_311;method_35615(I)Ljava/nio/CharBuffer;
      named allocateCharBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateCharBuffer(I)Ljava/nio/CharBuffer;
    • allocateIntBuffer

      public static IntBuffer allocateIntBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official d Ldpi;d(I)Ljava/nio/IntBuffer;
      intermediary method_35616 Lnet/minecraft/class_311;method_35616(I)Ljava/nio/IntBuffer;
      named allocateIntBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateIntBuffer(I)Ljava/nio/IntBuffer;
    • allocateLongBuffer

      public static LongBuffer allocateLongBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official e Ldpi;e(I)Ljava/nio/LongBuffer;
      intermediary method_35617 Lnet/minecraft/class_311;method_35617(I)Ljava/nio/LongBuffer;
      named allocateLongBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateLongBuffer(I)Ljava/nio/LongBuffer;
    • allocateFloatBuffer

      public static FloatBuffer allocateFloatBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official f Ldpi;f(I)Ljava/nio/FloatBuffer;
      intermediary method_35618 Lnet/minecraft/class_311;method_35618(I)Ljava/nio/FloatBuffer;
      named allocateFloatBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateFloatBuffer(I)Ljava/nio/FloatBuffer;
    • allocateDoubleBuffer

      public static DoubleBuffer allocateDoubleBuffer(int size)
      Mappings:
      Namespace Name Mixin selector
      official g Ldpi;g(I)Ljava/nio/DoubleBuffer;
      intermediary method_35619 Lnet/minecraft/class_311;method_35619(I)Ljava/nio/DoubleBuffer;
      named allocateDoubleBuffer Lnet/minecraft/client/util/GlAllocationUtils;allocateDoubleBuffer(I)Ljava/nio/DoubleBuffer;