Class SoundEvent

java.lang.Object
net.minecraft.sounds.SoundEvent

public class SoundEvent extends Object
  • Field Details

    • CODEC

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

      private final ResourceLocation location
    • range

      private final float range
    • newSystem

      private final boolean newSystem
  • Constructor Details

  • Method Details

    • getLocation

      public ResourceLocation getLocation()
    • getRange

      public float getRange(float p_215669_)