Class PlayerStartNPCBattleInteractionResult
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.ImmutableInteractionResult
com.pixelmonmod.pixelmon.api.npc.interaction.result.type.PlayerStartNPCBattleInteractionResult
- All Implemented Interfaces:
InteractionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerStartNPCBattleInteractionResult>Fields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.ImmutableInteractionResult
codec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends InteractionResult>codec()The coded for decoding data for this interaction resultvoidhandle(InteractionContext context) Handles the result using the given contextof()Methods 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, fill, inputTypes
-
Field Details
-
CODEC
-
-
Constructor Details
-
PlayerStartNPCBattleInteractionResult
protected PlayerStartNPCBattleInteractionResult()
-
-
Method Details
-
of
-
codec
Description copied from interface:InteractionResultThe coded for decoding data for this interaction result- Specified by:
codecin interfaceInteractionResult- Overrides:
codecin classImmutableInteractionResult- Returns:
- The codec
-
handle
Description copied from interface:InteractionResultHandles the result using the given context- Parameters:
context- The context
-