Interface AmbientAdditionsSettings
- All Superinterfaces:
Wrapper
Wrapper for AmbientAdditionsSettings.
- Since:
- 2.4.1
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuilder for ambient additions settings records.Nested classes/interfaces inherited from interface Wrapper
Wrapper.Context<C> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new ambient additions settings record builder.static AmbientAdditionsSettingsof(SoundEvent soundEvent, double tickChance) Creates a new ambient additions settings record.The sound event to play.doubleThe chance of the sound event to play per tick.Methods inherited from interface Wrapper
asHandle, toMinecraft
-
Field Details
-
WIRE
-
-
Method Details
-
soundEvent
The sound event to play.- Returns:
- the sound event to play
- Since:
- 2.4.1
-
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
Creates a new ambient additions settings record.- Parameters:
soundEvent- the sound event to playtickChance- the chance of the sound event to play per tick- Returns:
- a new ambient additions settings record
- Since:
- 2.4.1
-
builder
Creates a new ambient additions settings record builder.- Returns:
- a new ambient additions settings record builder
- Since:
- 2.4.1
-