Package-level declarations

Types

Link copied to clipboard
abstract class Drop(val rarity: DropRarity, val chance: Double, val item: Identifier, var amount: IntRange) : Chance
Link copied to clipboard
open class DropRarity(val broadcast: Boolean, val rarity: Int, val greet: Boolean = false, val name: String? = null, val odds: String = "<green>Guaranteed")
Link copied to clipboard
Link copied to clipboard
class LootPool
Link copied to clipboard
class LootPoolBuilder(drops: MutableList<Drop> = mutableListOf())
Link copied to clipboard
class MacrocosmDrop(val item: Identifier, val rarity: DropRarity, val chance: Double, var amount: IntRange = 1..1) : Drop
Link copied to clipboard
class VanillaDrop(material: Material, var amount: IntRange, val rarity: DropRarity, val chance: Double) : Drop

Functions

Link copied to clipboard
fun custom(item: MacrocosmItem, rarity: DropRarity, chance: Double, amount: IntRange = 1..1): MacrocosmDrop
fun custom(item: Identifier, rarity: DropRarity, chance: Double, amount: IntRange = 1..1): MacrocosmDrop
Link copied to clipboard
fun pet(pet: Pet, rarity: Rarity, dropRarity: DropRarity, chance: Double): MacrocosmDrop
Link copied to clipboard
fun vanilla(material: Material, chance: Double, rarity: DropRarity = DropRarity.COMMON, amount: IntRange = 1..1): VanillaDrop