Class PlotItemStack

java.lang.Object
com.plotsquared.core.plot.PlotItemStack

public class PlotItemStack extends Object
  • Constructor Details

    • PlotItemStack

      public PlotItemStack(String id, int amount, String name, String... lore)
      Parameters:
      id - String ID
      amount - Amount of items in the stack
      name - The display name of the item stack
      lore - The item stack lore
    • PlotItemStack

      public PlotItemStack(ItemType type, int amount, String name, String... lore)
      Parameters:
      type - The item type
      amount - Amount of items in the stack
      name - The display name of the item stack
      lore - The item stack lore
      Since:
      6.5.0
  • Method Details

    • getBlockState

      public BlockState getBlockState()
    • getType

      public ItemType getType()
    • getAmount

      public int getAmount()
    • getName

      public String getName()
    • getLore

      public String[] getLore()