Class ConditionalDecorator
java.lang.Object
net.minecraft.class_6797
net.minecraft.world.gen.decorator.ConditionalDecorator
- Direct Known Subclasses:
BlockFilterDecoratorConfig,class_6792,class_6799,SurfaceRelativeThresholdDecoratorConfig,WaterDepthThresholdDecoratorConfig
- Mappings:
Namespace Name official ddointermediary net/minecraft/class_6661named net/minecraft/world/gen/decorator/ConditionalDecorator
-
Field Summary
Fields inherited from class net.minecraft.class_6797
field_35736 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPositions(DecoratorContext decoratorContext, Random random, BlockPos blockPos) protected abstract booleanshouldPlace(DecoratorContext context, Random random, BlockPos blockPos) Methods inherited from class net.minecraft.class_6797
method_39615
-
Constructor Details
-
ConditionalDecorator
public ConditionalDecorator()
-
-
Method Details
-
getPositions
public final Stream<BlockPos> getPositions(DecoratorContext decoratorContext, Random random, BlockPos blockPos) - Specified by:
getPositionsin classclass_6797- Mappings:
Namespace Name Mixin selector official a_Lddp;a_(Lddn;Ljava/util/Random;Lgh;)Ljava/util/stream/Stream;intermediary method_14452Lnet/minecraft/class_6797;method_14452(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;named getPositionsLnet/minecraft/class_6797;getPositions(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
-
shouldPlace
- Mappings:
Namespace Name Mixin selector official aLddo;a(Lddn;Ljava/util/Random;Lgh;)Zintermediary method_38918Lnet/minecraft/class_6661;method_38918(Lnet/minecraft/class_5444;Ljava/util/Random;Lnet/minecraft/class_2338;)Znamed shouldPlaceLnet/minecraft/world/gen/decorator/ConditionalDecorator;shouldPlace(Lnet/minecraft/world/gen/decorator/DecoratorContext;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Z
-