public class SetContents extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
SetContents.Builder |
static class |
SetContents.Serializer |
ILootFunction.IBuilder
Modifier and Type | Field and Description |
---|---|
private java.util.List<LootEntry> |
field_215924_a |
conditions
Modifier | Constructor and Description |
---|---|
private |
SetContents(ILootCondition[] p_i51226_1_,
java.util.List<LootEntry> p_i51226_2_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
static SetContents.Builder |
func_215920_b() |
void |
func_225580_a_(ValidationTracker p_225580_1_) |
apply, builder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215858_a
getRequiredParameters
private final java.util.List<LootEntry> field_215924_a
private SetContents(ILootCondition[] p_i51226_1_, java.util.List<LootEntry> p_i51226_2_)
public ItemStack doApply(ItemStack stack, LootContext context)
doApply
in class LootFunction
public void func_225580_a_(ValidationTracker p_225580_1_)
func_225580_a_
in interface IParameterized
func_225580_a_
in class LootFunction
public static SetContents.Builder func_215920_b()