Modifier and Type | Interface and Description |
---|---|
static interface |
Dungeon.Builder
A builder for constructing
Dungeon populators. |
Modifier and Type | Method and Description |
---|---|
int |
getAttemptsPerChunk()
Gets the number of attempts at randomly spawning a generator per chunk.
|
WeightedCollection<WeightedItem> |
getPossibleContents()
Gets a mutable List of possible contents of the chests.
|
MobSpawnerData |
getSpawnerData()
Gets the
MobSpawnerData which represents the MobSpawner which
will be created within the dungeon. |
int |
itemCount()
Gets the number of items which will spawn per chest.
|
void |
setAttemptsPerChunk(int attempts)
Sets the number of attempts at randomly spawning a generator per chunk.
|
void |
setItemCount(int count)
Sets the number of items which will spawn per chest.
|
int getAttemptsPerChunk()
void setAttemptsPerChunk(int attempts)
attempts
- The new number of attemptsMobSpawnerData getSpawnerData()
MobSpawnerData
which represents the MobSpawner which
will be created within the dungeon.WeightedCollection<WeightedItem> getPossibleContents()
int itemCount()
void setItemCount(int count)
count
- The new item count