public interface PosRuleTestType<P extends PosRuleTest>
Modifier and Type | Field and Description |
---|---|
static PosRuleTestType<AlwaysTruePosRuleTest> |
ALWAYS_TRUE |
static PosRuleTestType<AxisAlignedLinearPosRuleTest> |
AXIS_ALIGNED_LINEAR_POS |
static PosRuleTestType<LinearPosRuleTest> |
LINEAR_POS |
Modifier and Type | Method and Description |
---|---|
com.mojang.serialization.Codec<P> |
codec() |
static <P extends PosRuleTest> |
register(String id,
com.mojang.serialization.Codec<P> codec) |
static final PosRuleTestType<AlwaysTruePosRuleTest> ALWAYS_TRUE
static final PosRuleTestType<LinearPosRuleTest> LINEAR_POS
static final PosRuleTestType<AxisAlignedLinearPosRuleTest> AXIS_ALIGNED_LINEAR_POS
com.mojang.serialization.Codec<P> codec()
static <P extends PosRuleTest> PosRuleTestType<P> register(String id, com.mojang.serialization.Codec<P> codec)