Package net.minecraft.loot.condition
Class ReferenceLootCondition
java.lang.Object
net.minecraft.loot.condition.ReferenceLootCondition
- All Implemented Interfaces:
Predicate<LootContext>,LootCondition,LootContextAware
public class ReferenceLootCondition extends Object implements LootCondition
- Mappings:
Namespace Name official dgsintermediary net/minecraft/class_4568named net/minecraft/loot/condition/ReferenceLootCondition
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReferenceLootCondition.SerializerNested classes/interfaces inherited from interface net.minecraft.loot.condition.LootCondition
LootCondition.Builder -
Field Summary
Fields Modifier and Type Field Description private Identifieridprivate static LoggerLOGGER -
Constructor Summary
Constructors Modifier Constructor Description privateReferenceLootCondition(Identifier id) -
Method Summary
Modifier and Type Method Description LootConditionTypegetType()booleantest(LootContext lootContext)voidvalidate(LootTableReporter reporter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.context.LootContextAware
getRequiredParameters
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLdgs;a:Lorg/apache/logging/log4j/Logger;intermediary field_20763Lnet/minecraft/class_4568;field_20763:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/loot/condition/ReferenceLootCondition;LOGGER:Lorg/apache/logging/log4j/Logger;
-
id
- Mappings:
Namespace Name Mixin selector official bLdgs;b:Lwb;intermediary field_20764Lnet/minecraft/class_4568;field_20764:Lnet/minecraft/class_2960;named idLnet/minecraft/loot/condition/ReferenceLootCondition;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
ReferenceLootCondition
- Mappings:
Namespace Name Mixin selector official <init>Ldgs;<init>(Lwb;)Vintermediary <init>Lnet/minecraft/class_4568;<init>(Lnet/minecraft/class_2960;)Vnamed <init>Lnet/minecraft/loot/condition/ReferenceLootCondition;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootCondition- Mappings:
Namespace Name Mixin selector official aLdha;a()Ldhb;intermediary method_29325Lnet/minecraft/class_5341;method_29325()Lnet/minecraft/class_5342;named getTypeLnet/minecraft/loot/condition/LootCondition;getType()Lnet/minecraft/loot/condition/LootConditionType;
-
validate
- Specified by:
validatein interfaceLootContextAware- Mappings:
Namespace Name Mixin selector official aLdej;a(Ldeq;)Vintermediary method_292Lnet/minecraft/class_46;method_292(Lnet/minecraft/class_58;)Vnamed validateLnet/minecraft/loot/context/LootContextAware;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
test
- Specified by:
testin interfacePredicate<LootContext>- Mappings:
Namespace Name Mixin selector official aLdgs;a(Ldei;)Zintermediary method_22579Lnet/minecraft/class_4568;method_22579(Lnet/minecraft/class_47;)Znamed testLnet/minecraft/loot/condition/ReferenceLootCondition;test(Lnet/minecraft/loot/context/LootContext;)Z
-