Interface EndSpikeConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper

@NullMarked @AsOf("3.0.0") public interface EndSpikeConfiguration extends FeatureConfiguration
The pillars around the main end island that have crystals on top of them.
Since:
3.0.0
See Also:
  • Method Details

    • crystalInvulnerable

      @AsOf("3.0.0") boolean crystalInvulnerable()
      Whether the End crystals on top of the spikes are invulnerable.
      Returns:
      whether the crystals are invulnerable
      Since:
      3.0.0
    • spikes

      @AsOf("3.0.0") List<EndSpike> spikes()
      The configuration of each spike. If empty, the default random spikes are used.
      Returns:
      an immutable list of spikes
      Since:
      3.0.0
    • crystalBeamTarget

      @AsOf("3.0.0") @Nullable BlockVector crystalBeamTarget()
      The block position the crystal beams target, or null if unset.
      Returns:
      the crystal beam target, or null
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default EndSpikeConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static EndSpikeConfiguration of(boolean crystalInvulnerable, List<EndSpike> spikes, @Nullable BlockVector crystalBeamTarget)
      Creates a new end spike configuration.
      Parameters:
      crystalInvulnerable - whether the End crystals on top of the spikes are invulnerable
      spikes - the configuration of each spike
      crystalBeamTarget - the block position the crystal beams target, or null
      Returns:
      a new end spike configuration
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static EndSpikeConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0