Package net.minecraft.world.gen.feature
Class EndSpikeFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<EndSpikeFeatureConfig>
net.minecraft.world.gen.feature.EndSpikeFeature
- Mappings:
Namespace Name named net/minecraft/world/gen/feature/EndSpikeFeatureintermediary net/minecraft/class_3310official edo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LoadingCache<Long, List<EndSpikeFeature.Spike>> static final intprivate static final intFields inherited from class net.minecraft.world.gen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_COLUMN, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DELTA_FEATURE, DESERT_WELL, DISK, DRIPSTONE_CLUSTER, END_GATEWAY, END_ISLAND, END_PLATFORM, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GEODE, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, MULTIFACE_GROWTH, NETHER_FOREST_VEGETATION, NETHERRACK_REPLACE_BLOBS, NO_BONEMEAL_FLOWER, NO_OP, ORE, POINTED_DRIPSTONE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, REPLACE_SINGLE_BLOCK, ROOT_SYSTEM, SCATTERED_ORE, SCULK_PATCH, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING_FEATURE, TREE, TWISTING_VINES, UNDERWATER_MAGMA, VEGETATION_PATCH, VINES, VOID_START_PLATFORM, WATERLOGGED_VEGETATION_PATCH, WEEPING_VINES -
Constructor Summary
ConstructorsConstructorDescriptionEndSpikeFeature(com.mojang.serialization.Codec<EndSpikeFeatureConfig> configCodec) -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerate(FeatureContext<EndSpikeFeatureConfig> context) private voidgenerateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike) static List<EndSpikeFeature.Spike> getSpikes(StructureWorldAccess world) Methods inherited from class net.minecraft.world.gen.feature.Feature
generateIfValid, getCodec, isExposedToAir, isSoil, isSoil, isStone, markBlocksAboveForPostProcessing, notInBlockTagPredicate, setBlockState, setBlockStateIf, testAdjacentStates
-
Field Details
-
COUNT
public static final int COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named COUNTLnet/minecraft/world/gen/feature/EndSpikeFeature;COUNT:Iintermediary field_31516Lnet/minecraft/class_3310;field_31516:Iofficial aLedo;a:I
-
DISTANCE_FROM_ORIGIN
private static final int DISTANCE_FROM_ORIGIN- See Also:
- Mappings:
Namespace Name Mixin selector named DISTANCE_FROM_ORIGINLnet/minecraft/world/gen/feature/EndSpikeFeature;DISTANCE_FROM_ORIGIN:Iintermediary field_31517Lnet/minecraft/class_3310;field_31517:Iofficial bLedo;b:I
-
CACHE
- Mappings:
Namespace Name Mixin selector named CACHELnet/minecraft/world/gen/feature/EndSpikeFeature;CACHE:Lcom/google/common/cache/LoadingCache;intermediary field_14309Lnet/minecraft/class_3310;field_14309:Lcom/google/common/cache/LoadingCache;official cLedo;c:Lcom/google/common/cache/LoadingCache;
-
-
Constructor Details
-
EndSpikeFeature
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)Vofficial <init>Lece;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getSpikes
- Mappings:
Namespace Name Mixin selector named getSpikesLnet/minecraft/world/gen/feature/EndSpikeFeature;getSpikes(Lnet/minecraft/world/StructureWorldAccess;)Ljava/util/List;intermediary method_14506Lnet/minecraft/class_3310;method_14506(Lnet/minecraft/class_5281;)Ljava/util/List;official aLedo;a(Ldds;)Ljava/util/List;
-
generate
- Specified by:
generatein classFeature<EndSpikeFeatureConfig>- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Zintermediary method_13151Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Zofficial aLece;a(Lecg;)Z
-
generateSpike
private void generateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike) - Mappings:
Namespace Name Mixin selector named generateSpikeLnet/minecraft/world/gen/feature/EndSpikeFeature;generateSpike(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/feature/EndSpikeFeatureConfig;Lnet/minecraft/world/gen/feature/EndSpikeFeature$Spike;)Vintermediary method_15888Lnet/minecraft/class_3310;method_15888(Lnet/minecraft/class_5425;Lnet/minecraft/class_5819;Lnet/minecraft/class_3666;Lnet/minecraft/class_3310$class_3181;)Vofficial aLedo;a(Lddl;Layw;Lefc;Ledo$a;)V
-