Class AmbientSounds.Builder
java.lang.Object
dev.wyck.wrapper.environment.sounds.AmbientSounds.Builder
- Enclosing interface:
AmbientSounds
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddition(AmbientAdditionsSettings... additions) Adds an ambient additions settings.build()Builds the ambient sounds.loop(@Nullable SoundEvent loop) Sets the loop sound event.mood(@Nullable AmbientMoodSettings mood) Sets the mood settings.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
loop
Sets the loop sound event.- Parameters:
loop- the loop sound event- Returns:
- this builder
- Since:
- 2.4.1
-
mood
Sets the mood settings.- Parameters:
mood- the mood settings- Returns:
- this builder
- Since:
- 2.4.1
-
addition
Adds an ambient additions settings.- Parameters:
additions- the ambient additions settings- Returns:
- this builder
- Since:
- 2.4.1
-
build
Builds the ambient sounds.- Returns:
- the ambient sounds
- Since:
- 2.4.1
-