Package net.minecraft.structure.rule
Interface RuleTestType<P extends RuleTest>
public interface RuleTestType<P extends RuleTest>
-
Field Summary
Fields Modifier and Type Field Description static RuleTestType<AlwaysTrueRuleTest>ALWAYS_TRUEstatic RuleTestType<BlockMatchRuleTest>BLOCK_MATCHstatic RuleTestType<BlockStateMatchRuleTest>BLOCKSTATE_MATCHstatic RuleTestType<RandomBlockMatchRuleTest>RANDOM_BLOCK_MATCHstatic RuleTestType<RandomBlockStateMatchRuleTest>RANDOM_BLOCKSTATE_MATCHstatic RuleTestType<TagMatchRuleTest>TAG_MATCH -
Method Summary
-
Field Details
-
ALWAYS_TRUE
-
BLOCK_MATCH
-
BLOCKSTATE_MATCH
-
TAG_MATCH
-
RANDOM_BLOCK_MATCH
-
RANDOM_BLOCKSTATE_MATCH
-
-
Method Details
-
codec
com.mojang.serialization.Codec<P> codec() -
register
static <P extends RuleTest> RuleTestType<P> register(String id, com.mojang.serialization.Codec<P> codec)
-