Modifier and Type | Interface and Description |
---|---|
static interface |
Ore.Builder
A builder for constructing
Ore populators. |
Modifier and Type | Method and Description |
---|---|
int |
getDepositSize()
Gets the size of deposit of ore.
|
int |
getDepositsPerChunk()
Gets the number of ore clumps to attempt to spawn per chunk, must be
greater than zero.
|
int |
getMaxHeight()
Gets the maximum height that the ore can generate at.
|
int |
getMinHeight()
Gets the minimum height that the ore can generate at.
|
BlockState |
getOreBlock()
Gets the block to place as ore.
|
void |
setDepositSize(int size)
Sets the size of deposit of ore.
|
void |
setDepositsPerChunk(int count)
Sets the number of ore clumps to attempt to spawn per chunk, must be
greater than zero.
|
void |
setMaxHeight(int max)
Sets the maximum height that the ore can generate at.
|
void |
setMinHeight(int min)
Sets the minimum height that the ore can generate at.
|
void |
setOreBlock(BlockState block)
Sets the block to place as ore.
|
BlockState getOreBlock()
void setOreBlock(BlockState block)
block
- The new ore blockint getDepositSize()
void setDepositSize(int size)
size
- The new deposit sizeint getDepositsPerChunk()
void setDepositsPerChunk(int count)
count
- The new number of clumps to spawnint getMinHeight()
void setMinHeight(int min)
min
- The new minimum heightint getMaxHeight()
void setMaxHeight(int max)
max
- The new maximum height