public static interface Melon.Builder extends ResettableBuilder<Melon,Melon.Builder>
Melon populators.| Modifier and Type | Method and Description |
|---|---|
Melon |
build()
Builds a new instance of a
Melon populator with the settings
set within the builder. |
default Melon.Builder |
perChunk(int count)
Sets the number of melons to attempt to spawn per chunk.
|
Melon.Builder |
perChunk(VariableAmount count)
Sets the number of melons to attempt to spawn per chunk.
|
from, resetMelon.Builder perChunk(VariableAmount count)
count - The new amount to spawndefault Melon.Builder perChunk(int count)
count - The new amount to spawnMelon build() throws IllegalStateException
Melon populator with the settings
set within the builder.IllegalStateException - If there are any settings left unset
which do not have default values