public class SetDamage extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
SetDamage.Serializer |
LootFunction.Builder<T extends LootFunction.Builder<T>>
ILootFunction.IBuilder
conditions
Modifier and Type | Method and Description |
---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
static LootFunction.Builder<?> |
func_215931_a(RandomValueRange p_215931_0_) |
apply, builder, func_215856_a
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215858_a
getRequiredParameters
public ItemStack doApply(ItemStack stack, LootContext context)
doApply
in class LootFunction
public static LootFunction.Builder<?> func_215931_a(RandomValueRange p_215931_0_)