Class LogicalNOTInteractionCondition
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.condition.MutableInteractionCondition
com.pixelmonmod.pixelmon.api.npc.interaction.condition.type.logic.LogicalNOTInteractionCondition
- All Implemented Interfaces:
InteractionCondition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LogicalNOTInteractionCondition>
Fields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.condition.MutableInteractionCondition
codec, constructor, inputTypes
Fields inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.condition.InteractionCondition
DIRECT_CODEC
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LogicalNOTInteractionCondition
(DataProvider<Boolean> condition) -
Method Summary
Modifier and TypeMethodDescriptionboolean
fits
(InteractionContext context) Method to check if the given context is correct for the conditionof
(DataProvider<Boolean> condition) Methods inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.condition.MutableInteractionCondition
codec, fill, inputTypes, transformData, variable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.condition.InteractionCondition
toData
-
Field Details
-
CODEC
-
-
Constructor Details
-
LogicalNOTInteractionCondition
-
-
Method Details
-
of
-
alwaysTrue
-
alwaysFalse
-
fits
Description copied from interface:InteractionCondition
Method to check if the given context is correct for the condition- Parameters:
context
- The context- Returns:
- True if the logic can proceed with the given context
-