Package net.minecraft.structure.rule
Interface PosRuleTestType<P extends PosRuleTest>
public interface PosRuleTestType<P extends PosRuleTest>
- Mappings:
Namespace Name official cyc
intermediary net/minecraft/class_4996
named net/minecraft/structure/rule/PosRuleTestType
-
Field Summary
Fields Modifier and Type Field Description static PosRuleTestType<AlwaysTruePosRuleTest>
ALWAYS_TRUE
static PosRuleTestType<AxisAlignedLinearPosRuleTest>
AXIS_ALIGNED_LINEAR_POS
static PosRuleTestType<LinearPosRuleTest>
LINEAR_POS
-
Method Summary
Modifier and Type Method Description com.mojang.serialization.Codec<P>
codec()
static <P extends PosRuleTest>
PosRuleTestType<P>register(String id, com.mojang.serialization.Codec<P> codec)
-
Field Details
-
ALWAYS_TRUE
- Mappings:
Namespace Name Mixin selector official a
Lcyc;a:Lcyc;
intermediary field_23344
Lnet/minecraft/class_4996;field_23344:Lnet/minecraft/class_4996;
named ALWAYS_TRUE
Lnet/minecraft/structure/rule/PosRuleTestType;ALWAYS_TRUE:Lnet/minecraft/structure/rule/PosRuleTestType;
-
LINEAR_POS
- Mappings:
Namespace Name Mixin selector official b
Lcyc;b:Lcyc;
intermediary field_23345
Lnet/minecraft/class_4996;field_23345:Lnet/minecraft/class_4996;
named LINEAR_POS
Lnet/minecraft/structure/rule/PosRuleTestType;LINEAR_POS:Lnet/minecraft/structure/rule/PosRuleTestType;
-
AXIS_ALIGNED_LINEAR_POS
- Mappings:
Namespace Name Mixin selector official c
Lcyc;c:Lcyc;
intermediary field_23346
Lnet/minecraft/class_4996;field_23346:Lnet/minecraft/class_4996;
named AXIS_ALIGNED_LINEAR_POS
Lnet/minecraft/structure/rule/PosRuleTestType;AXIS_ALIGNED_LINEAR_POS:Lnet/minecraft/structure/rule/PosRuleTestType;
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec()- Mappings:
Namespace Name Mixin selector official codec
Lcyc;codec()Lcom/mojang/serialization/Codec;
intermediary codec
Lnet/minecraft/class_4996;codec()Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/structure/rule/PosRuleTestType;codec()Lcom/mojang/serialization/Codec;
-
register
static <P extends PosRuleTest> PosRuleTestType<P> register(String id, com.mojang.serialization.Codec<P> codec)- Mappings:
Namespace Name Mixin selector official a
Lcyc;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lcyc;
intermediary method_26409
Lnet/minecraft/class_4996;method_26409(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_4996;
named register
Lnet/minecraft/structure/rule/PosRuleTestType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/structure/rule/PosRuleTestType;
-