Uses of Interface
org.bukkit.entity.Item
-
Packages that use Item Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.event.block org.bukkit.event.entity org.bukkit.event.inventory org.bukkit.event.player -
-
Uses of Item in org.bukkit
Methods in org.bukkit that return Item Modifier and Type Method Description @NotNull ItemWorld. dropItem(@NotNull Location location, @NotNull ItemStack item)Drops an item at the specifiedLocation@NotNull ItemWorld. dropItemNaturally(@NotNull Location location, @NotNull ItemStack item)Drops an item at the specifiedLocationwith a random offset -
Uses of Item in org.bukkit.event.block
Methods in org.bukkit.event.block that return types with arguments of type Item Modifier and Type Method Description @NotNull List<Item>BlockDropItemEvent. getItems()Gets list of the Item drops caused by the block break.Constructor parameters in org.bukkit.event.block with type arguments of type Item Constructor Description BlockDropItemEvent(@NotNull Block block, @NotNull BlockState blockState, @NotNull Player player, @NotNull List<Item> items) -
Uses of Item in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return Item Modifier and Type Method Description @NotNull ItemItemDespawnEvent. getEntity()@NotNull ItemItemMergeEvent. getEntity()@NotNull ItemItemSpawnEvent. getEntity()@NotNull ItemEntityPickupItemEvent. getItem()Gets the Item picked up by the entity.@NotNull ItemEntityDropItemEvent. getItemDrop()Gets the Item created by the entity@NotNull ItemItemMergeEvent. getTarget()Gets the Item entity the main Item is being merged into.Constructors in org.bukkit.event.entity with parameters of type Item Constructor Description EntityDropItemEvent(@NotNull Entity entity, @NotNull Item drop)EntityPickupItemEvent(@NotNull LivingEntity entity, @NotNull Item item, int remaining)ItemDespawnEvent(@NotNull Item despawnee, @NotNull Location loc)ItemMergeEvent(@NotNull Item item, @NotNull Item target)ItemSpawnEvent(@NotNull Item spawnee)ItemSpawnEvent(@NotNull Item spawnee, Location loc)Deprecated. -
Uses of Item in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return Item Modifier and Type Method Description @NotNull ItemInventoryPickupItemEvent. getItem()Gets the Item entity that was picked upConstructors in org.bukkit.event.inventory with parameters of type Item Constructor Description InventoryPickupItemEvent(@NotNull Inventory inventory, @NotNull Item item) -
Uses of Item in org.bukkit.event.player
Methods in org.bukkit.event.player that return Item Modifier and Type Method Description @NotNull ItemPlayerPickupItemEvent. getItem()Deprecated.Gets the Item picked up by the player.@NotNull ItemPlayerDropItemEvent. getItemDrop()Gets the ItemDrop created by the playerConstructors in org.bukkit.event.player with parameters of type Item Constructor Description PlayerDropItemEvent(@NotNull Player player, @NotNull Item drop)PlayerPickupArrowEvent(@NotNull Player player, @NotNull Item item, @NotNull AbstractArrow arrow)PlayerPickupItemEvent(@NotNull Player player, @NotNull Item item, int remaining)Deprecated.
-