public class LootingEnchantBonus extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
LootingEnchantBonus.Serializer |
Constructor and Description |
---|
LootingEnchantBonus(LootCondition[] conditions,
RandomValueRange countIn,
int limitIn) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
apply(ItemStack stack,
java.util.Random rand,
LootContext context) |
getConditions
public LootingEnchantBonus(LootCondition[] conditions, RandomValueRange countIn, int limitIn)
public ItemStack apply(ItemStack stack, java.util.Random rand, LootContext context)
apply
in class LootFunction