mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-26 12:05:50 +01:00
Add javadocs
This commit is contained in:
parent
e47ec63db4
commit
d8fe8df575
@ -21,6 +21,14 @@ public interface StackedItemManager {
|
||||
*/
|
||||
@NotNull StackedItem getStackedItem(Item item);
|
||||
|
||||
/**
|
||||
* Create a new StackedItem for the given ItemStack
|
||||
* @param item The ItemStack to create the stack for
|
||||
* @param location The location to spawn the stack
|
||||
* @param amount The amount of items in the stack
|
||||
* @param killed The entity that is dropping the item
|
||||
* @return The StackedItem for the given Item or null if it could not be created
|
||||
*/
|
||||
@Nullable StackedItem createStack(ItemStack item, Location location, int amount, LivingEntity killed);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user