Package-level declarations
Types
Link copied to clipboard
data class BackpackConfiguration(val blockedInventoryItem: ItemStack = ItemStack(Material.BARRIER).let {
val meta = it.itemMeta
meta.persistentDataContainer.set(InventoryClickListener.BLOCKED, PersistentDataType.BOOLEAN, true)
it.itemMeta = meta
it
}, val defaultState: Int = 6, val size: Int = 54, val whitelist: List<ItemStack> = listOf(ItemStack(Material.DIAMOND)), val title: Component = Component.text("Backpack", NamedTextColor.YELLOW))
The configuration for the backpack.
Link copied to clipboard
data class GlobalConfiguration(val mines: List<Mine> = listOf(
Mine(
"A",
Component.text('A', NamedTextColor.GOLD),
listOf(
MineBlock(Material.COAL_BLOCK, 0, 0)
),
1,
Location(Bukkit.getWorlds()[0], 0.0, 0.0, 0.0),
Location(Bukkit.getWorlds()[0], 10.0, 10.0, 10.0),
Location(Bukkit.getWorlds()[0], 2.0, 2.0, 2.0),
Location(Bukkit.getWorlds()[0], 7.0, 7.0, 7.0),
Location(Bukkit.getWorlds()[0], 5.0, 5.0, 5.0),
10,
3L * 20L * 60L,
0,
ItemStack(Material.COBBLESTONE)
)
), val maxMineLevel: Int = 0, val warp: WarpConfiguration = WarpConfiguration(
(1 until 27).toList(),
27,
ItemStack(Material.GRAY_STAINED_GLASS_PANE),
Component.text("Warps", NamedTextColor.DARK_RED),
ItemStack(Material.BARRIER),
0,
ItemStack(Material.PAPER),
Location(Bukkit.getWorlds()[0], 0.0, 0.0, 0.0, 0F, 0F)
), val setupCommands: Boolean = false)
The global configuration data class.