Methods
Modifier and Type |
Method and Description |
void |
addEnchantment(Enchantment ench,
int level) |
static boolean |
areItemsEqual(ItemStack stackA,
ItemStack stackB) |
static boolean |
areItemStacksEqual(ItemStack stackA,
ItemStack stackB) |
static boolean |
areItemStackTagsEqual(ItemStack stackA,
ItemStack stackB) |
boolean |
attemptDamageItem(int amount,
java.util.Random rand) |
boolean |
canDestroy(Block blockIn) |
boolean |
canEditBlocks() |
boolean |
canHarvestBlock(Block blockIn) |
boolean |
canPlaceOn(Block blockIn) |
void |
clearCustomName() |
ItemStack |
copy() |
static ItemStack |
copyItemStack(ItemStack stack) |
void |
damageItem(int amount,
EntityLivingBase entityIn) |
com.google.common.collect.Multimap |
getAttributeModifiers() |
IChatComponent |
getChatComponent() |
java.lang.String |
getDisplayName() |
NBTTagList |
getEnchantmentTagList() |
boolean |
getHasSubtypes() |
boolean |
getIsItemStackEqual(ItemStack p_179549_1_) |
Item |
getItem() |
int |
getItemDamage() |
EntityItemFrame |
getItemFrame() |
EnumAction |
getItemUseAction() |
int |
getMaxDamage() |
int |
getMaxItemUseDuration() |
int |
getMaxStackSize() |
int |
getMetadata() |
EnumRarity |
getRarity() |
int |
getRepairCost() |
float |
getStrVsBlock(Block p_150997_1_) |
NBTTagCompound |
getSubCompound(java.lang.String key,
boolean create) |
NBTTagCompound |
getTagCompound() |
java.util.List |
getTooltip(EntityPlayer playerIn,
boolean advanced) |
java.lang.String |
getUnlocalizedName() |
boolean |
hasDisplayName() |
boolean |
hasEffect() |
boolean |
hasTagCompound() |
void |
hitEntity(EntityLivingBase entityIn,
EntityPlayer playerIn) |
boolean |
interactWithEntity(EntityPlayer playerIn,
EntityLivingBase entityIn) |
boolean |
isItemDamaged() |
boolean |
isItemEnchantable() |
boolean |
isItemEnchanted() |
boolean |
isItemEqual(ItemStack other) |
boolean |
isItemStackDamageable() |
boolean |
isOnItemFrame() |
boolean |
isStackable() |
static ItemStack |
loadItemStackFromNBT(NBTTagCompound nbt) |
void |
onBlockDestroyed(World worldIn,
Block blockIn,
BlockPos pos,
EntityPlayer playerIn) |
void |
onCrafting(World worldIn,
EntityPlayer playerIn,
int amount) |
boolean |
onItemUse(EntityPlayer playerIn,
World worldIn,
BlockPos pos,
EnumFacing side,
float hitX,
float hitY,
float hitZ) |
ItemStack |
onItemUseFinish(World worldIn,
EntityPlayer playerIn) |
void |
onPlayerStoppedUsing(World worldIn,
EntityPlayer playerIn,
int timeLeft) |
void |
readFromNBT(NBTTagCompound nbt) |
void |
setItem(Item newItem) |
void |
setItemDamage(int meta) |
void |
setItemFrame(EntityItemFrame frame) |
void |
setRepairCost(int cost) |
ItemStack |
setStackDisplayName(java.lang.String displayName) |
void |
setTagCompound(NBTTagCompound nbt) |
void |
setTagInfo(java.lang.String key,
NBTBase value) |
ItemStack |
splitStack(int amount) |
java.lang.String |
toString() |
void |
updateAnimation(World worldIn,
Entity entityIn,
int inventorySlot,
boolean isCurrentItem) |
ItemStack |
useItemRightClick(World worldIn,
EntityPlayer playerIn) |
NBTTagCompound |
writeToNBT(NBTTagCompound nbt) |