Class LinearPosTest
java.lang.Object
net.minecraft.world.gen.feature.template.PosRuleTest
net.minecraft.world.gen.feature.template.LinearPosTest
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLinearPosTest
(float p_i232116_1_, float p_i232116_2_, int p_i232116_3_, int p_i232116_4_) -
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
-
-
Constructor Details
-
LinearPosTest
public LinearPosTest(float p_i232116_1_, float p_i232116_2_, int p_i232116_3_, int p_i232116_4_)
-
-
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
-