net.minecraft.structure.rule

public interface RuleTestType<P extends RuleTest>

net.minecraft.world.level.levelgen.structure.templatesystem.RuleTestType
net.minecraft.class_3827
net.minecraft.structure.rule.RuleTestType

Field summary

Modifier and TypeField
RuleTestType<AlwaysTrueRuleTest>
ALWAYS_TRUE_TEST
field_16982
ALWAYS_TRUE
RuleTestType<BlockMatchRuleTest>
BLOCK_TEST
field_16981
BLOCK_MATCH
RuleTestType<BlockStateMatchRuleTest>
BLOCKSTATE_TEST
field_16985
BLOCKSTATE_MATCH
RuleTestType<TagMatchRuleTest>
TAG_TEST
field_16983
TAG_MATCH
RuleTestType<RandomBlockMatchRuleTest>
RANDOM_BLOCK_TEST
field_16980
RANDOM_BLOCK_MATCH
RuleTestType<RandomBlockStateMatchRuleTest>
RANDOM_BLOCKSTATE_TEST
field_16984
RANDOM_BLOCKSTATE_MATCH

Method summary

Modifier and TypeMethod
com.mojang.serialization.MapCodec<P>
codec()
method_1_348()
method_1_348()
static <P extends RuleTest> RuleTestType<P>
register(String id, com.mojang.serialization.MapCodec<P> codec)
method_16821(String arg0, com.mojang.serialization.MapCodec<P> arg1)
register(String id, com.mojang.serialization.MapCodec<P> codec)
private static com.mojang.serialization.MapCodec
lambda$register$0(com.mojang.serialization.MapCodec arg0)
method_28997(com.mojang.serialization.MapCodec arg0)
method_28997(com.mojang.serialization.MapCodec arg0)