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