Package net.minecraft.world.gen.feature
Class EndSpikeFeature
java.lang.Object
net.minecraft.world.gen.feature.Feature<EndSpikeFeatureConfig>
net.minecraft.world.gen.feature.EndSpikeFeature
public class EndSpikeFeature extends Feature<EndSpikeFeatureConfig>
- Mappings:
Namespace Name official cqgintermediary net/minecraft/class_3310named net/minecraft/world/gen/feature/EndSpikeFeature
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndSpikeFeature.Spike(package private) static classEndSpikeFeature.SpikeCache -
Field Summary
Fields Modifier and Type Field Description private static LoadingCache<Long,List<EndSpikeFeature.Spike>>CACHEFields inherited from class net.minecraft.world.gen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DECORATED, DELTA_FEATURE, DESERT_WELL, DISK, DRIPSTONE_CLUSTER, EMERALD_ORE, END_GATEWAY, END_ISLAND, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GEODE, GLOW_LICHEN, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, KELP, LAKE, LARGE_DRIPSTONE, MONSTER_ROOM, NETHER_FOREST_VEGETATION, NETHERRACK_REPLACE_BLOBS, NO_BONEMEAL_FLOWER, NO_OP, NO_SURFACE_ORE, ORE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SMALL_DRIPSTONE, SPRING_FEATURE, TREE, TWISTING_VINES, VINES, VOID_START_PLATFORM, WEEPING_VINES -
Constructor Summary
Constructors Constructor Description EndSpikeFeature(com.mojang.serialization.Codec<EndSpikeFeatureConfig> configCodec) -
Method Summary
Modifier and Type Method Description booleangenerate(FeatureContext<EndSpikeFeatureConfig> featureContext)private voidgenerateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike)static List<EndSpikeFeature.Spike>getSpikes(StructureWorldAccess world)
-
Field Details
-
CACHE
- Mappings:
Namespace Name Mixin selector official aLcqg;a:Lcom/google/common/cache/LoadingCache;intermediary field_14309Lnet/minecraft/class_3310;field_14309:Lcom/google/common/cache/LoadingCache;named CACHELnet/minecraft/world/gen/feature/EndSpikeFeature;CACHE:Lcom/google/common/cache/LoadingCache;
-
-
Constructor Details
-
EndSpikeFeature
- Mappings:
Namespace Name Mixin selector official <init>Lcoq;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getSpikes
- Mappings:
Namespace Name Mixin selector official aLcqg;a(Lbuq;)Ljava/util/List;intermediary method_14506Lnet/minecraft/class_3310;method_14506(Lnet/minecraft/class_5281;)Ljava/util/List;named getSpikesLnet/minecraft/world/gen/feature/EndSpikeFeature;getSpikes(Lnet/minecraft/world/StructureWorldAccess;)Ljava/util/List;
-
generate
- Specified by:
generatein classFeature<EndSpikeFeatureConfig>- Mappings:
Namespace Name Mixin selector official aLcoq;a(Lcor;)Zintermediary method_13151Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Znamed generateLnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
-
generateSpike
private void generateSpike(ServerWorldAccess world, Random random, EndSpikeFeatureConfig config, EndSpikeFeature.Spike spike)- Mappings:
Namespace Name Mixin selector official aLcqg;a(Lbuj;Ljava/util/Random;Lcsj;Lcqg$a;)Vintermediary method_15888Lnet/minecraft/class_3310;method_15888(Lnet/minecraft/class_5425;Ljava/util/Random;Lnet/minecraft/class_3666;Lnet/minecraft/class_3310$class_3181;)Vnamed generateSpikeLnet/minecraft/world/gen/feature/EndSpikeFeature;generateSpike(Lnet/minecraft/world/ServerWorldAccess;Ljava/util/Random;Lnet/minecraft/world/gen/feature/EndSpikeFeatureConfig;Lnet/minecraft/world/gen/feature/EndSpikeFeature$Spike;)V
-