net.minecraft.world.level.levelgen.feature

public class SpikeFeature

extends Feature<SpikeConfiguration>

dpg
net.minecraft.world.level.levelgen.feature.SpikeFeature
net.minecraft.class_3310
net.minecraft.world.gen.feature.EndSpikeFeature
net.minecraft.src.C_2295_
net.minecraft.world.level.levelgen.feature.WorldGenEnder

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static List<SpikeFeature$EndSpike>
a(cqp arg0)
getSpikesForLevel(WorldGenLevel arg0)
method_14506(class_5281 arg0)
getSpikes(StructureWorldAccess world)
m_66858_(C_1625_ p_66859_)
public boolean
a(dny<dqu> arg0)
place(FeaturePlaceContext<SpikeConfiguration> arg0)
method_13151(class_5821<class_3666> arg0)
generate(FeatureContext<EndSpikeFeatureConfig> arg0)
m_142674_(C_141361_<C_2362_> arg0)
private void
a(cqk arg0, asc arg1, dqu arg2, dpg$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)
m_225246_(C_1618_ p_225248_, C_212974_ p_225249_, C_2362_ p_225250_, C_2295_$C_2297_ arg3)