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
ItemSetting
This 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 theItemSpawnReason
why we dropped anItemStack
.Constructors in io.github.thebusybiscuit.slimefun4.api.events with parameters of type ItemSpawnReasonModifierConstructorDescriptionSlimefunItemSpawnEvent
(Player player, Location location, ItemStack itemStack, ItemSpawnReason itemSpawnReason) SlimefunItemSpawnEvent
(Location location, 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 ItemSpawnReason
Returns 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 Item
SlimefunUtils.spawnItem
(Location loc, ItemStack item, ItemSpawnReason reason) Helper method to spawn anItemStack
.static Item
SlimefunUtils.spawnItem
(Location loc, ItemStack item, ItemSpawnReason reason, boolean addRandomOffset) Helper method to spawn anItemStack
.static Item
SlimefunUtils.spawnItem
(Location loc, ItemStack item, ItemSpawnReason reason, boolean addRandomOffset, Player player) Helper method to spawn anItemStack
.