Package net.minecraft.structure.rule
Interface RuleTestType<P extends RuleTest>
public interface RuleTestType<P extends RuleTest>
- Mappings:
Namespace Name official dgo
intermediary net/minecraft/class_3827
named net/minecraft/structure/rule/RuleTestType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RuleTestType<AlwaysTrueRuleTest>
static final RuleTestType<BlockMatchRuleTest>
static final RuleTestType<BlockStateMatchRuleTest>
static final RuleTestType<RandomBlockMatchRuleTest>
static final RuleTestType<RandomBlockStateMatchRuleTest>
static final RuleTestType<TagMatchRuleTest>
-
Method Summary
-
Field Details
-
ALWAYS_TRUE
- Mappings:
Namespace Name Mixin selector official a
Ldgo;a:Ldgo;
intermediary field_16982
Lnet/minecraft/class_3827;field_16982:Lnet/minecraft/class_3827;
named ALWAYS_TRUE
Lnet/minecraft/structure/rule/RuleTestType;ALWAYS_TRUE:Lnet/minecraft/structure/rule/RuleTestType;
-
BLOCK_MATCH
- Mappings:
Namespace Name Mixin selector official b
Ldgo;b:Ldgo;
intermediary field_16981
Lnet/minecraft/class_3827;field_16981:Lnet/minecraft/class_3827;
named BLOCK_MATCH
Lnet/minecraft/structure/rule/RuleTestType;BLOCK_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
-
BLOCKSTATE_MATCH
- Mappings:
Namespace Name Mixin selector official c
Ldgo;c:Ldgo;
intermediary field_16985
Lnet/minecraft/class_3827;field_16985:Lnet/minecraft/class_3827;
named BLOCKSTATE_MATCH
Lnet/minecraft/structure/rule/RuleTestType;BLOCKSTATE_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
-
TAG_MATCH
- Mappings:
Namespace Name Mixin selector official d
Ldgo;d:Ldgo;
intermediary field_16983
Lnet/minecraft/class_3827;field_16983:Lnet/minecraft/class_3827;
named TAG_MATCH
Lnet/minecraft/structure/rule/RuleTestType;TAG_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
-
RANDOM_BLOCK_MATCH
- Mappings:
Namespace Name Mixin selector official e
Ldgo;e:Ldgo;
intermediary field_16980
Lnet/minecraft/class_3827;field_16980:Lnet/minecraft/class_3827;
named RANDOM_BLOCK_MATCH
Lnet/minecraft/structure/rule/RuleTestType;RANDOM_BLOCK_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
-
RANDOM_BLOCKSTATE_MATCH
- Mappings:
Namespace Name Mixin selector official f
Ldgo;f:Ldgo;
intermediary field_16984
Lnet/minecraft/class_3827;field_16984:Lnet/minecraft/class_3827;
named RANDOM_BLOCKSTATE_MATCH
Lnet/minecraft/structure/rule/RuleTestType;RANDOM_BLOCKSTATE_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
-
-
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) - Mappings:
Namespace Name Mixin selector official a
Ldgo;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Ldgo;
intermediary method_16821
Lnet/minecraft/class_3827;method_16821(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_3827;
named register
Lnet/minecraft/structure/rule/RuleTestType;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/structure/rule/RuleTestType;
-