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 gtg
  • 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 Lgtg;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 Lgtg;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 Lgtg;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 Lgtg;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> Lgtg;<init>(I)V
  • Method Details

    • addChannel

      public void addChannel(float data)
      Mappings:
      Namespace Name Mixin selector
      named addChannel Lnet/minecraft/client/sound/ChannelList;addChannel(F)V
      intermediary method_19680 Lnet/minecraft/class_4229;method_19680(F)V
      official accept Lgtg;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 Lgtg;a()Ljava/nio/ByteBuffer;
    • method_59756

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