Class PlayerPickItemEvents
java.lang.Object
net.fabricmc.fabric.api.event.player.PlayerPickItemEvents
Contains events triggered by server players requesting to pick items from the world.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Event
<PlayerPickItemEvents.PickItemFromBlock> Called when a player requests to pick the item for a block at a given position.static final Event
<PlayerPickItemEvents.PickItemFromEntity> Called when a player requests to pick the item for a given entity. -
Method Summary
-
Field Details
-
BLOCK
Called when a player requests to pick the item for a block at a given position. -
ENTITY
Called when a player requests to pick the item for a given entity.
-