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
-
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
-
id
-
-
Constructor Details
-
ReferenceLootCondition
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootCondition
-
validate
- Specified by:
validatein interfaceLootContextAware
-
test
- Specified by:
testin interfacePredicate<LootContext>
-