GiveItemInteraction
Package: com.hypixel.hytale.builtin.adventure.shop
public class GiveItemInteraction extends ChoiceInteractionInteraction handler extending ChoiceInteraction.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
itemId | String | String field. |
quantity | int | int field. |
Constructors
Section titled “Constructors”| Constructor | Description |
|---|---|
GiveItemInteraction(String itemId, int quantity) | Creates a new GiveItemInteraction instance. |
GiveItemInteraction() | Creates a new GiveItemInteraction instance. |
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
getItemId() | String | public method. |
getQuantity() | int | public method. |
run(@Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef) | void | public method. |
toString() | String | public method. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.