public class ItemBanner extends ItemBlock
Item.ToolMaterialIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRYdelegate| Constructor and Description |
|---|
ItemBanner() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(ItemStack stack,
EntityPlayer playerIn,
java.util.List<java.lang.String> tooltip,
boolean advanced)
allows items to add custom lines of information to the mouseover description
|
static void |
appendHoverTextFromTileEntityTag(ItemStack stack,
java.util.List<java.lang.String> p_185054_1_) |
static EnumDyeColor |
getBaseColor(ItemStack stack) |
CreativeTabs |
getCreativeTab()
gets the CreativeTab this item is displayed on
|
java.lang.String |
getItemStackDisplayName(ItemStack stack) |
void |
getSubItems(Item itemIn,
CreativeTabs tab,
NonNullList<ItemStack> subItems)
returns a list of items with the same ID, but different meta (eg: dye returns 16 items)
|
static ItemStack |
makeBanner(EnumDyeColor p_190910_0_,
NBTTagList p_190910_1_) |
EnumActionResult |
onItemUse(EntityPlayer player,
World worldIn,
BlockPos pos,
EnumHand hand,
EnumFacing facing,
float hitX,
float hitY,
float hitZ)
Called when a Block is right-clicked with this Item
|
canPlaceBlockOnSide, getBlock, getUnlocalizedName, getUnlocalizedName, placeBlockAt, setTileEntityNBTaddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic EnumActionResult onItemUse(EntityPlayer player, World worldIn, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ)
public java.lang.String getItemStackDisplayName(ItemStack stack)
getItemStackDisplayName in class Itempublic static void appendHoverTextFromTileEntityTag(ItemStack stack, java.util.List<java.lang.String> p_185054_1_)
public void addInformation(ItemStack stack, EntityPlayer playerIn, java.util.List<java.lang.String> tooltip, boolean advanced)
addInformation in class ItemBlockpublic void getSubItems(Item itemIn, CreativeTabs tab, NonNullList<ItemStack> subItems)
getSubItems in class ItemBlockpublic static ItemStack makeBanner(EnumDyeColor p_190910_0_, NBTTagList p_190910_1_)
public CreativeTabs getCreativeTab()
getCreativeTab in class ItemBlockpublic static EnumDyeColor getBaseColor(ItemStack stack)