Class LootConditionTypes

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

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

    • INVERTED

      public static final LootConditionType INVERTED
      Mappings:
      Namespace Name Mixin selector
      official a Lecm;a:Lecl;
      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 b Lecm;b:Lecl;
      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 c Lecm;c:Lecl;
      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 d Lecm;d:Lecl;
      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 e Lecm;e:Lecl;
      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 f Lecm;f:Lecl;
      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 g Lecm;g:Lecl;
      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 h Lecm;h:Lecl;
      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 i Lecm;i:Lecl;
      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 j Lecm;j:Lecl;
      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 k Lecm;k:Lecl;
      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 l Lecm;l:Lecl;
      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 m Lecm;m:Lecl;
      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 n Lecm;n:Lecl;
      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 o Lecm;o:Lecl;
      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 p Lecm;p:Lecl;
      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 q Lecm;q:Lecl;
      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 r Lecm;r:Lecl;
      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, JsonSerializer<? extends LootCondition> serializer)
      Mappings:
      Namespace Name Mixin selector
      official a Lecm;a(Ljava/lang/String;Ldzt;)Lecl;
      intermediary method_29327 Lnet/minecraft/class_217;method_29327(Ljava/lang/String;Lnet/minecraft/class_5335;)Lnet/minecraft/class_5342;
      named register Lnet/minecraft/loot/condition/LootConditionTypes;register(Ljava/lang/String;Lnet/minecraft/util/JsonSerializer;)Lnet/minecraft/loot/condition/LootConditionType;
    • createGsonSerializer

      public static Object createGsonSerializer()
      Mappings:
      Namespace Name Mixin selector
      official a Lecm;a()Ljava/lang/Object;
      intermediary method_29326 Lnet/minecraft/class_217;method_29326()Ljava/lang/Object;
      named createGsonSerializer Lnet/minecraft/loot/condition/LootConditionTypes;createGsonSerializer()Ljava/lang/Object;
    • matchingAll

      public static <T> Predicate<T> matchingAll(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 Lecm;a([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      intermediary method_924 Lnet/minecraft/class_217;method_924([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      named matchingAll Lnet/minecraft/loot/condition/LootConditionTypes;matchingAll([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
    • matchingAny

      public static <T> Predicate<T> matchingAny(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 Lecm;b([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      intermediary method_925 Lnet/minecraft/class_217;method_925([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
      named matchingAny Lnet/minecraft/loot/condition/LootConditionTypes;matchingAny([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;