Class OpenDialogueInteractionResult
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
com.pixelmonmod.pixelmon.api.npc.interaction.result.type.OpenDialogueInteractionResult
- All Implemented Interfaces:
InteractionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<OpenDialogueInteractionResult>protected booleanprotected Stringprotected StringFields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
codec, constructor, inputTypes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOpenDialogueInteractionResult(String title, String message, boolean fireCloseEvent) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(InteractionContext context) Handles the result using the given contextMethods 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
-
title
-
message
-
fireCloseEvent
protected boolean fireCloseEvent
-
-
Constructor Details
-
OpenDialogueInteractionResult
-
-
Method Details
-
of
-
of
public static OpenDialogueInteractionResult of(String title, String description, boolean fireCloseEvent) -
silent
-
handle
Description copied from interface:InteractionResultHandles the result using the given context- Parameters:
context- The context
-