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 dly
intermediary net/minecraft/class_3310
named net/minecraft/world/gen/feature/EndSpikeFeature
  • Field Details

    • COUNT

      public static final int COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldly;a:I
      intermediary field_31516 Lnet/minecraft/class_3310;field_31516:I
      named COUNT Lnet/minecraft/world/gen/feature/EndSpikeFeature;COUNT:I
    • DISTANCE_FROM_ORIGIN

      private static final int DISTANCE_FROM_ORIGIN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldly;b:I
      intermediary field_31517 Lnet/minecraft/class_3310;field_31517:I
      named DISTANCE_FROM_ORIGIN Lnet/minecraft/world/gen/feature/EndSpikeFeature;DISTANCE_FROM_ORIGIN:I
    • CACHE

      private static final LoadingCache<Long,List<EndSpikeFeature.Spike>> CACHE
      Mappings:
      Namespace Name Mixin selector
      official c Ldly;c: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

      public EndSpikeFeature(com.mojang.serialization.Codec<EndSpikeFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldko;<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

      public static List<EndSpikeFeature.Spike> getSpikes(StructureWorldAccess world)
      Mappings:
      Namespace Name Mixin selector
      official a Ldly;a(Lcng;)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

      public boolean generate(FeatureContext<EndSpikeFeatureConfig> context)
      Specified by:
      generate in class Feature<EndSpikeFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldko;a(Ldkq;)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 Ldly;a(Lcnb;Lapf;Ldnm;Ldly$a;)V
      intermediary method_15888 Lnet/minecraft/class_3310;method_15888(Lnet/minecraft/class_5425;Lnet/minecraft/class_5819;Lnet/minecraft/class_3666;Lnet/minecraft/class_3310$class_3181;)V
      named generateSpike Lnet/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;)V