Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.loot |
Classes relevant to loot table manipulation and generation.
|
Modifier and Type | Method | Description |
---|---|---|
static LootTable |
Bukkit.getLootTable(NamespacedKey key) |
Gets the specified
LootTable . |
LootTable |
Server.getLootTable(NamespacedKey key) |
Gets the specified
LootTable . |
Modifier and Type | Method | 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 | Description |
---|---|---|
void |
Lootable.setLootTable(LootTable table) |
Set the loot table for a container or entity.
|
Copyright © 2020. All rights reserved.