Package net.minecraft.loot.conditions
Class Reference
java.lang.Object
net.minecraft.loot.conditions.Reference
- All Implemented Interfaces:
Predicate<LootContext>
,ILootCondition
,IParameterized
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.conditions.ILootCondition
ILootCondition.IBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
private final ResourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
test
(LootContext p_test_1_) void
validate
(ValidationTracker p_225580_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.IParameterized
getReferencedContextParams
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
name
-
-
Constructor Details
-
Reference
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceILootCondition
-
validate
- Specified by:
validate
in interfaceIParameterized
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-