接口的使用
net.minecraft.structure.rule.RuleTestType
-
使用RuleTestType的程序包 程序包 说明 net.minecraft.structure.rule net.minecraft.util.registry -
-
net.minecraft.structure.rule中RuleTestType的使用
声明为RuleTestType的net.minecraft.structure.rule中的字段 修饰符和类型 字段 说明 static RuleTestType<AlwaysTrueRuleTest>RuleTestType. ALWAYS_TRUEstatic RuleTestType<BlockMatchRuleTest>RuleTestType. BLOCK_MATCHstatic RuleTestType<BlockStateMatchRuleTest>RuleTestType. BLOCKSTATE_MATCHstatic RuleTestType<RandomBlockMatchRuleTest>RuleTestType. RANDOM_BLOCK_MATCHstatic RuleTestType<RandomBlockStateMatchRuleTest>RuleTestType. RANDOM_BLOCKSTATE_MATCHstatic RuleTestType<TagMatchRuleTest>RuleTestType. TAG_MATCH返回RuleTestType的net.minecraft.structure.rule中的方法 修饰符和类型 方法 说明 protected RuleTestType<?>AlwaysTrueRuleTest. getType()protected RuleTestType<?>BlockMatchRuleTest. getType()protected RuleTestType<?>BlockStateMatchRuleTest. getType()protected RuleTestType<?>RandomBlockMatchRuleTest. getType()protected RuleTestType<?>RandomBlockStateMatchRuleTest. getType()protected abstract RuleTestType<?>RuleTest. getType()protected RuleTestType<?>TagMatchRuleTest. getType()static <P extends RuleTest>
RuleTestType<P>RuleTestType. register(String id, com.mojang.serialization.Codec<P> codec) -
net.minecraft.util.registry中RuleTestType的使用
类型参数类型为RuleTestType的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static Registry<RuleTestType<?>>Registry. RULE_TESTstatic RegistryKey<Registry<RuleTestType<?>>>Registry. RULE_TEST_KEY
-