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