Package net.minecraft.structure.rule
Class LinearPosRuleTest
java.lang.Object
net.minecraft.structure.rule.PosRuleTest
net.minecraft.structure.rule.LinearPosRuleTest
- Mappings:
Namespace Name official dcd
intermediary net/minecraft/class_4993
named net/minecraft/structure/rule/LinearPosRuleTest
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<LinearPosRuleTest>
private float
private int
private float
private int
Fields inherited from class net.minecraft.structure.rule.PosRuleTest
field_25007
-
Constructor Summary
ConstructorDescriptionLinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance)
-
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldcd;a:Lcom/mojang/serialization/Codec;
intermediary field_25004
Lnet/minecraft/class_4993;field_25004:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/rule/LinearPosRuleTest;CODEC:Lcom/mojang/serialization/Codec;
-
minChance
private final float minChance- Mappings:
Namespace Name Mixin selector official b
Ldcd;b:F
intermediary field_23339
Lnet/minecraft/class_4993;field_23339:F
named minChance
Lnet/minecraft/structure/rule/LinearPosRuleTest;minChance:F
-
maxChance
private final float maxChance- Mappings:
Namespace Name Mixin selector official d
Ldcd;d:F
intermediary field_23340
Lnet/minecraft/class_4993;field_23340:F
named maxChance
Lnet/minecraft/structure/rule/LinearPosRuleTest;maxChance:F
-
minDistance
private final int minDistance- Mappings:
Namespace Name Mixin selector official e
Ldcd;e:I
intermediary field_23341
Lnet/minecraft/class_4993;field_23341:I
named minDistance
Lnet/minecraft/structure/rule/LinearPosRuleTest;minDistance:I
-
maxDistance
private final int maxDistance- Mappings:
Namespace Name Mixin selector official f
Ldcd;f:I
intermediary field_23342
Lnet/minecraft/class_4993;field_23342:I
named maxDistance
Lnet/minecraft/structure/rule/LinearPosRuleTest;maxDistance:I
-
-
Constructor Details
-
LinearPosRuleTest
public LinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance)- Mappings:
Namespace Name Mixin selector official <init>
Ldcd;<init>(FFII)V
intermediary <init>
Lnet/minecraft/class_4993;<init>(FFII)V
named <init>
Lnet/minecraft/structure/rule/LinearPosRuleTest;<init>(FFII)V
-
-
Method Details
-
test
- Specified by:
test
in classPosRuleTest
- Mappings:
Namespace Name Mixin selector official a
Ldcg;a(Lgg;Lgg;Lgg;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
Ldcg;a()Ldch;
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;
-