Class Sound

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

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

    • SOUND_LISTER

      public static final FileToIdConverter SOUND_LISTER
    • location

      private final Identifier location
    • volume

      private final SampledFloat volume
    • pitch

      private final SampledFloat 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

  • Method Details