Class ItemPickupEvent

java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.ItemPickupEvent

public final class ItemPickupEvent extends Event
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.