public class ItemTool extends Item
Item.ToolMaterial
Modifier and Type | Field and Description |
---|---|
protected float |
efficiencyOnProperMaterial |
protected Item.ToolMaterial |
toolMaterial |
bFull3D, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Modifier | Constructor and Description |
---|---|
protected |
ItemTool(float p_i45333_1_,
Item.ToolMaterial p_i45333_2_,
java.util.Set p_i45333_3_) |
Modifier and Type | Method and Description |
---|---|
float |
func_150893_a(ItemStack p_150893_1_,
Block p_150893_2_) |
Item.ToolMaterial |
func_150913_i() |
boolean |
getIsRepairable(ItemStack p_82789_1_,
ItemStack p_82789_2_) |
Multimap |
getItemAttributeModifiers() |
int |
getItemEnchantability() |
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_) |
addInformation, canItemEditBlocks, doesContainerItemLeaveCraftingGrid, func_150897_b, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getItemById, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getSpriteNumber, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, isDamageable, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onCreated, onEaten, onItemRightClick, onItemUse, onPlayerStoppedUsing, onUpdate, registerIcons, registerItems, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
protected float efficiencyOnProperMaterial
protected Item.ToolMaterial toolMaterial
protected ItemTool(float p_i45333_1_, Item.ToolMaterial p_i45333_2_, java.util.Set p_i45333_3_)
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 Item.ToolMaterial func_150913_i()
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