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
Modifier 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
ModifierConstructorDescriptionprotected
HealPlayerPartyInteractionResult
(DataProvider<Boolean> requireHealerBlock) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(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, variable
-
Field Details
-
CODEC
-
requireHealerBlock
-
-
Constructor Details
-
HealPlayerPartyInteractionResult
-
-
Method Details
-
of
-
of
-
handle
Description copied from interface:InteractionResult
Handles the result using the given context- Parameters:
context
- The context
-