Interface AmbientAdditionsSettings

All Superinterfaces:
Wrapper

@NullMarked @AsOf("2.4.1") public interface AmbientAdditionsSettings extends Wrapper
Wrapper for AmbientAdditionsSettings.
Since:
2.4.1
  • Field Details

  • Method Details

    • soundEvent

      @AsOf("2.4.1") SoundEvent soundEvent()
      The sound event to play.
      Returns:
      the sound event to play
      Since:
      2.4.1
    • tickChance

      @AsOf("2.4.1") double tickChance()
      The chance of the sound event to play per tick.
      Returns:
      the chance of the sound event to play per tick
      Since:
      2.4.1
    • of

      @AsOf("2.4.1") static AmbientAdditionsSettings of(SoundEvent soundEvent, double tickChance)
      Creates a new ambient additions settings record.
      Parameters:
      soundEvent - the sound event to play
      tickChance - the chance of the sound event to play per tick
      Returns:
      a new ambient additions settings record
      Since:
      2.4.1
    • builder

      @AsOf("2.4.1") static AmbientAdditionsSettings.Builder builder()
      Creates a new ambient additions settings record builder.
      Returns:
      a new ambient additions settings record builder
      Since:
      2.4.1