public interface DropsProvider
Modifier and Type | Method and Description |
---|---|
java.util.List<org.bukkit.inventory.ItemStack> |
getBlockDrops(org.bukkit.entity.Player player,
org.bukkit.block.Block block)
Get all the drops for the block.
|
boolean |
isSpawnersOnly()
Check whether or not this handler is used only for spawners.
|
java.util.List<org.bukkit.inventory.ItemStack> getBlockDrops(org.bukkit.entity.Player player, org.bukkit.block.Block block)
player
- The player that broke the block.block
- The block that was broken.boolean isSpawnersOnly()