Class SpikeConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.SpikeConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SpikeConfiguration>
private final BlockPos
private final boolean
private final List<SpikeFeature.EndSpike>
Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ModifierConstructorDescriptionprivate
SpikeConfiguration
(boolean p_68109_, List<SpikeFeature.EndSpike> p_68110_, Optional<BlockPos> p_68111_) SpikeConfiguration
(boolean p_68105_, List<SpikeFeature.EndSpike> p_68106_, BlockPos p_68107_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
getFeatures
-
Field Details
-
CODEC
-
crystalInvulnerable
private final boolean crystalInvulnerable -
spikes
-
crystalBeamTarget
-
-
Constructor Details
-
SpikeConfiguration
public SpikeConfiguration(boolean p_68105_, List<SpikeFeature.EndSpike> p_68106_, @Nullable BlockPos p_68107_) -
SpikeConfiguration
private SpikeConfiguration(boolean p_68109_, List<SpikeFeature.EndSpike> p_68110_, Optional<BlockPos> p_68111_)
-
-
Method Details
-
isCrystalInvulnerable
public boolean isCrystalInvulnerable() -
getSpikes
-
getCrystalBeamTarget
-