Class SoundEvent

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

public class SoundEvent
extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SoundEvent> CODEC
    • id

      private final Identifier id
  • Constructor Details

    • SoundEvent

      public SoundEvent​(Identifier id)
  • Method Details

    • getId

      @Environment(CLIENT) public Identifier getId()