Class CarvingMaskPlacementModifier

java.lang.Object
net.minecraft.world.gen.decorator.PlacementModifier
net.minecraft.world.gen.decorator.CarvingMaskPlacementModifier

public class CarvingMaskPlacementModifier extends PlacementModifier
Mappings:
Namespace Name
official ddc
intermediary net/minecraft/class_5851
named net/minecraft/world/gen/decorator/CarvingMaskPlacementModifier
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<CarvingMaskPlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lddc;a:Lcom/mojang/serialization/Codec;
      intermediary field_28934 Lnet/minecraft/class_5851;field_28934:Lcom/mojang/serialization/Codec;
      named MODIFIER_CODEC Lnet/minecraft/world/gen/decorator/CarvingMaskPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • step

      private final GenerationStep.Carver step
      Mappings:
      Namespace Name Mixin selector
      official c Lddc;c:Lcsq$a;
      intermediary field_28935 Lnet/minecraft/class_5851;field_28935:Lnet/minecraft/class_2893$class_2894;
      named step Lnet/minecraft/world/gen/decorator/CarvingMaskPlacementModifier;step:Lnet/minecraft/world/gen/GenerationStep$Carver;
  • Constructor Details

    • CarvingMaskPlacementModifier

      private CarvingMaskPlacementModifier(GenerationStep.Carver step)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddc;<init>(Lcsq$a;)V
      intermediary <init> Lnet/minecraft/class_5851;<init>(Lnet/minecraft/class_2893$class_2894;)V
      named <init> Lnet/minecraft/world/gen/decorator/CarvingMaskPlacementModifier;<init>(Lnet/minecraft/world/gen/GenerationStep$Carver;)V
  • Method Details

    • of

      Mappings:
      Namespace Name Mixin selector
      official a Lddc;a(Lcsq$a;)Lddc;
      intermediary method_39619 Lnet/minecraft/class_5851;method_39619(Lnet/minecraft/class_2893$class_2894;)Lnet/minecraft/class_5851;
      named of Lnet/minecraft/world/gen/decorator/CarvingMaskPlacementModifier;of(Lnet/minecraft/world/gen/GenerationStep$Carver;)Lnet/minecraft/world/gen/decorator/CarvingMaskPlacementModifier;
    • getPositions

      public Stream<BlockPos> getPositions(DecoratorContext context, Random random, BlockPos pos)
      Specified by:
      getPositions in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official a_ Lddp;a_(Lddn;Ljava/util/Random;Lgh;)Ljava/util/stream/Stream;
      intermediary method_14452 Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      named getPositions Lnet/minecraft/world/gen/decorator/PlacementModifier;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
    • getType

      public PlacementModifierType<?> getType()
      Specified by:
      getType in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official b Lddp;b()Lddq;
      intermediary method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
      named getType Lnet/minecraft/world/gen/decorator/PlacementModifier;getType()Lnet/minecraft/world/gen/decorator/PlacementModifierType;