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 cqg
intermediary net/minecraft/class_3310
named net/minecraft/world/gen/feature/EndSpikeFeature
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EndSpikeFeature.Spike
(package private) static class
EndSpikeFeature.SpikeCache
-
Field Summary
Fields Modifier and Type Field Description private static LoadingCache<Long,List<EndSpikeFeature.Spike>>
CACHE
Fields 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 boolean
generate(FeatureContext<EndSpikeFeatureConfig> featureContext)
private void
generateSpike(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 a
Lcqg;a:Lcom/google/common/cache/LoadingCache;
intermediary field_14309
Lnet/minecraft/class_3310;field_14309:Lcom/google/common/cache/LoadingCache;
named CACHE
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
named <init>
Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
getSpikes
- Mappings:
Namespace Name Mixin selector official a
Lcqg;a(Lbuq;)Ljava/util/List;
intermediary method_14506
Lnet/minecraft/class_3310;method_14506(Lnet/minecraft/class_5281;)Ljava/util/List;
named getSpikes
Lnet/minecraft/world/gen/feature/EndSpikeFeature;getSpikes(Lnet/minecraft/world/StructureWorldAccess;)Ljava/util/List;
-
generate
- Specified by:
generate
in classFeature<EndSpikeFeatureConfig>
- Mappings:
Namespace Name Mixin selector official a
Lcoq;a(Lcor;)Z
intermediary method_13151
Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
named generate
Lnet/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 a
Lcqg;a(Lbuj;Ljava/util/Random;Lcsj;Lcqg$a;)V
intermediary method_15888
Lnet/minecraft/class_3310;method_15888(Lnet/minecraft/class_5425;Ljava/util/Random;Lnet/minecraft/class_3666;Lnet/minecraft/class_3310$class_3181;)V
named generateSpike
Lnet/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
-