public interface Lootable
| Modifier and Type | Method and Description |
|---|---|
LootTable |
getLootTable()
Gets the Loot Table attached to this block or entity.
|
long |
getSeed()
Get the Loot Table's seed.
|
void |
setLootTable(LootTable table)
Set the loot table for a container or entity.
|
void |
setSeed(long seed)
Set the seed used when this Loot Table generates loot.
|
void setLootTable(@Nullable
LootTable table)
LootTables.EMPTY to
clear a LootTable.@Nullable LootTable getLootTable()
void setSeed(long seed)
seed - the seed to used to generate loot. Default is 0.long getSeed()
Copyright © 2022. All rights reserved.