Class OpenShopInteractionResult
java.lang.Object
com.pixelmonmod.pixelmon.api.npc.interaction.result.ImmutableInteractionResult
com.pixelmonmod.pixelmon.api.npc.interaction.result.type.OpenShopInteractionResult
- All Implemented Interfaces:
InteractionResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<OpenShopInteractionResult>protected final booleanFields inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.ImmutableInteractionResult
codec -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOpenShopInteractionResult(List<ShopItem> shopItems, boolean sellable) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(InteractionContext context) Handles the result using the given contextstatic OpenShopInteractionResultstatic OpenShopInteractionResultstatic OpenShopInteractionResultMethods inherited from class com.pixelmonmod.pixelmon.api.npc.interaction.result.ImmutableInteractionResult
codecMethods 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
-
shopItems
-
sellable
protected final boolean sellable
-
-
Constructor Details
-
OpenShopInteractionResult
-
-
Method Details
-
of
-
of
-
of
-
handle
Description copied from interface:InteractionResultHandles the result using the given context- Parameters:
context- The context
-