Class ItemPickupEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.ItemPickupEvent
This event is fired when an
AbstractItemEntity is being picked up by
an AbstractPlayerEntity. Note that this event is fired before a check
is done to see if there is enough space for the item. Cancelling the event
will make the item not be picked up.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionItemPickupEvent(AbstractPlayerEntity player, AbstractItemEntity item, ItemInstance instance) -
Method Summary
-
Field Details
-
player
-
item
-
instance
-
-
Constructor Details
-
ItemPickupEvent
-