Interface RuleTestType<P extends RuleTest>


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

    • ALWAYS_TRUE

      static final RuleTestType<AlwaysTrueRuleTest> ALWAYS_TRUE
      Mappings:
      Namespace Name Mixin selector
      named ALWAYS_TRUE Lnet/minecraft/structure/rule/RuleTestType;ALWAYS_TRUE:Lnet/minecraft/structure/rule/RuleTestType;
      intermediary field_16982 Lnet/minecraft/class_3827;field_16982:Lnet/minecraft/class_3827;
      official a Lemg;a:Lemg;
    • BLOCK_MATCH

      static final RuleTestType<BlockMatchRuleTest> BLOCK_MATCH
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_MATCH Lnet/minecraft/structure/rule/RuleTestType;BLOCK_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
      intermediary field_16981 Lnet/minecraft/class_3827;field_16981:Lnet/minecraft/class_3827;
      official b Lemg;b:Lemg;
    • BLOCKSTATE_MATCH

      static final RuleTestType<BlockStateMatchRuleTest> BLOCKSTATE_MATCH
      Mappings:
      Namespace Name Mixin selector
      named BLOCKSTATE_MATCH Lnet/minecraft/structure/rule/RuleTestType;BLOCKSTATE_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
      intermediary field_16985 Lnet/minecraft/class_3827;field_16985:Lnet/minecraft/class_3827;
      official c Lemg;c:Lemg;
    • TAG_MATCH

      static final RuleTestType<TagMatchRuleTest> TAG_MATCH
      Mappings:
      Namespace Name Mixin selector
      named TAG_MATCH Lnet/minecraft/structure/rule/RuleTestType;TAG_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
      intermediary field_16983 Lnet/minecraft/class_3827;field_16983:Lnet/minecraft/class_3827;
      official d Lemg;d:Lemg;
    • RANDOM_BLOCK_MATCH

      static final RuleTestType<RandomBlockMatchRuleTest> RANDOM_BLOCK_MATCH
      Mappings:
      Namespace Name Mixin selector
      named RANDOM_BLOCK_MATCH Lnet/minecraft/structure/rule/RuleTestType;RANDOM_BLOCK_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
      intermediary field_16980 Lnet/minecraft/class_3827;field_16980:Lnet/minecraft/class_3827;
      official e Lemg;e:Lemg;
    • RANDOM_BLOCKSTATE_MATCH

      static final RuleTestType<RandomBlockStateMatchRuleTest> RANDOM_BLOCKSTATE_MATCH
      Mappings:
      Namespace Name Mixin selector
      named RANDOM_BLOCKSTATE_MATCH Lnet/minecraft/structure/rule/RuleTestType;RANDOM_BLOCKSTATE_MATCH:Lnet/minecraft/structure/rule/RuleTestType;
      intermediary field_16984 Lnet/minecraft/class_3827;field_16984:Lnet/minecraft/class_3827;
      official f Lemg;f:Lemg;
  • Method Details

    • codec

      com.mojang.serialization.MapCodec<P> codec()
    • register

      static <P extends RuleTest> RuleTestType<P> register(String id, com.mojang.serialization.MapCodec<P> codec)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/structure/rule/RuleTestType;register(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/structure/rule/RuleTestType;
      intermediary method_16821 Lnet/minecraft/class_3827;method_16821(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lnet/minecraft/class_3827;
      official a Lemg;a(Ljava/lang/String;Lcom/mojang/serialization/MapCodec;)Lemg;