public class LootTable
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
LootTable.Serializer  | 
| Modifier and Type | Field and Description | 
|---|---|
static LootTable | 
EMPTY_LOOT_TABLE  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPool(LootPool pool)  | 
void | 
fillInventory(IInventory inventory,
             java.util.Random rand,
             LootContext context)  | 
void | 
freeze()  | 
java.util.List<ItemStack> | 
generateLootForPools(java.util.Random rand,
                    LootContext context)  | 
LootPool | 
getPool(java.lang.String name)  | 
boolean | 
isFrozen()  | 
LootPool | 
removePool(java.lang.String name)  | 
public static final LootTable EMPTY_LOOT_TABLE
public LootTable(LootPool[] poolsIn)
public java.util.List<ItemStack> generateLootForPools(java.util.Random rand, LootContext context)
public void fillInventory(IInventory inventory, java.util.Random rand, LootContext context)
public void freeze()
public boolean isFrozen()
public LootPool getPool(java.lang.String name)
public LootPool removePool(java.lang.String name)
public void addPool(LootPool pool)