Class LootConditionTypes

java.lang.Object
net.minecraft.loot.condition.LootConditionTypes

public class LootConditionTypes extends Object
Mappings:
Namespace Name
official ejx
intermediary net/minecraft/class_217
named net/minecraft/loot/condition/LootConditionTypes
  • Field Details

    • BASE_CODEC

      private static final com.mojang.serialization.Codec<LootCondition> BASE_CODEC
      Mappings:
      Namespace Name Mixin selector
      official t Lejx;t:Lcom/mojang/serialization/Codec;
      intermediary field_45870 Lnet/minecraft/class_217;field_45870:Lcom/mojang/serialization/Codec;
      named BASE_CODEC Lnet/minecraft/loot/condition/LootConditionTypes;BASE_CODEC:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<LootCondition> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lejx;a:Lcom/mojang/serialization/Codec;
      intermediary field_45869 Lnet/minecraft/class_217;field_45869:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/loot/condition/LootConditionTypes;CODEC:Lcom/mojang/serialization/Codec;
    • INVERTED

      public static final LootConditionType INVERTED
      Mappings:
      Namespace Name Mixin selector
      official b Lejx;b:Lejw;
      intermediary field_25235 Lnet/minecraft/class_217;field_25235:Lnet/minecraft/class_5342;
      named INVERTED Lnet/minecraft/loot/condition/LootConditionTypes;INVERTED:Lnet/minecraft/loot/condition/LootConditionType;
    • ANY_OF

      public static final LootConditionType ANY_OF
      Mappings:
      Namespace Name Mixin selector
      official c Lejx;c:Lejw;
      intermediary field_44789 Lnet/minecraft/class_217;field_44789:Lnet/minecraft/class_5342;
      named ANY_OF Lnet/minecraft/loot/condition/LootConditionTypes;ANY_OF:Lnet/minecraft/loot/condition/LootConditionType;
    • ALL_OF

      public static final LootConditionType ALL_OF
      Mappings:
      Namespace Name Mixin selector
      official d Lejx;d:Lejw;
      intermediary field_44790 Lnet/minecraft/class_217;field_44790:Lnet/minecraft/class_5342;
      named ALL_OF Lnet/minecraft/loot/condition/LootConditionTypes;ALL_OF:Lnet/minecraft/loot/condition/LootConditionType;
    • RANDOM_CHANCE

      public static final LootConditionType RANDOM_CHANCE
      Mappings:
      Namespace Name Mixin selector
      official e Lejx;e:Lejw;
      intermediary field_25237 Lnet/minecraft/class_217;field_25237:Lnet/minecraft/class_5342;
      named RANDOM_CHANCE Lnet/minecraft/loot/condition/LootConditionTypes;RANDOM_CHANCE:Lnet/minecraft/loot/condition/LootConditionType;
    • RANDOM_CHANCE_WITH_LOOTING

      public static final LootConditionType RANDOM_CHANCE_WITH_LOOTING
      Mappings:
      Namespace Name Mixin selector
      official f Lejx;f:Lejw;
      intermediary field_25238 Lnet/minecraft/class_217;field_25238:Lnet/minecraft/class_5342;
      named RANDOM_CHANCE_WITH_LOOTING Lnet/minecraft/loot/condition/LootConditionTypes;RANDOM_CHANCE_WITH_LOOTING:Lnet/minecraft/loot/condition/LootConditionType;
    • ENTITY_PROPERTIES

      public static final LootConditionType ENTITY_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official g Lejx;g:Lejw;
      intermediary field_25239 Lnet/minecraft/class_217;field_25239:Lnet/minecraft/class_5342;
      named ENTITY_PROPERTIES Lnet/minecraft/loot/condition/LootConditionTypes;ENTITY_PROPERTIES:Lnet/minecraft/loot/condition/LootConditionType;
    • KILLED_BY_PLAYER

      public static final LootConditionType KILLED_BY_PLAYER
      Mappings:
      Namespace Name Mixin selector
      official h Lejx;h:Lejw;
      intermediary field_25240 Lnet/minecraft/class_217;field_25240:Lnet/minecraft/class_5342;
      named KILLED_BY_PLAYER Lnet/minecraft/loot/condition/LootConditionTypes;KILLED_BY_PLAYER:Lnet/minecraft/loot/condition/LootConditionType;
    • ENTITY_SCORES

      public static final LootConditionType ENTITY_SCORES
      Mappings:
      Namespace Name Mixin selector
      official i Lejx;i:Lejw;
      intermediary field_25241 Lnet/minecraft/class_217;field_25241:Lnet/minecraft/class_5342;
      named ENTITY_SCORES Lnet/minecraft/loot/condition/LootConditionTypes;ENTITY_SCORES:Lnet/minecraft/loot/condition/LootConditionType;
    • BLOCK_STATE_PROPERTY

      public static final LootConditionType BLOCK_STATE_PROPERTY
      Mappings:
      Namespace Name Mixin selector
      official j Lejx;j:Lejw;
      intermediary field_25242 Lnet/minecraft/class_217;field_25242:Lnet/minecraft/class_5342;
      named BLOCK_STATE_PROPERTY Lnet/minecraft/loot/condition/LootConditionTypes;BLOCK_STATE_PROPERTY:Lnet/minecraft/loot/condition/LootConditionType;
    • MATCH_TOOL

      public static final LootConditionType MATCH_TOOL
      Mappings:
      Namespace Name Mixin selector
      official k Lejx;k:Lejw;
      intermediary field_25243 Lnet/minecraft/class_217;field_25243:Lnet/minecraft/class_5342;
      named MATCH_TOOL Lnet/minecraft/loot/condition/LootConditionTypes;MATCH_TOOL:Lnet/minecraft/loot/condition/LootConditionType;
    • TABLE_BONUS

      public static final LootConditionType TABLE_BONUS
      Mappings:
      Namespace Name Mixin selector
      official l Lejx;l:Lejw;
      intermediary field_25244 Lnet/minecraft/class_217;field_25244:Lnet/minecraft/class_5342;
      named TABLE_BONUS Lnet/minecraft/loot/condition/LootConditionTypes;TABLE_BONUS:Lnet/minecraft/loot/condition/LootConditionType;
    • SURVIVES_EXPLOSION

      public static final LootConditionType SURVIVES_EXPLOSION
      Mappings:
      Namespace Name Mixin selector
      official m Lejx;m:Lejw;
      intermediary field_25245 Lnet/minecraft/class_217;field_25245:Lnet/minecraft/class_5342;
      named SURVIVES_EXPLOSION Lnet/minecraft/loot/condition/LootConditionTypes;SURVIVES_EXPLOSION:Lnet/minecraft/loot/condition/LootConditionType;
    • DAMAGE_SOURCE_PROPERTIES

      public static final LootConditionType DAMAGE_SOURCE_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official n Lejx;n:Lejw;
      intermediary field_25246 Lnet/minecraft/class_217;field_25246:Lnet/minecraft/class_5342;
      named DAMAGE_SOURCE_PROPERTIES Lnet/minecraft/loot/condition/LootConditionTypes;DAMAGE_SOURCE_PROPERTIES:Lnet/minecraft/loot/condition/LootConditionType;
    • LOCATION_CHECK

      public static final LootConditionType LOCATION_CHECK
      Mappings:
      Namespace Name Mixin selector
      official o Lejx;o:Lejw;
      intermediary field_25247 Lnet/minecraft/class_217;field_25247:Lnet/minecraft/class_5342;
      named LOCATION_CHECK Lnet/minecraft/loot/condition/LootConditionTypes;LOCATION_CHECK:Lnet/minecraft/loot/condition/LootConditionType;
    • WEATHER_CHECK

      public static final LootConditionType WEATHER_CHECK
      Mappings:
      Namespace Name Mixin selector
      official p Lejx;p:Lejw;
      intermediary field_25248 Lnet/minecraft/class_217;field_25248:Lnet/minecraft/class_5342;
      named WEATHER_CHECK Lnet/minecraft/loot/condition/LootConditionTypes;WEATHER_CHECK:Lnet/minecraft/loot/condition/LootConditionType;
    • REFERENCE

      public static final LootConditionType REFERENCE
      Mappings:
      Namespace Name Mixin selector
      official q Lejx;q:Lejw;
      intermediary field_25249 Lnet/minecraft/class_217;field_25249:Lnet/minecraft/class_5342;
      named REFERENCE Lnet/minecraft/loot/condition/LootConditionTypes;REFERENCE:Lnet/minecraft/loot/condition/LootConditionType;
    • TIME_CHECK

      public static final LootConditionType TIME_CHECK
      Mappings:
      Namespace Name Mixin selector
      official r Lejx;r:Lejw;
      intermediary field_25250 Lnet/minecraft/class_217;field_25250:Lnet/minecraft/class_5342;
      named TIME_CHECK Lnet/minecraft/loot/condition/LootConditionTypes;TIME_CHECK:Lnet/minecraft/loot/condition/LootConditionType;
    • VALUE_CHECK

      public static final LootConditionType VALUE_CHECK
      Mappings:
      Namespace Name Mixin selector
      official s Lejx;s:Lejw;
      intermediary field_27911 Lnet/minecraft/class_217;field_27911:Lnet/minecraft/class_5342;
      named VALUE_CHECK Lnet/minecraft/loot/condition/LootConditionTypes;VALUE_CHECK:Lnet/minecraft/loot/condition/LootConditionType;
  • Constructor Details

    • LootConditionTypes

      public LootConditionTypes()
  • Method Details

    • register

      private static LootConditionType register(String id, com.mojang.serialization.Codec<? extends LootCondition> codec)
      Mappings:
      Namespace Name Mixin selector
      official a Lejx;a(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lejw;
      intermediary method_29327 Lnet/minecraft/class_217;method_29327(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/class_5342;
      named register Lnet/minecraft/loot/condition/LootConditionTypes;register(Ljava/lang/String;Lcom/mojang/serialization/Codec;)Lnet/minecraft/loot/condition/LootConditionType;
    • matchingAll

      public static <T> Predicate<T> matchingAll(List<? extends Predicate<T>> predicates)
      Returns a predicate that returns true only if all its element predicates return true, as if applied by logical and.
      Mappings:
      Namespace Name Mixin selector
      official a Lejx;a(Ljava/util/List;)Ljava/util/function/Predicate;
      intermediary method_924 Lnet/minecraft/class_217;method_924(Ljava/util/List;)Ljava/util/function/Predicate;
      named matchingAll Lnet/minecraft/loot/condition/LootConditionTypes;matchingAll(Ljava/util/List;)Ljava/util/function/Predicate;
    • matchingAny

      public static <T> Predicate<T> matchingAny(List<? extends Predicate<T>> predicates)
      Returns a predicate that returns true if any its element predicates return true, as if applied by logical or.
      Mappings:
      Namespace Name Mixin selector
      official b Lejx;b(Ljava/util/List;)Ljava/util/function/Predicate;
      intermediary method_925 Lnet/minecraft/class_217;method_925(Ljava/util/List;)Ljava/util/function/Predicate;
      named matchingAny Lnet/minecraft/loot/condition/LootConditionTypes;matchingAny(Ljava/util/List;)Ljava/util/function/Predicate;