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
- Mappings:
Namespace Name official cxo
intermediary net/minecraft/class_4992
named net/minecraft/structure/rule/AxisAlignedLinearPosRuleTest
-
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
- Mappings:
Namespace Name Mixin selector official a
Lcxo;a:Lcom/mojang/serialization/Codec;
intermediary field_24995
Lnet/minecraft/class_4992;field_24995:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;CODEC:Lcom/mojang/serialization/Codec;
-
minChance
private final float minChance- Mappings:
Namespace Name Mixin selector official b
Lcxo;b:F
intermediary field_23334
Lnet/minecraft/class_4992;field_23334:F
named minChance
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;minChance:F
-
maxChance
private final float maxChance- Mappings:
Namespace Name Mixin selector official d
Lcxo;d:F
intermediary field_23335
Lnet/minecraft/class_4992;field_23335:F
named maxChance
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;maxChance:F
-
minDistance
private final int minDistance- Mappings:
Namespace Name Mixin selector official e
Lcxo;e:I
intermediary field_23336
Lnet/minecraft/class_4992;field_23336:I
named minDistance
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;minDistance:I
-
maxDistance
private final int maxDistance- Mappings:
Namespace Name Mixin selector official f
Lcxo;f:I
intermediary field_23337
Lnet/minecraft/class_4992;field_23337:I
named maxDistance
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;maxDistance:I
-
axis
- Mappings:
Namespace Name Mixin selector official g
Lcxo;g:Lgc$a;
intermediary field_23338
Lnet/minecraft/class_4992;field_23338:Lnet/minecraft/class_2350$class_2351;
named axis
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;axis:Lnet/minecraft/util/math/Direction$Axis;
-
-
Constructor Details
-
AxisAlignedLinearPosRuleTest
public AxisAlignedLinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance, Direction.Axis axis)- Mappings:
Namespace Name Mixin selector official <init>
Lcxo;<init>(FFIILgc$a;)V
intermediary <init>
Lnet/minecraft/class_4992;<init>(FFIILnet/minecraft/class_2350$class_2351;)V
named <init>
Lnet/minecraft/structure/rule/AxisAlignedLinearPosRuleTest;<init>(FFIILnet/minecraft/util/math/Direction$Axis;)V
-
-
Method Details
-
test
- Specified by:
test
in classPosRuleTest
- Mappings:
Namespace Name Mixin selector official a
Lcyb;a(Lfx;Lfx;Lfx;Ljava/util/Random;)Z
intermediary method_26406
Lnet/minecraft/class_4995;method_26406(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
named test
Lnet/minecraft/structure/rule/PosRuleTest;test(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
getType
- Specified by:
getType
in classPosRuleTest
- Mappings:
Namespace Name Mixin selector official a
Lcyb;a()Lcyc;
intermediary method_26404
Lnet/minecraft/class_4995;method_26404()Lnet/minecraft/class_4996;
named getType
Lnet/minecraft/structure/rule/PosRuleTest;getType()Lnet/minecraft/structure/rule/PosRuleTestType;
-