Class LootConditionTypes

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

public class LootConditionTypes extends Object
Mappings:
Namespace Name
official dnx
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 Ldnx;a:Ldnw;
      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;
    • ALTERNATIVE

      public static final LootConditionType ALTERNATIVE
      Mappings:
      Namespace Name Mixin selector
      official b Ldnx;b:Ldnw;
      intermediary field_25236 Lnet/minecraft/class_217;field_25236:Lnet/minecraft/class_5342;
      named ALTERNATIVE Lnet/minecraft/loot/condition/LootConditionTypes;ALTERNATIVE:Lnet/minecraft/loot/condition/LootConditionType;
    • RANDOM_CHANCE

      public static final LootConditionType RANDOM_CHANCE
      Mappings:
      Namespace Name Mixin selector
      official c Ldnx;c:Ldnw;
      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 d Ldnx;d:Ldnw;
      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 e Ldnx;e:Ldnw;
      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 f Ldnx;f:Ldnw;
      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 g Ldnx;g:Ldnw;
      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 h Ldnx;h:Ldnw;
      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 i Ldnx;i:Ldnw;
      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 j Ldnx;j:Ldnw;
      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 k Ldnx;k:Ldnw;
      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 l Ldnx;l:Ldnw;
      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 m Ldnx;m:Ldnw;
      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 n Ldnx;n:Ldnw;
      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 o Ldnx;o:Ldnw;
      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 p Ldnx;p:Ldnw;
      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 q Ldnx;q:Ldnw;
      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 Ldnx;a(Ljava/lang/String;Ldli;)Ldnw;
      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 Ldnx;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;
    • joinAnd

      public static <T> Predicate<T> joinAnd(Predicate<T>[] predicates)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnx;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 joinAnd Lnet/minecraft/loot/condition/LootConditionTypes;joinAnd([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
    • joinOr

      public static <T> Predicate<T> joinOr(Predicate<T>[] predicates)
      Mappings:
      Namespace Name Mixin selector
      official b Ldnx;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 joinOr Lnet/minecraft/loot/condition/LootConditionTypes;joinOr([Ljava/util/function/Predicate;)Ljava/util/function/Predicate;