Class AbstractConditionalPlacementModifier

java.lang.Object
net.minecraft.world.gen.decorator.PlacementModifier
net.minecraft.world.gen.decorator.AbstractConditionalPlacementModifier
Direct Known Subclasses:
BiomePlacementModifier, BlockFilterPlacementModifier, RarityFilterPlacementModifier, SurfaceThresholdFilterPlacementModifier, SurfaceWaterDepthFilterPlacementModifier

public abstract class AbstractConditionalPlacementModifier extends PlacementModifier
Mappings:
Namespace Name
official ddo
intermediary net/minecraft/class_6661
named net/minecraft/world/gen/decorator/AbstractConditionalPlacementModifier
  • Constructor Details

    • AbstractConditionalPlacementModifier

      public AbstractConditionalPlacementModifier()
  • Method Details

    • getPositions

      public final 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;
    • shouldPlace

      protected abstract boolean shouldPlace(DecoratorContext context, Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lddo;a(Lddn;Ljava/util/Random;Lgh;)Z
      intermediary method_38918 Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Z
      named shouldPlace Lnet/minecraft/world/gen/decorator/AbstractConditionalPlacementModifier;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z