MusicBuilder
Builder for Music.
Functions
Sets the replaceCurrentMusic
setting of the music to the given replaceCurrentMusic.
Sets the soundEvent
setting of the music to the given soundEvent via a Holder that either already contains a SoundEvent, or is set later by the SoundEvent Registry.
Sets the soundEvent
setting of the music to the given soundEventId via its ResourceKey. If the SoundEvent is not yet registered, an empty Holder will be created and the SoundEvent will be set later by the SoundEvent Registry.
Sets the soundEvent
setting of the music to the given soundEventId via its ResourceLocation. If the SoundEvent is not yet registered, an empty Holder will be created and the SoundEvent will be set later by the SoundEvent Registry.
Sets the soundEvent
setting of the music to the given soundEvent.