Package net.minecraft.world.gen.feature
Class EndSpikeFeatureConfig
- java.lang.Object
-
- net.minecraft.world.gen.feature.EndSpikeFeatureConfig
-
- All Implemented Interfaces:
IFeatureConfig
public class EndSpikeFeatureConfig extends java.lang.Object implements IFeatureConfig
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<EndSpikeFeatureConfig>
CODEC
private BlockPos
crystalBeamTarget
private boolean
crystalInvulnerable
private java.util.List<EndSpikeFeature.EndSpike>
spikes
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Modifier Constructor Description private
EndSpikeFeatureConfig(boolean p_i232017_1_, java.util.List<EndSpikeFeature.EndSpike> p_i232017_2_, java.util.Optional<BlockPos> p_i232017_3_)
EndSpikeFeatureConfig(boolean p_i51433_1_, java.util.List<EndSpikeFeature.EndSpike> p_i51433_2_, BlockPos p_i51433_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockPos
getCrystalBeamTarget()
java.util.List<EndSpikeFeature.EndSpike>
getSpikes()
boolean
isCrystalInvulnerable()
-
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.gen.feature.IFeatureConfig
getFeatures
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<EndSpikeFeatureConfig> CODEC
-
crystalInvulnerable
private final boolean crystalInvulnerable
-
spikes
private final java.util.List<EndSpikeFeature.EndSpike> spikes
-
crystalBeamTarget
@Nullable private final BlockPos crystalBeamTarget
-
-
Constructor Detail
-
EndSpikeFeatureConfig
public EndSpikeFeatureConfig(boolean p_i51433_1_, java.util.List<EndSpikeFeature.EndSpike> p_i51433_2_, @Nullable BlockPos p_i51433_3_)
-
EndSpikeFeatureConfig
private EndSpikeFeatureConfig(boolean p_i232017_1_, java.util.List<EndSpikeFeature.EndSpike> p_i232017_2_, java.util.Optional<BlockPos> p_i232017_3_)
-
-
Method Detail
-
isCrystalInvulnerable
public boolean isCrystalInvulnerable()
-
getSpikes
public java.util.List<EndSpikeFeature.EndSpike> getSpikes()
-
getCrystalBeamTarget
@Nullable public BlockPos getCrystalBeamTarget()
-
-