mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +01:00
Added docs to PlotItemStack
This commit is contained in:
parent
7c328095d7
commit
665f5251bf
@ -67,14 +67,25 @@ public class PlotItemStack {
|
|||||||
return this.type;
|
return this.type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the number of items in this stack.
|
||||||
|
* Valid values range from 1-255.
|
||||||
|
*
|
||||||
|
* @return the amount of items in this stack
|
||||||
|
*/
|
||||||
public int getAmount() {
|
public int getAmount() {
|
||||||
return amount;
|
return amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the given name of this stack of items. The name is displayed when
|
||||||
|
* hovering over the item.
|
||||||
|
*
|
||||||
|
* @return the given name of this stack of items
|
||||||
|
*/
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] getLore() {
|
public String[] getLore() {
|
||||||
return lore;
|
return lore;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user