Skip to content

GiveItemInteraction

Package: com.hypixel.hytale.builtin.adventure.shop

public class GiveItemInteraction extends ChoiceInteraction

Interaction handler extending ChoiceInteraction.

FieldTypeDescription
itemIdStringString field.
quantityintint field.
ConstructorDescription
GiveItemInteraction(String itemId, int quantity)Creates a new GiveItemInteraction instance.
GiveItemInteraction()Creates a new GiveItemInteraction instance.
MethodReturn TypeDescription
getItemId()Stringpublic method.
getQuantity()intpublic method.
run(@Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef)voidpublic method.
toString()Stringpublic method.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.