Class IcebergFeature


public class IcebergFeature extends Feature<SingleStateFeatureConfig>
Mappings:
Namespace Name
named net/minecraft/world/gen/feature/IcebergFeature
intermediary net/minecraft/class_3074
official ecr
  • Constructor Details

    • IcebergFeature

      public IcebergFeature(com.mojang.serialization.Codec<SingleStateFeatureConfig> configCodec)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/feature/Feature;<init>(Lcom/mojang/serialization/Codec;)V
      intermediary <init> Lnet/minecraft/class_3031;<init>(Lcom/mojang/serialization/Codec;)V
      official <init> Lece;<init>(Lcom/mojang/serialization/Codec;)V
  • Method Details

    • generate

      public boolean generate(FeatureContext<SingleStateFeatureConfig> context)
      Specified by:
      generate in class Feature<SingleStateFeatureConfig>
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/world/gen/feature/Feature;generate(Lnet/minecraft/world/gen/feature/util/FeatureContext;)Z
      intermediary method_13151 Lnet/minecraft/class_3031;method_13151(Lnet/minecraft/class_5821;)Z
      official a Lece;a(Lecg;)Z
    • method_13428

      private void method_13428(Random random, WorldAccess world, int int2, int int3, BlockPos pos, boolean bool, int int4, double double2, int int5)
      Mappings:
      Namespace Name Mixin selector
      named method_13428 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13428(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/WorldAccess;IILnet/minecraft/util/math/BlockPos;ZIDI)V
      intermediary method_13428 Lnet/minecraft/class_3074;method_13428(Lnet/minecraft/class_5819;Lnet/minecraft/class_1936;IILnet/minecraft/class_2338;ZIDI)V
      official a Lecr;a(Layw;Ldcx;IILjd;ZIDI)V
    • method_13415

      private void method_13415(int int2, int y, BlockPos pos, WorldAccess world, boolean placeWater, double double2, BlockPos blockPos, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      named method_13415 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13415(IILnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldAccess;ZDLnet/minecraft/util/math/BlockPos;II)V
      intermediary method_13415 Lnet/minecraft/class_3074;method_13415(IILnet/minecraft/class_2338;Lnet/minecraft/class_1936;ZDLnet/minecraft/class_2338;II)V
      official a Lecr;a(IILjd;Ldcx;ZDLjd;II)V
    • clearSnowAbove

      private void clearSnowAbove(WorldAccess world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named clearSnowAbove Lnet/minecraft/world/gen/feature/IcebergFeature;clearSnowAbove(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_13422 Lnet/minecraft/class_3074;method_13422(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
      official a Lecr;a(Ldcx;Ljd;)V
    • placeAt

      private void placeAt(WorldAccess world, Random random, BlockPos pos, int height, int offsetX, int offsetY, int offsetZ, int int2, int int3, boolean bool, int int4, double randomSine, boolean placeSnow, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named placeAt Lnet/minecraft/world/gen/feature/IcebergFeature;placeAt(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;IIIIIIZIDZLnet/minecraft/block/BlockState;)V
      intermediary method_13426 Lnet/minecraft/class_3074;method_13426(Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;IIIIIIZIDZLnet/minecraft/class_2680;)V
      official a Lecr;a(Ldcx;Layw;Ljd;IIIIIIZIDZLdtc;)V
    • placeBlockOrSnow

      private void placeBlockOrSnow(BlockPos pos, WorldAccess world, Random random, int heightRemaining, int height, boolean lessSnow, boolean placeSnow, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named placeBlockOrSnow Lnet/minecraft/world/gen/feature/IcebergFeature;placeBlockOrSnow(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/random/Random;IIZZLnet/minecraft/block/BlockState;)V
      intermediary method_13425 Lnet/minecraft/class_3074;method_13425(Lnet/minecraft/class_2338;Lnet/minecraft/class_1936;Lnet/minecraft/class_5819;IIZZLnet/minecraft/class_2680;)V
      official a Lecr;a(Ljd;Ldcx;Layw;IIZZLdtc;)V
    • decreaseValueNearTop

      private int decreaseValueNearTop(int y, int height, int value)
      Mappings:
      Namespace Name Mixin selector
      named decreaseValueNearTop Lnet/minecraft/world/gen/feature/IcebergFeature;decreaseValueNearTop(III)I
      intermediary method_13416 Lnet/minecraft/class_3074;method_13416(III)I
      official a Lecr;a(III)I
    • method_13421

      private double method_13421(int x, int z, BlockPos pos, int int2, Random random)
      Mappings:
      Namespace Name Mixin selector
      named method_13421 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13421(IILnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/math/random/Random;)D
      intermediary method_13421 Lnet/minecraft/class_3074;method_13421(IILnet/minecraft/class_2338;ILnet/minecraft/class_5819;)D
      official a Lecr;a(IILjd;ILayw;)D
    • getDistance

      private double getDistance(int x, int z, BlockPos pos, int divisor1, int divisor2, double randomSine)
      Mappings:
      Namespace Name Mixin selector
      named getDistance Lnet/minecraft/world/gen/feature/IcebergFeature;getDistance(IILnet/minecraft/util/math/BlockPos;IID)D
      intermediary method_13424 Lnet/minecraft/class_3074;method_13424(IILnet/minecraft/class_2338;IID)D
      official a Lecr;a(IILjd;IID)D
    • method_13419

      private int method_13419(Random random, int y, int height, int factor)
      Mappings:
      Namespace Name Mixin selector
      named method_13419 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13419(Lnet/minecraft/util/math/random/Random;III)I
      intermediary method_13419 Lnet/minecraft/class_3074;method_13419(Lnet/minecraft/class_5819;III)I
      official a Lecr;a(Layw;III)I
    • method_13417

      private int method_13417(int y, int height, int factor)
      Mappings:
      Namespace Name Mixin selector
      named method_13417 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13417(III)I
      intermediary method_13417 Lnet/minecraft/class_3074;method_13417(III)I
      official b Lecr;b(III)I
    • method_13427

      private int method_13427(Random random, int y, int height, int factor)
      Mappings:
      Namespace Name Mixin selector
      named method_13427 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13427(Lnet/minecraft/util/math/random/Random;III)I
      intermediary method_13427 Lnet/minecraft/class_3074;method_13427(Lnet/minecraft/class_5819;III)I
      official b Lecr;b(Layw;III)I
    • isSnowOrIce

      private static boolean isSnowOrIce(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named isSnowOrIce Lnet/minecraft/world/gen/feature/IcebergFeature;isSnowOrIce(Lnet/minecraft/block/BlockState;)Z
      intermediary method_13420 Lnet/minecraft/class_3074;method_13420(Lnet/minecraft/class_2680;)Z
      official c Lecr;c(Ldtc;)Z
    • isAirBelow

      private boolean isAirBelow(BlockView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isAirBelow Lnet/minecraft/world/gen/feature/IcebergFeature;isAirBelow(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_13414 Lnet/minecraft/class_3074;method_13414(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      official a Lecr;a(Ldcc;Ljd;)Z
    • method_13418

      private void method_13418(WorldAccess world, BlockPos pos, int int2, int height, boolean bool, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_13418 Lnet/minecraft/world/gen/feature/IcebergFeature;method_13418(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;IIZI)V
      intermediary method_13418 Lnet/minecraft/class_3074;method_13418(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;IIZI)V
      official a Lecr;a(Ldcx;Ljd;IIZI)V