public class LootTable
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
LootTable.Builder |
static class |
LootTable.Serializer |
修飾子とタイプ | フィールドと説明 |
---|---|
static LootParameterSet |
DEFAULT_PARAMETER_SET |
static LootTable |
EMPTY_LOOT_TABLE |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addPool(LootPool pool) |
static LootTable.Builder |
builder() |
static java.util.function.Consumer<ItemStack> |
capStackSizes(java.util.function.Consumer<ItemStack> p_216124_0_) |
void |
fillInventory(IInventory p_216118_1_,
LootContext p_216118_2_) |
void |
freeze() |
void |
func_227506_a_(ValidationTracker p_227506_1_) |
java.util.List<ItemStack> |
generate(LootContext context) |
void |
generate(LootContext contextData,
java.util.function.Consumer<ItemStack> stacksOut) |
LootParameterSet |
getParameterSet() |
LootPool |
getPool(java.lang.String name) |
boolean |
isFrozen() |
void |
recursiveGenerate(LootContext context,
java.util.function.Consumer<ItemStack> stacksOut) |
LootPool |
removePool(java.lang.String name) |
public static final LootTable EMPTY_LOOT_TABLE
public static final LootParameterSet DEFAULT_PARAMETER_SET
public static java.util.function.Consumer<ItemStack> capStackSizes(java.util.function.Consumer<ItemStack> p_216124_0_)
public void recursiveGenerate(LootContext context, java.util.function.Consumer<ItemStack> stacksOut)
public void generate(LootContext contextData, java.util.function.Consumer<ItemStack> stacksOut)
public java.util.List<ItemStack> generate(LootContext context)
public LootParameterSet getParameterSet()
public void func_227506_a_(ValidationTracker p_227506_1_)
public void fillInventory(IInventory p_216118_1_, LootContext p_216118_2_)
public static LootTable.Builder builder()
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)