Class EndSpikeFeature.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.EndSpikeFeature.Builder
- Enclosing interface:
EndSpikeFeature
Builder for
EndSpikeFeature.- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.crystalBeamTarget(@Nullable BlockVector crystalBeamTarget) Sets the block position the crystal beams target.crystalInvulnerable(boolean crystalInvulnerable) Sets whether the End crystals on top of the spikes are invulnerable.Adds one or more spikes to the configuration.Sets the configuration of each spike, replacing any existing spikes.
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
crystalInvulnerable
Sets whether the End crystals on top of the spikes are invulnerable.- Parameters:
crystalInvulnerable- whether the crystals are invulnerable- Returns:
- this builder
- Since:
- 3.0.0
-
spikes
Sets the configuration of each spike, replacing any existing spikes.- Parameters:
spikes- the spikes- Returns:
- this builder
- Since:
- 3.0.0
-
spike
Adds one or more spikes to the configuration.- Parameters:
spikes- the spikes to add- Returns:
- this builder
- Since:
- 3.0.0
-
crystalBeamTarget
@AsOf("3.0.0") public EndSpikeFeature.Builder crystalBeamTarget(@Nullable BlockVector crystalBeamTarget) Sets the block position the crystal beams target.- Parameters:
crystalBeamTarget- the crystal beam target, ornullto unset- Returns:
- this builder
- Since:
- 3.0.0
-
build
Builds the configuration.- Returns:
- the configuration
- Since:
- 3.0.0
-