Contents
Class InteractivelyPickupItemEvent
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.event.events.ecs.InteractivelyPickupItemEvent
- All Implemented Interfaces:
ICancellableEcsEvent
An event that is called when an entity interactively picks up an item.
If cancelled, the pick-up process will not occur.
-
Constructor Summary
ConstructorsConstructorDescriptionInteractivelyPickupItemEvent(ItemStack itemStack) Default Constructor for aInteractivelyPickupItemEventinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetItemStack(ItemStack itemStack) Called to set theItemStackbeing picked up.Methods inherited from class CancellableEcsEvent
isCancelled, setCancelled
-
Constructor Details
-
InteractivelyPickupItemEvent
Default Constructor for aInteractivelyPickupItemEventinstance.- Parameters:
itemStack- TheItemStackinstance being picked up.
-
-
Method Details
-
getItemStack
-
setItemStack
-