Package net.minecraft.loot.condition
Class LootConditionTypes
java.lang.Object
net.minecraft.loot.condition.LootConditionTypes
public class LootConditionTypes extends Object
- Mappings:
Namespace Name official dhc
intermediary net/minecraft/class_217
named net/minecraft/loot/condition/LootConditionTypes
-
Field Summary
Fields Modifier and Type Field Description static LootConditionType
ALTERNATIVE
static LootConditionType
BLOCK_STATE_PROPERTY
static LootConditionType
DAMAGE_SOURCE_PROPERTIES
static LootConditionType
ENTITY_PROPERTIES
static LootConditionType
ENTITY_SCORES
static LootConditionType
INVERTED
static LootConditionType
KILLED_BY_PLAYER
static LootConditionType
LOCATION_CHECK
static LootConditionType
MATCH_TOOL
static LootConditionType
RANDOM_CHANCE
static LootConditionType
RANDOM_CHANCE_WITH_LOOTING
static LootConditionType
REFERENCE
static LootConditionType
SURVIVES_EXPLOSION
static LootConditionType
TABLE_BONUS
static LootConditionType
TIME_CHECK
static LootConditionType
VALUE_CHECK
static LootConditionType
WEATHER_CHECK
-
Constructor Summary
Constructors Constructor Description LootConditionTypes()
-
Method Summary
Modifier and Type Method Description static Object
createGsonSerializer()
static <T> Predicate<T>
joinAnd(Predicate<T>[] predicates)
static <T> Predicate<T>
joinOr(Predicate<T>[] predicates)
private static LootConditionType
register(String id, JsonSerializer<? extends LootCondition> serializer)
-
Field Details
-
INVERTED
- Mappings:
Namespace Name Mixin selector official a
Ldhc;a:Ldhb;
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
- Mappings:
Namespace Name Mixin selector official b
Ldhc;b:Ldhb;
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
- Mappings:
Namespace Name Mixin selector official c
Ldhc;c:Ldhb;
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 d
Ldhc;d:Ldhb;
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 e
Ldhc;e:Ldhb;
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 f
Ldhc;f:Ldhb;
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 g
Ldhc;g:Ldhb;
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 h
Ldhc;h:Ldhb;
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 i
Ldhc;i:Ldhb;
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 j
Ldhc;j:Ldhb;
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 k
Ldhc;k:Ldhb;
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 l
Ldhc;l:Ldhb;
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 m
Ldhc;m:Ldhb;
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 n
Ldhc;n:Ldhb;
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 o
Ldhc;o:Ldhb;
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 p
Ldhc;p:Ldhb;
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 q
Ldhc;q:Ldhb;
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
Ldhc;a(Ljava/lang/String;Ldeo;)Ldhb;
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
Ldhc;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
- Mappings:
Namespace Name Mixin selector official a
Ldhc;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
- Mappings:
Namespace Name Mixin selector official b
Ldhc;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;
-