public class SetAttributes extends LootFunction
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SetAttributes.Modifier |
static class |
SetAttributes.Serializer |
LootFunction.Builder<T extends LootFunction.Builder<T>>
ILootFunction.IBuilder
Modifier and Type | Field and Description |
---|---|
private java.util.List<SetAttributes.Modifier> |
modifiers |
conditions
Modifier | Constructor and Description |
---|---|
private |
SetAttributes(ILootCondition[] p_i51228_1_,
java.util.List<SetAttributes.Modifier> p_i51228_2_) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
apply, builder, func_225580_a_
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215858_a
getRequiredParameters
private final java.util.List<SetAttributes.Modifier> modifiers
private SetAttributes(ILootCondition[] p_i51228_1_, java.util.List<SetAttributes.Modifier> p_i51228_2_)
public ItemStack doApply(ItemStack stack, LootContext context)
doApply
in class LootFunction