Interface BackgroundMusic
- All Superinterfaces:
Wrapper
Wraps a Minecraft BackgroundMusic.
- Since:
- 2.4.1
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder for creating background music records.Nested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BackgroundMusic.Builderbuilder()Creates a new background music record builder.Gets the creative music.Gets the default music.static BackgroundMusicCreates a new background music record.Gets the underwater music.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Field Details
-
WIRE
-
-
Method Details
-
defaultMusic
-
creativeMusic
-
underwaterMusic
-
of
@NullUnmarked @AsOf("2.4.1") static BackgroundMusic of(Music defaultMusic, Music creativeMusic, Music underwaterMusic) Creates a new background music record.- Parameters:
defaultMusic- the default musiccreativeMusic- the creative musicunderwaterMusic- the underwater music- Returns:
- a new background music record
- Since:
- 2.4.1
-
builder
Creates a new background music record builder.- Returns:
- a new background music record builder
- Since:
- 2.4.1
-