Package net.minecraft.loot.condition
Class LootConditionTypes
java.lang.Object
net.minecraft.loot.condition.LootConditionTypes
- Mappings:
Namespace Name official ecd
intermediary net/minecraft/class_217
named net/minecraft/loot/condition/LootConditionTypes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
static final LootConditionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
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.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.private static LootConditionType
register
(String id, JsonSerializer<? extends LootCondition> serializer)
-
Field Details
-
INVERTED
- Mappings:
Namespace Name Mixin selector official a
Lecd;a:Lecc;
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
- Mappings:
Namespace Name Mixin selector official b
Lecd;b:Lecc;
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
- Mappings:
Namespace Name Mixin selector official c
Lecd;c:Lecc;
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
- Mappings:
Namespace Name Mixin selector official d
Lecd;d:Lecc;
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
- Mappings:
Namespace Name Mixin selector official e
Lecd;e:Lecc;
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
- Mappings:
Namespace Name Mixin selector official f
Lecd;f:Lecc;
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
- Mappings:
Namespace Name Mixin selector official g
Lecd;g:Lecc;
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
- Mappings:
Namespace Name Mixin selector official h
Lecd;h:Lecc;
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
- Mappings:
Namespace Name Mixin selector official i
Lecd;i:Lecc;
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
- Mappings:
Namespace Name Mixin selector official j
Lecd;j:Lecc;
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
- Mappings:
Namespace Name Mixin selector official k
Lecd;k:Lecc;
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
- Mappings:
Namespace Name Mixin selector official l
Lecd;l:Lecc;
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
- Mappings:
Namespace Name Mixin selector official m
Lecd;m:Lecc;
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
- Mappings:
Namespace Name Mixin selector official n
Lecd;n:Lecc;
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
- Mappings:
Namespace Name Mixin selector official o
Lecd;o:Lecc;
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
- Mappings:
Namespace Name Mixin selector official p
Lecd;p:Lecc;
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
- Mappings:
Namespace Name Mixin selector official q
Lecd;q:Lecc;
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
- Mappings:
Namespace Name Mixin selector official r
Lecd;r:Lecc;
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
Lecd;a(Ljava/lang/String;Ldzk;)Lecc;
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
- Mappings:
Namespace Name Mixin selector official a
Lecd;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
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
Lecd;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
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
Lecd;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;
-