public interface RuleTestType<P extends RuleTest>
Modifier and Type | Field and Description |
---|---|
static RuleTestType<AlwaysTrueRuleTest> |
ALWAYS_TRUE |
static RuleTestType<BlockMatchRuleTest> |
BLOCK_MATCH |
static RuleTestType<BlockStateMatchRuleTest> |
BLOCKSTATE_MATCH |
static RuleTestType<RandomBlockMatchRuleTest> |
RANDOM_BLOCK_MATCH |
static RuleTestType<RandomBlockStateMatchRuleTest> |
RANDOM_BLOCKSTATE_MATCH |
static RuleTestType<TagMatchRuleTest> |
TAG_MATCH |
Modifier and Type | Method and Description |
---|---|
com.mojang.serialization.Codec<P> |
codec() |
static <P extends RuleTest> |
register(String id,
com.mojang.serialization.Codec<P> codec) |
static final RuleTestType<AlwaysTrueRuleTest> ALWAYS_TRUE
static final RuleTestType<BlockMatchRuleTest> BLOCK_MATCH
static final RuleTestType<BlockStateMatchRuleTest> BLOCKSTATE_MATCH
static final RuleTestType<TagMatchRuleTest> TAG_MATCH
static final RuleTestType<RandomBlockMatchRuleTest> RANDOM_BLOCK_MATCH
static final RuleTestType<RandomBlockStateMatchRuleTest> RANDOM_BLOCKSTATE_MATCH
com.mojang.serialization.Codec<P> codec()
static <P extends RuleTest> RuleTestType<P> register(String id, com.mojang.serialization.Codec<P> codec)