Class ImmutableInteractionResult
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.ImmutableInteractionResult
- All Implemented Interfaces:
InteractionResult
- Direct Known Subclasses:
CloseScreenInteractionResult
,DelayInteractionResult
,EmptyInteractionResult
,GiveExperienceInteractionResult
,GiveItemInteractionResult
,GiveMoneyInteractionResult
,OpenProfessorDialogueInteractionResult
,OpenShopInteractionResult
,PlayerStartNPCBattleInteractionResult
,RelearnerInteractionResult
,RewardLootTableInteractionResult
,SpawnAndEnterBattleInteractionResult
,TutorInteractionResult
,UnlockDynamaxInteractionResult
,UnlockMegaEvolutionInteractionResult
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.mojang.serialization.Codec<? extends InteractionResult>
Fields inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.result.InteractionResult
CODEC
-
Constructor Summary
ModifierConstructorDescriptionprotected
ImmutableInteractionResult
(com.mojang.serialization.Codec<? extends InteractionResult> codec) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends InteractionResult>
codec()
The coded for decoding data for this interaction resultMethods 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.result.InteractionResult
canExecute, fill, handle, inputTypes
-
Field Details
-
codec
-
-
Constructor Details
-
ImmutableInteractionResult
protected ImmutableInteractionResult(com.mojang.serialization.Codec<? extends InteractionResult> codec)
-
-
Method Details
-
codec
Description copied from interface:InteractionResult
The coded for decoding data for this interaction result- Specified by:
codec
in interfaceInteractionResult
- Returns:
- The codec
-