public class SetDamage extends LootFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SetDamage.Serializer |
| Constructor and Description |
|---|
SetDamage(LootCondition[] conditionsIn,
RandomValueRange damageRangeIn) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
getConditionspublic SetDamage(LootCondition[] conditionsIn, RandomValueRange damageRangeIn)
public ItemStack apply(ItemStack stack, java.util.Random rand, LootContext context)
apply in class LootFunction