Uses of Enum Class
nl.minetopiasdb.api.enums.LootcrateType
Package
Description
Main package for the MinetopiaSDB v2 API.
Package that contains the enums used in MinetopiaSDB
-
Uses of LootcrateType in nl.minetopiasdb.api
Modifier and TypeMethodDescriptionvoid
LootcrateManager.addItem(LootcrateType type, org.bukkit.inventory.ItemStack item)
Add an item to the specified lootcrate typeList<org.bukkit.inventory.ItemStack>
LootcrateManager.getItems(LootcrateType type)
List of items in this lootcrateList<org.bukkit.inventory.ItemStack>
LootcrateManager.getRandomItems(LootcrateType type, int amount)
Get the specified amount of random items from provided lootcrateLootcrateManager.getSize(LootcrateType type)
Get the amount of items in this lootcratevoid
LootcrateManager.removeItem(LootcrateType type, int slot)
Remove item from lootcrates at specified slotvoid
LootcrateManager.setItems(LootcrateType type, org.bukkit.inventory.ItemStack[] items)
Change the content of provided lootcrate -
Uses of LootcrateType in nl.minetopiasdb.api.enums
Modifier and TypeMethodDescriptionstatic LootcrateType
Returns the enum constant of this class with the specified name.static LootcrateType[]
LootcrateType.values()
Returns an array containing the constants of this enum class, in the order they are declared.