Class SmallDripstoneFeature

java.lang.Object
net.minecraft.world.gen.feature.Feature<SmallDripstoneFeatureConfig>
net.minecraft.world.gen.feature.SmallDripstoneFeature

public class SmallDripstoneFeature extends Feature<SmallDripstoneFeatureConfig>
Mappings:
Namespace Name
official ddr
intermediary net/minecraft/class_5730
named net/minecraft/world/gen/feature/SmallDripstoneFeature
  • Constructor Details

    • SmallDripstoneFeature

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

    • generate

      public boolean generate(FeatureContext<SmallDripstoneFeatureConfig> context)
      Specified by:
      generate in class Feature<SmallDripstoneFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      official a Ldcv;a(Ldcx;)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
    • getDirection

      private static Optional<Direction> getDirection(WorldAccess world, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lddr;a(Lcgb;Lgt;Lalu;)Ljava/util/Optional;
      intermediary method_39175 Lnet/minecraft/class_5730;method_39175(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Ljava/util/Optional;
      named getDirection Lnet/minecraft/world/gen/feature/SmallDripstoneFeature;getDirection(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;
    • generateDripstoneBlocks

      private static void generateDripstoneBlocks(WorldAccess world, Random random, BlockPos pos, SmallDripstoneFeatureConfig config)
      Mappings:
      Namespace Name Mixin selector
      official a Lddr;a(Lcgb;Lalu;Lgt;Ldfi;)V
      intermediary method_33034 Lnet/minecraft/class_5730;method_33034(Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_5733;)V
      named generateDripstoneBlocks Lnet/minecraft/world/gen/feature/SmallDripstoneFeature;generateDripstoneBlocks(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/gen/feature/SmallDripstoneFeatureConfig;)V