Class EndSpikeConfiguration.Builder
java.lang.Object
dev.wyck.worldgen.feature.configurations.EndSpikeConfiguration.Builder
- Enclosing interface:
EndSpikeConfiguration
Builder for
EndSpikeConfiguration.- 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
@AsOf("3.0.0") public EndSpikeConfiguration.Builder crystalInvulnerable(boolean 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 EndSpikeConfiguration.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
-