Class PlayerExecuteCommandInteractionResult
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
com.pixelmonmod.pixelmon.api.npc.interaction.result.type.PlayerExecuteCommandInteractionResult
- All Implemented Interfaces:
InteractionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerExecuteCommandInteractionResult>Fields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.MutableInteractionResult
codec, constructor, inputTypes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPlayerExecuteCommandInteractionResult(List<String> commands) -
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
-
commands
-
-
Constructor Details
-
PlayerExecuteCommandInteractionResult
-
-
Method Details
-
of
-
of
-
handle
Description copied from interface:InteractionResultHandles the result using the given context- Parameters:
context- The context
-