LootTable

class LootTable(items: List<LootItem>, whitelist: List<NamespacedKey>, blacklist: List<NamespacedKey>)

Constructors

Link copied to clipboard
constructor(items: List<LootItem>, whitelist: List<NamespacedKey>, blacklist: List<NamespacedKey>)

Functions

Link copied to clipboard
fun getRandomItems(): List<ItemStack>
Link copied to clipboard
fun isAllowed(key: NamespacedKey): Boolean