Class Sound

java.lang.Object
net.minecraft.client.audio.Sound
All Implemented Interfaces:
ISoundEventAccessor<Sound>

public class Sound extends Object implements ISoundEventAccessor<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_i49182_1_, float p_i49182_2_, float p_i49182_3_, int p_i49182_4_, Sound.Type p_i49182_5_, boolean p_i49182_6_, boolean p_i49182_7_, int p_i49182_8_)
  • Method Details