Class AmbientMoodSettings.Builder
java.lang.Object
dev.wyck.wrapper.environment.sounds.AmbientMoodSettings.Builder
- Enclosing interface:
AmbientMoodSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockSearchExtent(int blockSearchExtent) Sets the block search extent of the ambient mood settings.build()Builds the ambient mood settings record.soundEvent(SoundEvent soundEvent) Sets the sound event of the ambient mood settings.soundPositionOffset(double soundPositionOffset) Sets the sound position offset of the ambient mood settings.tickDelay(int tickDelay) Sets the tick delay of the ambient mood settings.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
soundEvent
Sets the sound event of the ambient mood settings.- Parameters:
soundEvent- the sound event of the ambient mood settings- Returns:
- this builder
- Since:
- 2.4.1
-
tickDelay
Sets the tick delay of the ambient mood settings.- Parameters:
tickDelay- the tick delay of the ambient mood settings- Returns:
- this builder
- Since:
- 2.4.1
-
blockSearchExtent
Sets the block search extent of the ambient mood settings.- Parameters:
blockSearchExtent- the block search extent of the ambient mood settings- Returns:
- this builder
- Since:
- 2.4.1
-
soundPositionOffset
Sets the sound position offset of the ambient mood settings.- Parameters:
soundPositionOffset- the sound position offset of the ambient mood settings- Returns:
- this builder
- Since:
- 2.4.1
-
build
Builds the ambient mood settings record.- Returns:
- the ambient mood settings record
- Since:
- 2.4.1
-