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 ClassesNested classes/interfaces inherited from interface net.minecraft.loot.conditions.ILootCondition
ILootCondition.IBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Loggerprivate final ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleantest(LootContext p_test_1_) voidvalidate(ValidationTracker p_225580_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getTypein interfaceILootCondition
-
validate
- Specified by:
validatein interfaceIParameterized
-
test
- Specified by:
testin interfacePredicate<LootContext>
-