Interface PlayerEntityEvent.ItemPickedUp
- Enclosing interface:
- PlayerEntityEvent
public static interface PlayerEntityEvent.ItemPickedUp
-
Method Summary
-
Method Details
-
invoke
void invoke(net.minecraft.server.network.ServerPlayerEntity playerEntity, net.minecraft.entity.ItemEntity itemEntity, int pickedUpCount) - Parameters:
playerEntity
- TheServerPlayerEntity
.itemEntity
- TheItemEntity
being picked up.pickedUpCount
- The amount that could fit in theServerPlayerEntity
's inventory, and was therefore picked-up.
-