Modifier and Type | Interface and Description |
---|---|
static interface |
EndIsland.Builder
A builder for constructing
EndIsland populators. |
Modifier and Type | Method and Description |
---|---|
static EndIsland.Builder |
builder()
Creates a new
EndIsland.Builder to build a EndIsland populator. |
int |
getExclusionRadius()
Gets the radius around the center (0, 0) of the world that this populator
will not apply to.
|
BlockState |
getIslandBlock()
Gets the block state that the island will be formed from.
|
VariableAmount |
getRadiusDecrement()
Gets the amount that the radius decreases for every downward step.
|
VariableAmount |
getStartingRadius()
Gets the initial starting radius range of the island.
|
void |
setExclusionRadius(int radius)
Sets the radius around the center (0, 0) of the world that this populator
will not apply to.
|
void |
setIslandBlock(BlockState state)
Sets the block state that the island will be formed from.
|
default void |
setRadiusDecrement(double decrement)
Sets the amount that the radius decreases for every downward step.
|
void |
setRadiusDecrement(VariableAmount decrement)
Sets the amount that the radius decreases for every downward step.
|
default void |
setStartingRadius(double radius)
Sets the initial starting radius of the island.
|
void |
setStartingRadius(VariableAmount radius)
Sets the initial starting radius range of the island.
|
static EndIsland.Builder builder()
EndIsland.Builder
to build a EndIsland
populator.VariableAmount getStartingRadius()
void setStartingRadius(VariableAmount radius)
radius
- The new initial starting radius rangedefault void setStartingRadius(double radius)
radius
- The new initial starting radiusVariableAmount getRadiusDecrement()
void setRadiusDecrement(VariableAmount decrement)
decrement
- The new radius decrement rangedefault void setRadiusDecrement(double decrement)
decrement
- The new radius decrementBlockState getIslandBlock()
void setIslandBlock(BlockState state)
state
- The new island block stateint getExclusionRadius()
This is used to prevent the islands from generating around the ender dragon fight area.
void setExclusionRadius(int radius)
This must be a positive value or zero.
radius
- The exclusion radius