Class ItemStackCreator

java.lang.Object
net.swofty.gui.inventory.ItemStackCreator

public class ItemStackCreator extends Object
  • Constructor Details

    • ItemStackCreator

      public ItemStackCreator()
  • Method Details

    • createNamedItemStack

      public static net.minestom.server.item.ItemStack.Builder createNamedItemStack(net.minestom.server.item.Material material, String name)
    • createNamedItemStack

      public static net.minestom.server.item.ItemStack.Builder createNamedItemStack(net.minestom.server.item.Material material)
    • getSingleLoreStack

      public static net.minestom.server.item.ItemStack.Builder getSingleLoreStack(String name, String color, net.minestom.server.item.Material material, short data, int amount, String lore)
    • getStack

      public static net.minestom.server.item.ItemStack.Builder getStack(String name, net.minestom.server.item.Material material, short data, int amount, String... lore)
    • getStack

      public static net.minestom.server.item.ItemStack.Builder getStack(String name, net.minestom.server.item.Material material, int data, int amount, List<String> lore)
    • getStackHead

      public static net.minestom.server.item.ItemStack.Builder getStackHead(String name, String texture, int amount, List<String> lore)
    • getStackHead

      public static net.minestom.server.item.ItemStack.Builder getStackHead(String name, net.minestom.server.entity.PlayerSkin skin, int amount, List<String> lore)
    • color

      public static String color(String string)