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
Link copied to clipboard
object GlobalLootPool
Link copied to clipboard
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
Link copied to clipboard
fun vanilla(material: Material, chance: Double, rarity: DropRarity = DropRarity.COMMON, amount: IntRange = 1..1): VanillaDrop