Class InvertedLootItemCondition
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.InvertedLootItemCondition
- 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<LootContextParam<?>>
getType()
static LootItemCondition.Builder
invert
(LootItemCondition.Builder p_81695_) final boolean
test
(LootContext p_81689_) void
validate
(ValidationContext p_81691_)
-
Field Details
-
term
-
-
Constructor Details
-
InvertedLootItemCondition
InvertedLootItemCondition(LootItemCondition p_81683_)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootItemCondition
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
getReferencedContextParams
- Specified by:
getReferencedContextParams
in interfaceLootContextUser
-
validate
- Specified by:
validate
in interfaceLootContextUser
-
invert
-