public interface ICustomLootFunction
LootFunction
you'll be granted access to the LootDrop
It is advised to add Conditionals,
but you can also change stack sizes or other data.
| Modifier and Type | Method and Description |
|---|---|
void |
apply(LootDrop drop)
Similar to
LootFunction.apply(ItemStack, LootContext)}
but with out all the Random and LootContext |
void apply(LootDrop drop)
LootFunction.apply(ItemStack, LootContext)}
but with out all the Random and LootContext
You only need to implement this if the the LootFunction.apply(ItemStack, LootContext)
can't be called with null random and context or if you want to do a more advanced interaction with the LootDrop
drop - the LootDrop to apply the LootFunction on