Interface RuleTestType<P extends RuleTest>


public interface RuleTestType<P extends RuleTest>
Mappings:
Namespace Name
official dhq
intermediary net/minecraft/class_3827
named net/minecraft/structure/rule/RuleTestType
  • Field Details

    • ALWAYS_TRUE

      static final RuleTestType<AlwaysTrueRuleTest> ALWAYS_TRUE
      Mappings:
      Namespace Name Mixin selector
      official a Ldhq;a:Ldhq;
      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

      static final RuleTestType<BlockMatchRuleTest> BLOCK_MATCH
      Mappings:
      Namespace Name Mixin selector
      official b Ldhq;b:Ldhq;
      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

      static final RuleTestType<BlockStateMatchRuleTest> BLOCKSTATE_MATCH
      Mappings:
      Namespace Name Mixin selector
      official c Ldhq;c:Ldhq;
      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

      static final RuleTestType<TagMatchRuleTest> TAG_MATCH
      Mappings:
      Namespace Name Mixin selector
      official d Ldhq;d:Ldhq;
      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

      static final RuleTestType<RandomBlockMatchRuleTest> RANDOM_BLOCK_MATCH
      Mappings:
      Namespace Name Mixin selector
      official e Ldhq;e:Ldhq;
      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

      static final RuleTestType<RandomBlockStateMatchRuleTest> RANDOM_BLOCKSTATE_MATCH
      Mappings:
      Namespace Name Mixin selector
      official f Ldhq;f:Ldhq;
      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 Ldhq;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Ldhq;
      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;