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