public class BukkitItemStack extends Object implements AbstractItemStack, Cloneable
Constructor and Description |
---|
BukkitItemStack(org.bukkit.inventory.ItemStack stack) |
BukkitItemStack(org.bukkit.Material m) |
BukkitItemStack(String type) |
Modifier and Type | Method and Description |
---|---|
BukkitItemStack |
amount(int a) |
org.bukkit.inventory.ItemStack |
build() |
BukkitItemStack |
clone() |
BukkitItemStack |
color(String color) |
BukkitItemStack |
colorData(org.bukkit.DyeColor dc) |
BukkitItemStack |
data(int d)
Deprecated.
|
BukkitItemStack |
display(String d) |
BukkitItemStack |
durability(int d) |
BukkitItemStack |
enchant(org.bukkit.enchantments.Enchantment ench,
int level) |
int |
getAmount() |
CompoundTag |
getNBT() |
BukkitItemStack |
lore(List<String> lores) |
BukkitItemStack |
lore(String[] lore) |
BukkitItemStack |
setOwner(String owner) |
BukkitItemStack |
setSkullTexture(String texture) |
String |
toString() |
public BukkitItemStack(String type)
public BukkitItemStack(org.bukkit.Material m)
public BukkitItemStack(org.bukkit.inventory.ItemStack stack)
public BukkitItemStack durability(int d)
@Deprecated public BukkitItemStack data(int d)
public BukkitItemStack amount(int a)
public BukkitItemStack colorData(org.bukkit.DyeColor dc)
public BukkitItemStack color(String color)
public BukkitItemStack display(String d)
public BukkitItemStack lore(String[] lore)
public BukkitItemStack lore(List<String> lores)
public BukkitItemStack enchant(org.bukkit.enchantments.Enchantment ench, int level)
public BukkitItemStack setOwner(String owner)
public BukkitItemStack setSkullTexture(String texture)
public int getAmount()
public CompoundTag getNBT()
public org.bukkit.inventory.ItemStack build()
public BukkitItemStack clone()
Copyright © 2020. All rights reserved.