Class BukkitItemBuilder

java.lang.Object
me.hsgamer.hscore.minecraft.item.ItemBuilder<org.bukkit.inventory.ItemStack>
me.hsgamer.hscore.bukkit.item.BukkitItemBuilder

public class BukkitItemBuilder extends ItemBuilder<org.bukkit.inventory.ItemStack>
The item builder
  • Constructor Details

    • BukkitItemBuilder

      public BukkitItemBuilder()
      Create a new builder
    • BukkitItemBuilder

      public BukkitItemBuilder(org.bukkit.inventory.ItemStack defaultItemStack)
      Create a new builder with the default item
      Parameters:
      defaultItemStack - the default item
    • BukkitItemBuilder

      public BukkitItemBuilder(org.bukkit.Material material)
      Create a new builder with the default item
      Parameters:
      material - the Material of the default item
  • Method Details

    • getDefaultItem

      @NotNull protected @NotNull org.bukkit.inventory.ItemStack getDefaultItem()
      Description copied from class: ItemBuilder
      Get the default item
      Specified by:
      getDefaultItem in class ItemBuilder<org.bukkit.inventory.ItemStack>
      Returns:
      the default item