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
official dqm
intermediary net/minecraft/class_5851
named net/minecraft/world/gen/placementmodifier/CarvingMaskPlacementModifier
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<CarvingMaskPlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldqm;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/placementmodifier/CarvingMaskPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • step

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

    • CarvingMaskPlacementModifier

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

    • of

      Mappings:
      Namespace Name Mixin selector
      official a Ldqm;a(Ldgy$a;)Ldqm;
      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/placementmodifier/CarvingMaskPlacementModifier;of(Lnet/minecraft/world/gen/GenerationStep$Carver;)Lnet/minecraft/world/gen/placementmodifier/CarvingMaskPlacementModifier;
    • 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
      official a_ Ldqz;a_(Ldqx;Lapd;Lgu;)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;
      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;
    • getType

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