net.minecraft.world.level.levelgen.placement

public class EnvironmentScanPlacement

extends PlacementModifier

dka
net.minecraft.world.level.levelgen.placement.EnvironmentScanPlacement
net.minecraft.class_6794
net.minecraft.world.gen.placementmodifier.EnvironmentScanPlacementModifier
net.minecraft.src.C_183008_
net.minecraft.world.level.levelgen.placement.EnvironmentScanPlacement

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static EnvironmentScanPlacement
a(gy arg0, dbw arg1, dbw 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)
m_191657_(C_4687_ p_191658_, C_182966_ p_191659_, C_182966_ p_191660_, int p_191661_)
public static EnvironmentScanPlacement
a(gy arg0, dbw 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)
m_191653_(C_4687_ p_191654_, C_182966_ p_191655_, int p_191656_)
public Stream<BlockPos>
a_(dkh arg0, amn arg1, gt 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)
m_213676_(C_183015_ p_226337_, C_212974_ p_226338_, C_4675_ arg2)
public PlacementModifierType<?>
b()
type()
method_39615()
getType()
m_183327_()