public class ItemRecord extends Item
Item.ToolMaterial
Modifier and Type | Field and Description |
---|---|
java.lang.String |
recordName |
bFull3D, delegate, field_111210_e, hasSubtypes, iconString, itemIcon, itemRand, itemRegistry, maxStackSize
Modifier | Constructor and Description |
---|---|
protected |
ItemRecord(java.lang.String p_i45350_1_) |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(ItemStack p_77624_1_,
EntityPlayer p_77624_2_,
java.util.List p_77624_3_,
boolean p_77624_4_) |
IIcon |
getIconFromDamage(int p_77617_1_) |
EnumRarity |
getRarity(ItemStack p_77613_1_) |
static ItemRecord |
getRecord(java.lang.String p_150926_0_) |
java.lang.String |
getRecordNameLocal() |
boolean |
onItemUse(ItemStack p_77648_1_,
EntityPlayer p_77648_2_,
World p_77648_3_,
int p_77648_4_,
int p_77648_5_,
int p_77648_6_,
int p_77648_7_,
float p_77648_8_,
float p_77648_9_,
float p_77648_10_) |
canItemEditBlocks, doesContainerItemLeaveCraftingGrid, func_150893_a, func_150897_b, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIconFromDamageForRenderPass, getIconIndex, getIconString, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getShareTag, getSpriteNumber, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, itemInteractionForEntity, onBlockDestroyed, onCreated, onEaten, onItemRightClick, onPlayerStoppedUsing, onUpdate, registerIcons, registerItems, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering
public IIcon getIconFromDamage(int p_77617_1_)
getIconFromDamage
in class Item
public boolean onItemUse(ItemStack p_77648_1_, EntityPlayer p_77648_2_, World p_77648_3_, int p_77648_4_, int p_77648_5_, int p_77648_6_, int p_77648_7_, float p_77648_8_, float p_77648_9_, float p_77648_10_)
public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, java.util.List p_77624_3_, boolean p_77624_4_)
addInformation
in class Item
public java.lang.String getRecordNameLocal()
public EnumRarity getRarity(ItemStack p_77613_1_)
public static ItemRecord getRecord(java.lang.String p_150926_0_)