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