Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.loot |
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 |
LootTables.getLootTable()
Get the
LootTable corresponding to this constant. |
LootTable |
Lootable.getLootTable()
Gets the Loot Table attached to this block or entity.
|
Modifier and Type | Method and Description |
---|---|
void |
Lootable.setLootTable(LootTable table)
Set the loot table for a container or entity.
|
default void |
Lootable.setLootTable(LootTable table,
long seed)
Set the loot table and seed for a container or entity at the same time.
|
Copyright © 2022. All rights reserved.