Class SoundEvent

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

public class SoundEvent extends Object
Mappings:
Namespace Name
official afd
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 Lafd;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 Lafd;b:Lww;
      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> Lafd;<init>(Lww;)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 Lafd;a()Lww;
      intermediary method_14833 Lnet/minecraft/class_3414;method_14833()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/sound/SoundEvent;getId()Lnet/minecraft/util/Identifier;