Class SoundEvent

java.lang.Object
net.minecraft.sound.SoundEvent

public class SoundEvent extends Object
Mappings:
Namespace Name
official ahj
intermediary net/minecraft/class_3414
named net/minecraft/sound/SoundEvent
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SoundEvent> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lahj;a:Lcom/mojang/serialization/Codec;
      intermediary field_24628 Lnet/minecraft/class_3414;field_24628:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/sound/SoundEvent;CODEC:Lcom/mojang/serialization/Codec;
    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official b Lahj;b:Lyt;
      intermediary field_14533 Lnet/minecraft/class_3414;field_14533:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/sound/SoundEvent;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • SoundEvent

      public SoundEvent(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahj;<init>(Lyt;)V
      intermediary <init> Lnet/minecraft/class_3414;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/sound/SoundEvent;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lahj;a()Lyt;
      intermediary method_14833 Lnet/minecraft/class_3414;method_14833()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/sound/SoundEvent;getId()Lnet/minecraft/util/Identifier;