Class SoundEvent

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

public class SoundEvent extends Object
Mappings:
Namespace Name
official aih
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 Laih;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 Laih;b:Lzo;
      intermediary field_14533 Lnet/minecraft/class_3414;field_14533:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/sound/SoundEvent;id:Lnet/minecraft/util/Identifier;
    • field_38690

      private final float field_38690
      Mappings:
      Namespace Name Mixin selector
      official c Laih;c:F
      intermediary field_38690 Lnet/minecraft/class_3414;field_38690:F
      named field_38690 Lnet/minecraft/sound/SoundEvent;field_38690:F
    • field_38691

      private final boolean field_38691
      Mappings:
      Namespace Name Mixin selector
      official d Laih;d:Z
      intermediary field_38691 Lnet/minecraft/class_3414;field_38691:Z
      named field_38691 Lnet/minecraft/sound/SoundEvent;field_38691:Z
  • Constructor Details

    • SoundEvent

      public SoundEvent(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laih;<init>(Lzo;)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
    • SoundEvent

      public SoundEvent(Identifier identifier, float float2)
    • SoundEvent

      private SoundEvent(Identifier identifier, float float2, boolean bool)
  • Method Details

    • getId

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

      public float method_43044(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Laih;a(F)F
      intermediary method_43044 Lnet/minecraft/class_3414;method_43044(F)F
      named method_43044 Lnet/minecraft/sound/SoundEvent;method_43044(F)F