类 AlUtil


  • @Environment(CLIENT)
    public class AlUtil
    extends Object
    Mappings:
    Namespace Name
    official dnm
    intermediary net/minecraft/class_4230
    named net/minecraft/client/sound/AlUtil
    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Ldnm;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_18915 Lnet/minecraft/class_4230;field_18915:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/client/sound/AlUtil;LOGGER:Lorg/apache/logging/log4j/Logger;
    • 构造器详细资料

      • AlUtil

        public AlUtil()
    • 方法详细资料

      • getErrorMessage

        private static String getErrorMessage​(int errorCode)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnm;a(I)Ljava/lang/String;
        intermediary method_19683 Lnet/minecraft/class_4230;method_19683(I)Ljava/lang/String;
        named getErrorMessage Lnet/minecraft/client/sound/AlUtil;getErrorMessage(I)Ljava/lang/String;
      • checkErrors

        static boolean checkErrors​(String sectionName)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnm;a(Ljava/lang/String;)Z
        intermediary method_19684 Lnet/minecraft/class_4230;method_19684(Ljava/lang/String;)Z
        named checkErrors Lnet/minecraft/client/sound/AlUtil;checkErrors(Ljava/lang/String;)Z
      • getAlcErrorMessage

        private static String getAlcErrorMessage​(int errorCode)
        Mappings:
        Namespace Name Mixin selector
        official b Ldnm;b(I)Ljava/lang/String;
        intermediary method_20052 Lnet/minecraft/class_4230;method_20052(I)Ljava/lang/String;
        named getAlcErrorMessage Lnet/minecraft/client/sound/AlUtil;getAlcErrorMessage(I)Ljava/lang/String;
      • checkAlcErrors

        static boolean checkAlcErrors​(long deviceHandle,
                                      String sectionName)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnm;a(JLjava/lang/String;)Z
        intermediary method_20051 Lnet/minecraft/class_4230;method_20051(JLjava/lang/String;)Z
        named checkAlcErrors Lnet/minecraft/client/sound/AlUtil;checkAlcErrors(JLjava/lang/String;)Z
      • getFormatId

        static int getFormatId​(AudioFormat format)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnm;a(Ljavax/sound/sampled/AudioFormat;)I
        intermediary method_19685 Lnet/minecraft/class_4230;method_19685(Ljavax/sound/sampled/AudioFormat;)I
        named getFormatId Lnet/minecraft/client/sound/AlUtil;getFormatId(Ljavax/sound/sampled/AudioFormat;)I