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
FieldsModifier and TypeFieldDescriptionprotected final com.mojang.serialization.Codec<? extends InteractionResult>Fields inherited from interface com.pixelmonmod.pixelmon.api.npc.interaction.result.InteractionResult
CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedImmutableInteractionResult(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, waitMethods 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:InteractionResultThe coded for decoding data for this interaction result- Specified by:
codecin interfaceInteractionResult- Returns:
- The codec
-