Uses of Enum Class
io.github.thebusybiscuit.slimefun4.api.items.ItemSpawnReason
Packages that use ItemSpawnReason
Package
Description
This package contains all extensions of
Event that Slimefun provides
and allows you to listen to.This package contains a few classes that revolve around the API for
SlimefunItem, such as
ItemSettingThis package contains some utility classes that offer handy ways to do stuff.
-
Uses of ItemSpawnReason in io.github.thebusybiscuit.slimefun4.api.events
Methods in io.github.thebusybiscuit.slimefun4.api.events that return ItemSpawnReasonModifier and TypeMethodDescriptionSlimefunItemSpawnEvent.getItemSpawnReason()This returns theItemSpawnReasonwhy we dropped anItemStack.Constructors in io.github.thebusybiscuit.slimefun4.api.events with parameters of type ItemSpawnReasonModifierConstructorDescriptionSlimefunItemSpawnEvent(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.inventory.ItemStack itemStack, ItemSpawnReason itemSpawnReason) SlimefunItemSpawnEvent(org.bukkit.Location location, org.bukkit.inventory.ItemStack itemStack, ItemSpawnReason itemSpawnReason) -
Uses of ItemSpawnReason in io.github.thebusybiscuit.slimefun4.api.items
Methods in io.github.thebusybiscuit.slimefun4.api.items that return ItemSpawnReasonModifier and TypeMethodDescriptionstatic ItemSpawnReasonReturns the enum constant of this class with the specified name.static ItemSpawnReason[]ItemSpawnReason.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ItemSpawnReason in io.github.thebusybiscuit.slimefun4.utils
Methods in io.github.thebusybiscuit.slimefun4.utils with parameters of type ItemSpawnReasonModifier and TypeMethodDescriptionstatic org.bukkit.entity.ItemSlimefunUtils.spawnItem(org.bukkit.Location loc, org.bukkit.inventory.ItemStack item, ItemSpawnReason reason) Helper method to spawn anItemStack.static org.bukkit.entity.ItemSlimefunUtils.spawnItem(org.bukkit.Location loc, org.bukkit.inventory.ItemStack item, ItemSpawnReason reason, boolean addRandomOffset) Helper method to spawn anItemStack.static org.bukkit.entity.ItemSlimefunUtils.spawnItem(org.bukkit.Location loc, org.bukkit.inventory.ItemStack item, ItemSpawnReason reason, boolean addRandomOffset, org.bukkit.entity.Player player) Helper method to spawn anItemStack.