Class Music

java.lang.Object
net.minecraft.sounds.Music

public class Music extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<Music> CODEC
    • event

      private final SoundEvent event
    • minDelay

      private final int minDelay
    • maxDelay

      private final int maxDelay
    • replaceCurrentMusic

      private final boolean replaceCurrentMusic
  • Constructor Details

    • Music

      public Music(SoundEvent p_11627_, int p_11628_, int p_11629_, boolean p_11630_)
  • Method Details

    • getEvent

      public SoundEvent getEvent()
    • getMinDelay

      public int getMinDelay()
    • getMaxDelay

      public int getMaxDelay()
    • replaceCurrentMusic

      public boolean replaceCurrentMusic()