Class AxisAlignedLinearPosTest
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.PosRuleTest
net.minecraft.world.level.levelgen.structure.templatesystem.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_73970_, float p_73971_, int p_73972_, int p_73973_, Direction.Axis p_73974_) -
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_73970_, float p_73971_, int p_73972_, int p_73973_, Direction.Axis p_73974_)
-
-
Method Details
-
test
- Specified by:
test
in classPosRuleTest
-
getType
- Specified by:
getType
in classPosRuleTest
-