Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.event.world | |
org.bukkit.loot |
Classes relevant to loot table manipulation and generation.
|
Modifier and Type | Method and Description |
---|---|
LootTable |
Server.getLootTable(NamespacedKey key)
Gets the specified
LootTable . |
static LootTable |
Bukkit.getLootTable(NamespacedKey key)
Gets the specified
LootTable . |
Modifier and Type | Method and Description |
---|---|
LootTable |
LootGenerateEvent.getLootTable()
Get the loot table used to generate loot.
|
Constructor and Description |
---|
LootGenerateEvent(World world,
Entity entity,
InventoryHolder inventoryHolder,
LootTable lootTable,
LootContext lootContext,
List<ItemStack> items,
boolean plugin) |
Modifier and Type | Method and Description |
---|---|
LootTable |
Lootable.getLootTable()
Gets the Loot Table attached to this block or entity.
|
LootTable |
LootTables.getLootTable()
Get the
LootTable corresponding to this constant. |
Modifier and Type | Method and Description |
---|---|
void |
Lootable.setLootTable(LootTable table)
Set the loot table for a container or entity.
|
Copyright © 2021. All rights reserved.