public class LootingEnchantBonus extends LootFunction
Modifier and Type | Class and Description |
---|---|
static class |
LootingEnchantBonus.Builder |
static class |
LootingEnchantBonus.Serializer |
ILootFunction.IBuilder
conditions
Modifier and Type | Method and Description |
---|---|
ItemStack |
doApply(ItemStack stack,
LootContext context) |
static LootingEnchantBonus.Builder |
func_215915_a(RandomValueRange p_215915_0_) |
java.util.Set<LootParameter<?>> |
getRequiredParameters() |
apply, builder, func_215856_a
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_215858_a
public java.util.Set<LootParameter<?>> getRequiredParameters()
public ItemStack doApply(ItemStack stack, LootContext context)
doApply
in class LootFunction
public static LootingEnchantBonus.Builder func_215915_a(RandomValueRange p_215915_0_)