Package net.minecraft.structure.rule
Class LinearPosRuleTest
java.lang.Object
net.minecraft.structure.rule.PosRuleTest
net.minecraft.structure.rule.LinearPosRuleTest
- Mappings:
Namespace Name named net/minecraft/structure/rule/LinearPosRuleTest
intermediary net/minecraft/class_4993
official enc
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<LinearPosRuleTest> private final float
private final int
private final float
private final int
Fields inherited from class net.minecraft.structure.rule.PosRuleTest
BASE_CODEC
-
Constructor Summary
ConstructorDescriptionLinearPosRuleTest
(float minChance, float maxChance, int minDistance, int maxDistance) -
Method Summary
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/structure/rule/LinearPosRuleTest;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_25004
Lnet/minecraft/class_4993;field_25004:Lcom/mojang/serialization/MapCodec;
official a
Lenc;a:Lcom/mojang/serialization/MapCodec;
-
minChance
private final float minChance- Mappings:
Namespace Name Mixin selector named minChance
Lnet/minecraft/structure/rule/LinearPosRuleTest;minChance:F
intermediary field_23339
Lnet/minecraft/class_4993;field_23339:F
official b
Lenc;b:F
-
maxChance
private final float maxChance- Mappings:
Namespace Name Mixin selector named maxChance
Lnet/minecraft/structure/rule/LinearPosRuleTest;maxChance:F
intermediary field_23340
Lnet/minecraft/class_4993;field_23340:F
official d
Lenc;d:F
-
minDistance
private final int minDistance- Mappings:
Namespace Name Mixin selector named minDistance
Lnet/minecraft/structure/rule/LinearPosRuleTest;minDistance:I
intermediary field_23341
Lnet/minecraft/class_4993;field_23341:I
official e
Lenc;e:I
-
maxDistance
private final int maxDistance- Mappings:
Namespace Name Mixin selector named maxDistance
Lnet/minecraft/structure/rule/LinearPosRuleTest;maxDistance:I
intermediary field_23342
Lnet/minecraft/class_4993;field_23342:I
official f
Lenc;f:I
-
-
Constructor Details
-
LinearPosRuleTest
public LinearPosRuleTest(float minChance, float maxChance, int minDistance, int maxDistance) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/structure/rule/LinearPosRuleTest;<init>(FFII)V
intermediary <init>
Lnet/minecraft/class_4993;<init>(FFII)V
official <init>
Lenc;<init>(FFII)V
-
-
Method Details
-
test
- Specified by:
test
in classPosRuleTest
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/structure/rule/PosRuleTest;test(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
intermediary method_26406
Lnet/minecraft/class_4995;method_26406(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
official a
Leng;a(Ljd;Ljd;Ljd;Layw;)Z
-
getType
- Specified by:
getType
in classPosRuleTest
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/structure/rule/PosRuleTest;getType()Lnet/minecraft/structure/rule/PosRuleTestType;
intermediary method_26404
Lnet/minecraft/class_4995;method_26404()Lnet/minecraft/class_4996;
official a
Leng;a()Lenh;
-