public class EndSpikeFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<EndSpikeFeatureConfig> |
CODEC |
private BlockPos |
crystalBeamTarget |
private boolean |
crystalInvulnerable |
private List<EndSpikeFeature.Spike> |
spikes |
DEFAULT
Modifier | Constructor and Description |
---|---|
|
EndSpikeFeatureConfig(boolean crystalInvulnerable,
List<EndSpikeFeature.Spike> spikes,
BlockPos crystalBeamTarget) |
private |
EndSpikeFeatureConfig(boolean crystalInvulnerable,
List<EndSpikeFeature.Spike> spikes,
Optional<BlockPos> crystalBeamTarget) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getPos() |
List<EndSpikeFeature.Spike> |
getSpikes() |
boolean |
isCrystalInvulnerable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_30649
public static final com.mojang.serialization.Codec<EndSpikeFeatureConfig> CODEC
private final boolean crystalInvulnerable
private final List<EndSpikeFeature.Spike> spikes
public EndSpikeFeatureConfig(boolean crystalInvulnerable, List<EndSpikeFeature.Spike> spikes, @Nullable BlockPos crystalBeamTarget)
private EndSpikeFeatureConfig(boolean crystalInvulnerable, List<EndSpikeFeature.Spike> spikes, Optional<BlockPos> crystalBeamTarget)
public boolean isCrystalInvulnerable()
public List<EndSpikeFeature.Spike> getSpikes()