Class HealPlayerPartyInteractionResult
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
com.pixelmonmod.pixelmon.api.npc.interaction.result.type.HealPlayerPartyInteractionResult
- All Implemented Interfaces:
InteractionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HealPlayerPartyInteractionResult>protected DataProvider<Boolean>Fields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
codec, constructor, inputTypes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHealPlayerPartyInteractionResult(DataProvider<Boolean> requireHealerBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(InteractionContext context) Handles the result using the given contextof(boolean requireHealerBlock) of(DataProvider<Boolean> requireHealerBlock) Methods inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
codec, fill, inputTypes, transformData, variableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.result.InteractionResult
canExecute
-
Field Details
-
CODEC
-
requireHealerBlock
-
-
Constructor Details
-
HealPlayerPartyInteractionResult
-
-
Method Details
-
of
-
of
-
handle
Description copied from interface:InteractionResultHandles the result using the given context- Parameters:
context- The context
-