mirror of
https://github.com/songoda/UltimateStacker.git
synced 2025-02-18 12:21:20 +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);
|
@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);
|
@Nullable StackedItem createStack(ItemStack item, Location location, int amount, LivingEntity killed);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user