Class ConditionReference
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.ConditionReference
- All Implemented Interfaces:
Predicate<LootContext>
,LootContextUser
,LootItemCondition
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemCondition
LootItemCondition.Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
(package private) final ResourceLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LootItemCondition.Builder
conditionReference
(ResourceLocation p_165481_) getType()
boolean
test
(LootContext p_81558_) void
validate
(ValidationContext p_81560_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getType
in interfaceLootItemCondition
-
validate
- Specified by:
validate
in interfaceLootContextUser
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
conditionReference
-