net.minecraft.world.level.levelgen.feature

public class SpikeFeature

extends Feature<SpikeConfiguration>

eig
net.minecraft.world.level.levelgen.feature.SpikeFeature
net.minecraft.class_3310
net.minecraft.world.gen.feature.EndSpikeFeature
net.minecraft.world.level.levelgen.feature.WorldGenEnder

Field summary

Modifier and TypeField
public static final int
a
NUMBER_OF_SPIKES
field_31516
COUNT
private static final int
b
SPIKE_DISTANCE
field_31517
DISTANCE_FROM_ORIGIN
private static final com.google.common.cache.LoadingCache<Long, List<SpikeFeature$EndSpike>>
c
SPIKE_CACHE
field_14309
CACHE

Constructor summary

ModifierConstructor
public (com.mojang.serialization.Codec<SpikeConfiguration> arg0)

Method summary

Modifier and TypeMethod
public static List<SpikeFeature$EndSpike>
a(dig arg0)
getSpikesForLevel(WorldGenLevel arg0)
method_14506(class_5281 arg0)
getSpikes(StructureWorldAccess world)
public boolean
a(egy<eju> arg0)
place(FeaturePlaceContext<SpikeConfiguration> arg0)
method_13151(class_5821<class_3666> arg0)
generate(FeatureContext<EndSpikeFeatureConfig> arg0)
private void
a(dhz arg0, bam arg1, eju arg2, eig$a arg3)
placeSpike(ServerLevelAccessor arg0, RandomSource arg1, SpikeConfiguration arg2, SpikeFeature$EndSpike arg3)
method_15888(class_5425 arg0, class_5819 arg1, class_3666 arg2, class_3310$class_3181 arg3)
generateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature$Spike spike)