public class ItemBanner extends ItemBlock
Item.ToolMaterial
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, bFull3D, canRepair, hasSubtypes, itemRand, maxStackSize, REGISTRY
delegate
Constructor and Description |
---|
ItemBanner() |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(ItemStack stack,
World worldIn,
java.util.List<java.lang.String> tooltip,
ITooltipFlag flagIn) |
static void |
appendHoverTextFromTileEntityTag(ItemStack stack,
java.util.List<java.lang.String> p_185054_1_) |
static EnumDyeColor |
getBaseColor(ItemStack stack) |
CreativeTabs |
getCreativeTab() |
java.lang.String |
getItemStackDisplayName(ItemStack stack) |
void |
getSubItems(CreativeTabs tab,
NonNullList<ItemStack> 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) |
canPlaceBlockOnSide, getBlock, getUnlocalizedName, getUnlocalizedName, placeBlockAt, setTileEntityNBT
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getToolClasses, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, 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, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public 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 Item
public static void appendHoverTextFromTileEntityTag(ItemStack stack, java.util.List<java.lang.String> p_185054_1_)
public void addInformation(ItemStack stack, @Nullable World worldIn, java.util.List<java.lang.String> tooltip, ITooltipFlag flagIn)
addInformation
in class ItemBlock
public void getSubItems(CreativeTabs tab, NonNullList<ItemStack> items)
getSubItems
in class ItemBlock
public static ItemStack makeBanner(EnumDyeColor p_190910_0_, @Nullable NBTTagList p_190910_1_)
public CreativeTabs getCreativeTab()
getCreativeTab
in class ItemBlock
public static EnumDyeColor getBaseColor(ItemStack stack)