Package com.plotsquared.core.plot
Class PlotItemStack
java.lang.Object
com.plotsquared.core.plot.PlotItemStack
-
Constructor Summary
ConstructorsConstructorDescriptionPlotItemStack(ItemType type, int amount, String name, String... lore) PlotItemStack(String id, int amount, String name, String... lore) -
Method Summary
-
Constructor Details
-
PlotItemStack
- Parameters:
id- String IDamount- Amount of items in the stackname- The display name of the item stacklore- The item stack lore
-
PlotItemStack
- Parameters:
type- The item typeamount- Amount of items in the stackname- The display name of the item stacklore- The item stack lore- Since:
- 6.5.0
-
-
Method Details
-
getBlockState
-
getType
-
getAmount
Returns the number of items in this stack. Valid values range from 1-255.- Returns:
- the amount of items in this stack
-
getName
Returns the given name of this stack of items. The name is displayed when hovering over the item.- Returns:
- the given name of this stack of items
-
getLore
-