public class PlayerDropItemEvent extends EntitySpawnEvent
Constructor and Description |
---|
PlayerDropItemEvent(Entity item,
Position position,
Player player) |
Modifier and Type | Method and Description |
---|---|
DroppedItem |
item() |
Player |
player() |
void |
setItem(Entity item) |
cancel, isIgnored, position
entity, setEntity
public PlayerDropItemEvent(Entity item, Position position, Player player)
Copyright © 2016. All rights reserved.