Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by THEcarrier, Aug 7, 2018.
How do I suspend the fallen item on the ground?
If you mean disable player to drop you can listen to this event (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerDropItemEvent.html)
If make player can't pick up the item, use this event (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/player/PlayerPickupItemEvent.html)
If it's on the ground, it's no longer falling, so what do you mean by suspend? If you want to prevent it from getting picked up, cancel EntityPickupItemEvent.