Class AmbientMoodSettings.Builder

java.lang.Object
dev.wyck.wrapper.environment.sounds.AmbientMoodSettings.Builder
Enclosing interface:
AmbientMoodSettings

@AsOf("2.4.1") public static final class AmbientMoodSettings.Builder extends Object
Creates a new ambient mood settings record builder.
Since:
2.4.1
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • soundEvent

      @AsOf("2.4.1") public AmbientMoodSettings.Builder soundEvent(SoundEvent 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

      @AsOf("2.4.1") public AmbientMoodSettings.Builder tickDelay(int 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

      @AsOf("2.4.1") public AmbientMoodSettings.Builder blockSearchExtent(int 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

      @AsOf("2.4.1") public AmbientMoodSettings.Builder soundPositionOffset(double 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

      @AsOf("2.4.1") public AmbientMoodSettings build()
      Builds the ambient mood settings record.
      Returns:
      the ambient mood settings record
      Since:
      2.4.1