Package net.minecraft.structure.rule
Class AxisAlignedLinearPosRuleTest
java.lang.Object
net.minecraft.structure.rule.PosRuleTest
net.minecraft.structure.rule.AxisAlignedLinearPosRuleTest
public class AxisAlignedLinearPosRuleTest extends PosRuleTest
-
Field Summary
Fields Modifier and Type Field Description private Direction.Axis
axis
static com.mojang.serialization.Codec<AxisAlignedLinearPosRuleTest>
CODEC
private float
maxChance
private int
maxDistance
private float
minChance
private int
minDistance
Fields inherited from class net.minecraft.structure.rule.PosRuleTest
field_25007
-
Constructor Summary
Constructors Constructor Description AxisAlignedLinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance, Direction.Axis axis)
-
Method Summary
-
Field Details
-
CODEC
-
minChance
private final float minChance -
maxChance
private final float maxChance -
minDistance
private final int minDistance -
maxDistance
private final int maxDistance -
axis
-
-
Constructor Details
-
AxisAlignedLinearPosRuleTest
public AxisAlignedLinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance, Direction.Axis axis)
-
-
Method Details
-
test
- Specified by:
test
in classPosRuleTest
-
getType
- Specified by:
getType
in classPosRuleTest
-