net.minecraft.world.level.levelgen.placement

public class EnvironmentScanPlacement

extends PlacementModifier

enh
net.minecraft.world.level.levelgen.placement.EnvironmentScanPlacement
net.minecraft.class_6794
net.minecraft.world.gen.placementmodifier.EnvironmentScanPlacementModifier
net.minecraft.world.level.levelgen.placement.EnvironmentScanPlacement

Field summary

Modifier and TypeField
private final Direction
c
directionOfSearch
field_35721
direction
private final BlockPredicate
d
targetCondition
field_35722
targetPredicate
private final BlockPredicate
e
allowedSearchCondition
field_35723
allowedSearchPredicate
private final int
f
maxSteps
field_35724
maxSteps
public static final com.mojang.serialization.MapCodec<EnvironmentScanPlacement>
a
CODEC
field_35720
MODIFIER_CODEC

Constructor summary

ModifierConstructor
private (Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps)

Method summary

Modifier and TypeMethod
public static EnvironmentScanPlacement
a(jm arg0, eex arg1, eex arg2, int arg3)
scanningFor(Direction arg0, BlockPredicate arg1, BlockPredicate arg2, int arg3)
method_39629(class_2350 arg0, class_6646 arg1, class_6646 arg2, int arg3)
of(Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps)
public static EnvironmentScanPlacement
a(jm arg0, eex arg1, int arg2)
scanningFor(Direction arg0, BlockPredicate arg1, int arg2)
method_39628(class_2350 arg0, class_6646 arg1, int arg2)
of(Direction direction, BlockPredicate targetPredicate, int maxSteps)
public Stream<BlockPos>
a_(enp arg0, bam arg1, jh arg2)
getPositions(PlacementContext arg0, RandomSource arg1, BlockPos arg2)
method_14452(class_5444 arg0, class_5819 arg1, class_2338 arg2)
getPositions(FeaturePlacementContext arg0, Random arg1, BlockPos arg2)
public PlacementModifierType<?>
b()
type()
method_39615()
getType()