Class EndSpike.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.end.EndSpike.Builder
- Enclosing interface:
EndSpike
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the end spike.centerX(int centerX) Sets the X coordinate of the center of the spike.centerZ(int centerZ) Sets the Z coordinate of the center of the spike.guarded(boolean guarded) Sets whether an iron bar cage is generated around the crystal on top of the spike.height(int height) Sets the height of the spike.radius(int radius) Sets the radius of the spike.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
centerX
Sets the X coordinate of the center of the spike.- Parameters:
centerX- the center X coordinate- Returns:
- this builder
- Since:
- 3.0.0
-
centerZ
Sets the Z coordinate of the center of the spike.- Parameters:
centerZ- the center Z coordinate- Returns:
- this builder
- Since:
- 3.0.0
-
radius
Sets the radius of the spike.- Parameters:
radius- the radius- Returns:
- this builder
- Since:
- 3.0.0
-
height
Sets the height of the spike.- Parameters:
height- the height- Returns:
- this builder
- Since:
- 3.0.0
-
guarded
Sets whether an iron bar cage is generated around the crystal on top of the spike.- Parameters:
guarded- whether the crystal is guarded- Returns:
- this builder
- Since:
- 3.0.0
-
build
-