Class EndSpikeConfiguration.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.EndSpikeConfiguration.Builder
Enclosing interface:
EndSpikeConfiguration

@AsOf("3.0.0") public static final class EndSpikeConfiguration.Builder extends Object
Since:
3.0.0
  • Constructor Details

  • 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

      @AsOf("3.0.0") public EndSpikeConfiguration.Builder spikes(List<EndSpike> spikes)
      Sets the configuration of each spike, replacing any existing spikes.
      Parameters:
      spikes - the spikes
      Returns:
      this builder
      Since:
      3.0.0
    • spike

      @AsOf("3.0.0") public EndSpikeConfiguration.Builder spike(EndSpike... spikes)
      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, or null to unset
      Returns:
      this builder
      Since:
      3.0.0
    • build

      @AsOf("3.0.0") public EndSpikeConfiguration build()
      Builds the configuration.
      Returns:
      the configuration
      Since:
      3.0.0