java.lang.Object
net.minecraft.client.resources.sounds.Sound
All Implemented Interfaces:
Weighted<Sound>

public class Sound extends Object implements Weighted<Sound>
  • Field Details

    • location

      private final ResourceLocation location
    • volume

      private final float volume
    • pitch

      private final float pitch
    • weight

      private final int weight
    • type

      private final Sound.Type type
    • stream

      private final boolean stream
    • preload

      private final boolean preload
    • attenuationDistance

      private final int attenuationDistance
  • Constructor Details

    • Sound

      public Sound(String p_119779_, float p_119780_, float p_119781_, int p_119782_, Sound.Type p_119783_, boolean p_119784_, boolean p_119785_, int p_119786_)
  • Method Details