public class LootEntryTable extends LootEntry
LootEntry.Serializer| Modifier and Type | Field and Description | 
|---|---|
protected ResourceLocation | 
table  | 
conditions, entryName, quality, weight| Constructor and Description | 
|---|
LootEntryTable(ResourceLocation tableIn,
              int weightIn,
              int qualityIn,
              LootCondition[] conditionsIn,
              java.lang.String entryName)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addLoot(java.util.Collection<ItemStack> stacks,
       java.util.Random rand,
       LootContext context)  | 
static LootEntryTable | 
deserialize(com.google.gson.JsonObject object,
           com.google.gson.JsonDeserializationContext deserializationContext,
           int weightIn,
           int qualityIn,
           LootCondition[] conditionsIn)  | 
protected void | 
serialize(com.google.gson.JsonObject json,
         com.google.gson.JsonSerializationContext context)  | 
getEffectiveWeight, getEntryNameprotected final ResourceLocation table
public LootEntryTable(ResourceLocation tableIn, int weightIn, int qualityIn, LootCondition[] conditionsIn, java.lang.String entryName)
public void addLoot(java.util.Collection<ItemStack> stacks, java.util.Random rand, LootContext context)
protected void serialize(com.google.gson.JsonObject json,
                         com.google.gson.JsonSerializationContext context)
public static LootEntryTable deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext deserializationContext, int weightIn, int qualityIn, LootCondition[] conditionsIn)