Class GiveItemInteraction
java.lang.Object
com.hypixel.hytale.server.core.entity.entities.player.pages.choices.ChoiceInteraction
com.hypixel.hytale.builtin.adventure.shop.GiveItemInteraction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<GiveItemInteraction> protected Stringprotected intFields inherited from class com.hypixel.hytale.server.core.entity.entities.player.pages.choices.ChoiceInteraction
BASE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidrun(Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef) toString()
-
Field Details
-
CODEC
-
itemId
-
quantity
protected int quantity
-
-
Constructor Details
-
GiveItemInteraction
-
GiveItemInteraction
protected GiveItemInteraction()
-
-
Method Details
-
getItemId
-
getQuantity
public int getQuantity() -
run
public void run(@Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef) - Specified by:
runin classChoiceInteraction
-
toString
- Overrides:
toStringin classChoiceInteraction
-