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_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
-
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)
-