Package net.minecraft.structure.rule
Interface PosRuleTestType<P extends PosRuleTest>
public interface PosRuleTestType<P extends PosRuleTest>
-
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
-
LINEAR_POS
-
AXIS_ALIGNED_LINEAR_POS
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec() -
register
static <P extends PosRuleTest> PosRuleTestType<P> register(String id, com.mojang.serialization.Codec<P> codec)
-