Package net.swofty.gui.inventory
Class ItemStackCreator
java.lang.Object
net.swofty.gui.inventory.ItemStackCreator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static net.minestom.server.item.ItemStack.Builder
createNamedItemStack
(net.minestom.server.item.Material material) static net.minestom.server.item.ItemStack.Builder
createNamedItemStack
(net.minestom.server.item.Material material, String name) static net.minestom.server.item.ItemStack.Builder
getSingleLoreStack
(String name, String color, net.minestom.server.item.Material material, short data, int amount, String lore) static net.minestom.server.item.ItemStack.Builder
getStack
(String name, net.minestom.server.item.Material material, int data, int amount, List<String> lore) static net.minestom.server.item.ItemStack.Builder
getStack
(String name, net.minestom.server.item.Material material, short data, int amount, String... lore) static net.minestom.server.item.ItemStack.Builder
getStackHead
(String name, String texture, int amount, List<String> lore) static net.minestom.server.item.ItemStack.Builder
getStackHead
(String name, net.minestom.server.entity.PlayerSkin skin, int amount, List<String> lore)
-
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
-
getStack
-
getStack
-
getStackHead
-
getStackHead
-
color
-