Uses of Class
net.minecraft.sound.MusicSound
Packages that use MusicSound
Package
Description
-
Uses of MusicSound in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen that return MusicSound -
Uses of MusicSound in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as MusicSoundModifier and TypeFieldDescriptionprivate final @Nullable MusicSound
MusicInstance.music
The field for themusic
record component.Methods in net.minecraft.client.sound that return MusicSoundModifier and TypeMethodDescriptionMusicInstance.music()
Returns the value of themusic
record component.Methods in net.minecraft.client.sound with parameters of type MusicSoundModifier and TypeMethodDescriptionboolean
MusicTracker.isPlayingType
(MusicSound type) void
MusicTracker.stop
(MusicSound type) Constructors in net.minecraft.client.sound with parameters of type MusicSoundModifierConstructorDescriptionMusicInstance
(@Nullable MusicSound musicSound, float float2) MusicInstance
(MusicSound music) -
Uses of MusicSound in net.minecraft.sound
Fields in net.minecraft.sound declared as MusicSoundModifier and TypeFieldDescriptionstatic final MusicSound
MusicType.CREATIVE
static final MusicSound
MusicType.CREDITS
static final MusicSound
MusicType.DRAGON
static final MusicSound
MusicType.END
static final MusicSound
MusicType.GAME
static final MusicSound
MusicType.MENU
static final MusicSound
MusicType.UNDERWATER
Fields in net.minecraft.sound with type parameters of type MusicSoundModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MusicSound> MusicSound.CODEC
Methods in net.minecraft.sound that return MusicSoundModifier and TypeMethodDescriptionstatic MusicSound
MusicType.createIngameMusic
(RegistryEntry<SoundEvent> sound) -
Uses of MusicSound in net.minecraft.world.biome
Fields in net.minecraft.world.biome declared as MusicSoundModifier and TypeFieldDescriptionprivate static final @Nullable MusicSound
OverworldBiomeCreator.DEFAULT_MUSIC
Fields in net.minecraft.world.biome with type parameters of type MusicSoundModifier and TypeFieldDescriptionprivate Optional
<DataPool<MusicSound>> BiomeEffects.Builder.music
private final Optional
<DataPool<MusicSound>> BiomeEffects.music
Methods in net.minecraft.world.biome that return types with arguments of type MusicSoundMethods in net.minecraft.world.biome with parameters of type MusicSoundModifier and TypeMethodDescriptionprivate static Biome
OverworldBiomeCreator.createBiome
(boolean precipitation, float temperature, float downfall, int waterColor, int waterFogColor, @Nullable Integer grassColor, @Nullable Integer foliageColor, SpawnSettings.Builder spawnSettings, GenerationSettings.LookupBackedBuilder generationSettings, @Nullable MusicSound music) private static Biome
OverworldBiomeCreator.createBiome
(boolean precipitation, float temperature, float downfall, SpawnSettings.Builder spawnSettings, GenerationSettings.LookupBackedBuilder generationSettings, @Nullable MusicSound music) private static Biome
OverworldBiomeCreator.createJungleFeatures
(RegistryEntryLookup<PlacedFeature> featureLookup, RegistryEntryLookup<ConfiguredCarver<?>> carverLookup, float depth, boolean bamboo, boolean sparse, boolean unmodified, SpawnSettings.Builder spawnSettings, MusicSound music) BiomeEffects.Builder.music
(@Nullable MusicSound music) Method parameters in net.minecraft.world.biome with type arguments of type MusicSound