Class CarvingMaskPlacementModifier

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

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

    • MODIFIER_CODEC

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

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

    • CarvingMaskPlacementModifier

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

    • of

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

      public Stream<BlockPos> getPositions(FeaturePlacementContext context, Random random, BlockPos pos)
      Applies this placement modifier to the given position.
      Specified by:
      getPositions in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      named getPositions Lnet/minecraft/world/gen/placementmodifier/PlacementModifier;getPositions(Lnet/minecraft/world/gen/feature/FeaturePlacementContext;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
      intermediary method_14452 Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      official a_ Leit;a_(Leir;Layv;Ljd;)Ljava/util/stream/Stream;
    • getType

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