public class ItemNameTag extends Item
Item.ToolMaterial
bFull3D, hasSubtypes, itemModifierUUID, itemRand, itemRegistry, maxStackSize
Constructor and Description |
---|
ItemNameTag() |
Modifier and Type | Method and Description |
---|---|
boolean |
itemInteractionForEntity(ItemStack stack,
EntityPlayer playerIn,
EntityLivingBase target)
Returns true if the item can be used on the given entity, e.g.
|
addInformation, canHarvestBlock, canItemEditBlocks, getByNameOrId, getColorFromItemStack, getContainerItem, getCreativeTab, getHasSubtypes, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getShareTag, getStrVsBlock, getSubItems, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasEffect, hitEntity, isDamageable, isFull3D, isItemTool, isMap, isPotionIngredient, onBlockDestroyed, onCreated, onItemRightClick, onItemUse, onItemUseFinish, onPlayerStoppedUsing, onUpdate, registerItemBlock, registerItems, setContainerItem, setCreativeTab, setFull3D, setHasSubtypes, setMaxDamage, setMaxStackSize, setPotionEffect, setUnlocalizedName, shouldRotateAroundWhenRendering, updateItemStackNBT
public boolean itemInteractionForEntity(ItemStack stack, EntityPlayer playerIn, EntityLivingBase target)
itemInteractionForEntity
in class Item