Uses of Interface
org.bukkit.util.Consumer
Packages that use Consumer
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of Consumer in org.bukkit
Methods in org.bukkit with parameters of type ConsumerModifier and TypeMethodDescriptionDrops an item at the specifiedLocation
Note that functions will run before the entity is spawnedWorld.dropItemNaturally(Location location, ItemStack item, Consumer<Item> function)
Drops an item at the specifiedLocation
with a random offset Note that functions will run before the entity is spawned<T extends Entity>
TSpawn an entity of a specific class at the givenLocation
, with the supplied function run before the entity is added to the world.