Interface EndSpikeConfiguration
- All Superinterfaces:
FeatureConfiguration, Wrapper
The pillars around the main end island that have crystals on top of them.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface FeatureConfiguration
NONE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder.The block position the crystal beams target, ornullif unset.booleanWhether the End crystals on top of the spikes are invulnerable.static EndSpikeConfigurationof(boolean crystalInvulnerable, List<EndSpike> spikes, @Nullable BlockVector crystalBeamTarget) Creates a new end spike configuration.spikes()The configuration of each spike.default EndSpikeConfiguration.BuilderConverts this object back to a builder.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
crystalInvulnerable
Whether the End crystals on top of the spikes are invulnerable.- Returns:
- whether the crystals are invulnerable
- Since:
- 3.0.0
-
spikes
-
crystalBeamTarget
The block position the crystal beams target, ornullif unset.- Returns:
- the crystal beam target, or
null - Since:
- 3.0.0
-
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 invulnerablespikes- the configuration of each spikecrystalBeamTarget- the block position the crystal beams target, ornull- Returns:
- a new end spike configuration
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-