Uses of Enum Class
nl.minetopiasdb.api.enums.LootcrateType
Packages that use 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
Methods in nl.minetopiasdb.api with parameters of type LootcrateTypeModifier and TypeMethodDescriptionvoidLootcrateManager.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 lootcratevoidLootcrateManager.removeItem(LootcrateType type, int slot) Remove item from lootcrates at specified slotvoidLootcrateManager.setItems(LootcrateType type, org.bukkit.inventory.ItemStack[] items) Change the content of provided lootcrate -
Uses of LootcrateType in nl.minetopiasdb.api.enums
Subclasses with type arguments of type LootcrateType in nl.minetopiasdb.api.enumsModifier and TypeClassDescriptionenumEnum that holds the different lootcrate typesMethods in nl.minetopiasdb.api.enums that return LootcrateTypeModifier and TypeMethodDescriptionstatic LootcrateTypeReturns 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.