Class ChannelList

java.lang.Object
net.minecraft.client.sound.ChannelList
All Implemented Interfaces:
FloatConsumer, Consumer<Float>, DoubleConsumer

@Environment(CLIENT) public class ChannelList extends Object implements FloatConsumer
Mappings:
Namespace Name
named net/minecraft/client/sound/ChannelList
intermediary net/minecraft/class_4229
official gtn
  • Field Details

    • buffers

      private final List<ByteBuffer> buffers
      Mappings:
      Namespace Name Mixin selector
      named buffers Lnet/minecraft/client/sound/ChannelList;buffers:Ljava/util/List;
      intermediary field_18911 Lnet/minecraft/class_4229;field_18911:Ljava/util/List;
      official a Lgtn;a:Ljava/util/List;
    • size

      private final int size
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/client/sound/ChannelList;size:I
      intermediary field_18912 Lnet/minecraft/class_4229;field_18912:I
      official b Lgtn;b:I
    • currentBufferSize

      private int currentBufferSize
      Mappings:
      Namespace Name Mixin selector
      named currentBufferSize Lnet/minecraft/client/sound/ChannelList;currentBufferSize:I
      intermediary field_18913 Lnet/minecraft/class_4229;field_18913:I
      official c Lgtn;c:I
    • buffer

      private ByteBuffer buffer
      Mappings:
      Namespace Name Mixin selector
      named buffer Lnet/minecraft/client/sound/ChannelList;buffer:Ljava/nio/ByteBuffer;
      intermediary field_18914 Lnet/minecraft/class_4229;field_18914:Ljava/nio/ByteBuffer;
      official d Lgtn;d:Ljava/nio/ByteBuffer;
  • Constructor Details

    • ChannelList

      public ChannelList(int size)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/sound/ChannelList;<init>(I)V
      intermediary <init> Lnet/minecraft/class_4229;<init>(I)V
      official <init> Lgtn;<init>(I)V
  • Method Details

    • accept

      public void accept(float value)
      Specified by:
      accept in interface FloatConsumer
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/client/sound/ChannelList;accept(F)V
      intermediary accept Lnet/minecraft/class_4229;accept(F)V
      official accept Lgtn;accept(F)V
    • getBuffer

      public ByteBuffer getBuffer()
      Mappings:
      Namespace Name Mixin selector
      named getBuffer Lnet/minecraft/client/sound/ChannelList;getBuffer()Ljava/nio/ByteBuffer;
      intermediary method_19679 Lnet/minecraft/class_4229;method_19679()Ljava/nio/ByteBuffer;
      official a Lgtn;a()Ljava/nio/ByteBuffer;
    • getCurrentBufferSize

      public int getCurrentBufferSize()
      Mappings:
      Namespace Name Mixin selector
      named getCurrentBufferSize Lnet/minecraft/client/sound/ChannelList;getCurrentBufferSize()I
      intermediary method_59756 Lnet/minecraft/class_4229;method_59756()I
      official b Lgtn;b()I