public class ItemSword extends Item
Item.ToolMaterial
bFull3D, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Constructor and Description |
---|
ItemSword(Item.ToolMaterial p_i45356_1_) |
Modifier and Type | Method and Description |
---|---|
float |
func_150893_a(ItemStack p_150893_1_,
Block p_150893_2_) |
boolean |
func_150897_b(Block p_150897_1_) |
float |
func_150931_i() |
boolean |
getIsRepairable(ItemStack p_82789_1_,
ItemStack p_82789_2_) |
Multimap |
getItemAttributeModifiers() |
int |
getItemEnchantability() |
EnumAction |
getItemUseAction(ItemStack p_77661_1_) |
int |
getMaxItemUseDuration(ItemStack p_77626_1_) |
java.lang.String |
getToolMaterialName() |
boolean |
hitEntity(ItemStack p_77644_1_,
EntityLivingBase p_77644_2_,
EntityLivingBase p_77644_3_) |
boolean |
isFull3D() |
boolean |
onBlockDestroyed(ItemStack p_150894_1_,
World p_150894_2_,
Block p_150894_3_,
int p_150894_4_,
int p_150894_5_,
int p_150894_6_,
EntityLivingBase p_150894_7_) |
ItemStack |
onItemRightClick(ItemStack p_77659_1_,
World p_77659_2_,
EntityPlayer p_77659_3_) |
addInformation, canItemEditBlocks, doesContainerItemLeaveCraftingGrid, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getItemById, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSpriteNumber, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, isDamageable, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onCreated, onEaten, onItemUse, onPlayerStoppedUsing, onUpdate, registerIcons, registerItems, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
public ItemSword(Item.ToolMaterial p_i45356_1_)
public float func_150931_i()
public float func_150893_a(ItemStack p_150893_1_, Block p_150893_2_)
func_150893_a
in class Item
public boolean hitEntity(ItemStack p_77644_1_, EntityLivingBase p_77644_2_, EntityLivingBase p_77644_3_)
public boolean onBlockDestroyed(ItemStack p_150894_1_, World p_150894_2_, Block p_150894_3_, int p_150894_4_, int p_150894_5_, int p_150894_6_, EntityLivingBase p_150894_7_)
onBlockDestroyed
in class Item
public EnumAction getItemUseAction(ItemStack p_77661_1_)
getItemUseAction
in class Item
public int getMaxItemUseDuration(ItemStack p_77626_1_)
getMaxItemUseDuration
in class Item
public ItemStack onItemRightClick(ItemStack p_77659_1_, World p_77659_2_, EntityPlayer p_77659_3_)
onItemRightClick
in class Item
public boolean func_150897_b(Block p_150897_1_)
func_150897_b
in class Item
public int getItemEnchantability()
getItemEnchantability
in class Item
public java.lang.String getToolMaterialName()
public boolean getIsRepairable(ItemStack p_82789_1_, ItemStack p_82789_2_)
getIsRepairable
in class Item
public Multimap getItemAttributeModifiers()
getItemAttributeModifiers
in class Item