public class ItemSword extends Item
Item.ToolMaterialbFull3D, canRepair, 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 par1ItemStack,
ItemStack par2ItemStack) |
com.google.common.collect.Multimap |
getItemAttributeModifiers() |
int |
getItemEnchantability() |
EnumAction |
getItemUseAction(ItemStack par1ItemStack) |
int |
getMaxItemUseDuration(ItemStack par1ItemStack) |
java.lang.String |
getToolMaterialName() |
boolean |
hitEntity(ItemStack par1ItemStack,
EntityLivingBase par2EntityLivingBase,
EntityLivingBase par3EntityLivingBase) |
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 par1ItemStack,
World par2World,
EntityPlayer par3EntityPlayer) |
addInformation, canHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getItemById, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getMaxDamage, getMaxDamage, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, isBookEnchantable, isDamageable, isDamaged, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerIcons, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarpublic 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 Itempublic boolean hitEntity(ItemStack par1ItemStack, EntityLivingBase par2EntityLivingBase, EntityLivingBase par3EntityLivingBase)
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 Itempublic EnumAction getItemUseAction(ItemStack par1ItemStack)
getItemUseAction in class Itempublic int getMaxItemUseDuration(ItemStack par1ItemStack)
getMaxItemUseDuration in class Itempublic ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
onItemRightClick in class Itempublic boolean func_150897_b(Block p_150897_1_)
func_150897_b in class Itempublic int getItemEnchantability()
getItemEnchantability in class Itempublic java.lang.String getToolMaterialName()
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack)
getIsRepairable in class Itempublic com.google.common.collect.Multimap getItemAttributeModifiers()
getItemAttributeModifiers in class Item