Class ConditionReference
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.ConditionReference
- All Implemented Interfaces:
Predicate<LootContext>,LootContextUser,LootItemCondition
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition
LootItemCondition.Builder -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) final ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LootItemCondition.BuilderconditionReference(ResourceLocation p_165481_) getType()booleantest(LootContext p_81558_) voidvalidate(ValidationContext p_81560_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
getReferencedContextParams
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
name
-
-
Constructor Details
-
ConditionReference
ConditionReference(ResourceLocation p_81553_)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootItemCondition
-
validate
- Specified by:
validatein interfaceLootContextUser
-
test
- Specified by:
testin interfacePredicate<LootContext>
-
conditionReference
-