net.minecraft.world.level.levelgen.placement

public class EnvironmentScanPlacement

extends PlacementModifier

epy
net.minecraft.world.level.levelgen.placement.EnvironmentScanPlacement
net.minecraft.class_6794
net.minecraft.unmapped.C_ajqdnxbt
net.minecraft.world.gen.placementmodifier.EnvironmentScanPlacementModifier
net.minecraft.world.gen.decorator.EnvironmentScanPlacementModifier

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static EnvironmentScanPlacement
a(ja arg0, ehn arg1, ehn 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)
m_dfoabtaq(C_xpuuihxf arg0, C_ahqyhrub arg1, C_ahqyhrub arg2, int arg3)
of(Direction direction, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps)
create(Direction searchDirection, BlockPredicate targetPredicate, BlockPredicate allowedSearchPredicate, int maxSteps)
public static EnvironmentScanPlacement
a(ja arg0, ehn arg1, int arg2)
scanningFor(Direction arg0, BlockPredicate arg1, int arg2)
method_39628(class_2350 arg0, class_6646 arg1, int arg2)
m_pykntcqq(C_xpuuihxf arg0, C_ahqyhrub arg1, int arg2)
of(Direction direction, BlockPredicate targetPredicate, int maxSteps)
create(Direction searchDirection, BlockPredicate targetPredicate, int maxSteps)
public Stream<BlockPos>
a_(eqg arg0, azv arg1, iu arg2)
getPositions(PlacementContext arg0, RandomSource arg1, BlockPos arg2)
method_14452(class_5444 arg0, class_5819 arg1, class_2338 arg2)
m_sopsmrsh(C_hszwdqtd arg0, C_rlomrsco arg1, C_hynzadkk arg2)
getPositions(FeaturePlacementContext arg0, Random arg1, BlockPos arg2)
getPositions(DecoratorContext arg0, RandomGenerator arg1, BlockPos arg2)
public PlacementModifierType<?>
b()
type()
method_39615()
m_plptrvlr()
getType()
getType()