Class AxisAlignedLinearPosTest
java.lang.Object
net.minecraft.world.gen.feature.template.PosRuleTest
net.minecraft.world.gen.feature.template.AxisAlignedLinearPosTest
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Direction.Axis
static final com.mojang.serialization.Codec<AxisAlignedLinearPosTest>
private final float
private final int
private final float
private final int
-
Constructor Summary
ConstructorDescriptionAxisAlignedLinearPosTest
(float p_i232114_1_, float p_i232114_2_, int p_i232114_3_, int p_i232114_4_, Direction.Axis p_i232114_5_) -
Method Summary
-
Field Details
-
CODEC
-
minChance
private final float minChance -
maxChance
private final float maxChance -
minDist
private final int minDist -
maxDist
private final int maxDist -
axis
-
-
Constructor Details
-
AxisAlignedLinearPosTest
public AxisAlignedLinearPosTest(float p_i232114_1_, float p_i232114_2_, int p_i232114_3_, int p_i232114_4_, Direction.Axis p_i232114_5_)
-
-
Method Details
-
test
public boolean test(BlockPos p_230385_1_, BlockPos p_230385_2_, BlockPos p_230385_3_, Random p_230385_4_) - Specified by:
test
in classPosRuleTest
-
getType
- Specified by:
getType
in classPosRuleTest
-