Class DripstoneHelper

java.lang.Object
net.minecraft.world.gen.feature.util.DripstoneHelper

public class DripstoneHelper extends Object
Mappings:
Namespace Name
official dkh
intermediary net/minecraft/class_5726
named net/minecraft/world/gen/feature/util/DripstoneHelper
  • Constructor Details

    • DripstoneHelper

      public DripstoneHelper()
  • Method Details

    • scaleHeightFromRadius

      protected static double scaleHeightFromRadius(double radius, double scale, double heightScale, double bluntness)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(DDDD)D
      intermediary method_33005 Lnet/minecraft/class_5726;method_33005(DDDD)D
      named scaleHeightFromRadius Lnet/minecraft/world/gen/feature/util/DripstoneHelper;scaleHeightFromRadius(DDDD)D
    • canGenerateBase

      protected static boolean canGenerateBase(StructureWorldAccess world, BlockPos pos, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(Lcne;Lgu;I)Z
      intermediary method_33009 Lnet/minecraft/class_5726;method_33009(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;I)Z
      named canGenerateBase Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canGenerateBase(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;I)Z
    • canGenerate

      protected static boolean canGenerate(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(Lcml;Lgu;)Z
      intermediary method_33006 Lnet/minecraft/class_5726;method_33006(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
      named canGenerate Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canGenerate(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • canGenerateOrLava

      protected static boolean canGenerateOrLava(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldkh;b(Lcml;Lgu;)Z
      intermediary method_33388 Lnet/minecraft/class_5726;method_33388(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
      named canGenerateOrLava Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canGenerateOrLava(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • getDripstoneThickness

      protected static void getDripstoneThickness(Direction direction, int height, boolean merge, Consumer<BlockState> callback)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(Lha;IZLjava/util/function/Consumer;)V
      intermediary method_33012 Lnet/minecraft/class_5726;method_33012(Lnet/minecraft/class_2350;IZLjava/util/function/Consumer;)V
      named getDripstoneThickness Lnet/minecraft/world/gen/feature/util/DripstoneHelper;getDripstoneThickness(Lnet/minecraft/util/math/Direction;IZLjava/util/function/Consumer;)V
    • generatePointedDripstone

      protected static void generatePointedDripstone(WorldAccess world, BlockPos pos, Direction direction, int height, boolean merge)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(Lcml;Lgu;Lha;IZ)V
      intermediary method_33010 Lnet/minecraft/class_5726;method_33010(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;IZ)V
      named generatePointedDripstone Lnet/minecraft/world/gen/feature/util/DripstoneHelper;generatePointedDripstone(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;IZ)V
    • generateDripstoneBlock

      protected static boolean generateDripstoneBlock(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Ldkh;c(Lcml;Lgu;)Z
      intermediary method_33008 Lnet/minecraft/class_5726;method_33008(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Z
      named generateDripstoneBlock Lnet/minecraft/world/gen/feature/util/DripstoneHelper;generateDripstoneBlock(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
    • getState

      private static BlockState getState(Direction direction, Thickness thickness)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(Lha;Ldcv;)Ldby;
      intermediary method_33013 Lnet/minecraft/class_5726;method_33013(Lnet/minecraft/class_2350;Lnet/minecraft/class_5691;)Lnet/minecraft/class_2680;
      named getState Lnet/minecraft/world/gen/feature/util/DripstoneHelper;getState(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/enums/Thickness;)Lnet/minecraft/block/BlockState;
    • canReplaceOrLava

      public static boolean canReplaceOrLava(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Ldkh;a(Ldby;)Z
      intermediary method_33387 Lnet/minecraft/class_5726;method_33387(Lnet/minecraft/class_2680;)Z
      named canReplaceOrLava Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canReplaceOrLava(Lnet/minecraft/block/BlockState;)Z
    • canReplace

      public static boolean canReplace(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official b Ldkh;b(Ldby;)Z
      intermediary method_33011 Lnet/minecraft/class_5726;method_33011(Lnet/minecraft/class_2680;)Z
      named canReplace Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canReplace(Lnet/minecraft/block/BlockState;)Z
    • canGenerate

      public static boolean canGenerate(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official c Ldkh;c(Ldby;)Z
      intermediary method_33014 Lnet/minecraft/class_5726;method_33014(Lnet/minecraft/class_2680;)Z
      named canGenerate Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canGenerate(Lnet/minecraft/block/BlockState;)Z
    • cannotGenerate

      public static boolean cannotGenerate(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official d Ldkh;d(Ldby;)Z
      intermediary method_40074 Lnet/minecraft/class_5726;method_40074(Lnet/minecraft/class_2680;)Z
      named cannotGenerate Lnet/minecraft/world/gen/feature/util/DripstoneHelper;cannotGenerate(Lnet/minecraft/block/BlockState;)Z
    • canGenerateOrLava

      public static boolean canGenerateOrLava(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official e Ldkh;e(Ldby;)Z
      intermediary method_33389 Lnet/minecraft/class_5726;method_33389(Lnet/minecraft/class_2680;)Z
      named canGenerateOrLava Lnet/minecraft/world/gen/feature/util/DripstoneHelper;canGenerateOrLava(Lnet/minecraft/block/BlockState;)Z