Uses of Interface
net.minecraft.world.item.TooltipFlag
Package
Description
-
Uses of TooltipFlag in net.minecraft.world.item
Modifier and TypeMethodDescriptionvoid
AirItem.appendHoverText
(ItemStack p_40372_, Level p_40373_, List<Component> p_40374_, TooltipFlag p_40375_) void
BannerItem.appendHoverText
(ItemStack p_40538_, Level p_40539_, List<Component> p_40540_, TooltipFlag p_40541_) void
BannerPatternItem.appendHoverText
(ItemStack p_40551_, Level p_40552_, List<Component> p_40553_, TooltipFlag p_40554_) void
BlockItem.appendHoverText
(ItemStack p_40572_, Level p_40573_, List<Component> p_40574_, TooltipFlag p_40575_) void
BundleItem.appendHoverText
(ItemStack p_150749_, Level p_150750_, List<Component> p_150751_, TooltipFlag p_150752_) void
CrossbowItem.appendHoverText
(ItemStack p_40880_, Level p_40881_, List<Component> p_40882_, TooltipFlag p_40883_) void
DiscFragmentItem.appendHoverText
(ItemStack p_220031_, Level p_220032_, List<Component> p_220033_, TooltipFlag p_220034_) void
EnchantedBookItem.appendHoverText
(ItemStack p_41157_, Level p_41158_, List<Component> p_41159_, TooltipFlag p_41160_) void
FireworkRocketItem.appendHoverText
(ItemStack p_41211_, Level p_41212_, List<Component> p_41213_, TooltipFlag p_41214_) void
FireworkStarItem.appendHoverText
(ItemStack p_41252_, Level p_41253_, List<Component> p_41254_, TooltipFlag p_41255_) void
InstrumentItem.appendHoverText
(ItemStack p_220115_, Level p_220116_, List<Component> p_220117_, TooltipFlag p_220118_) void
Item.appendHoverText
(ItemStack p_41421_, Level p_41422_, List<Component> p_41423_, TooltipFlag p_41424_) void
LingeringPotionItem.appendHoverText
(ItemStack p_42838_, Level p_42839_, List<Component> p_42840_, TooltipFlag p_42841_) void
MapItem.appendHoverText
(ItemStack p_42880_, Level p_42881_, List<Component> p_42882_, TooltipFlag p_42883_) void
MobBucketItem.appendHoverText
(ItemStack p_151155_, Level p_151156_, List<Component> p_151157_, TooltipFlag p_151158_) void
PotionItem.appendHoverText
(ItemStack p_42988_, Level p_42989_, List<Component> p_42990_, TooltipFlag p_42991_) void
RecordItem.appendHoverText
(ItemStack p_43043_, Level p_43044_, List<Component> p_43045_, TooltipFlag p_43046_) void
ShieldItem.appendHoverText
(ItemStack p_43094_, Level p_43095_, List<Component> p_43096_, TooltipFlag p_43097_) void
TippedArrowItem.appendHoverText
(ItemStack p_43359_, Level p_43360_, List<Component> p_43361_, TooltipFlag p_43362_) void
WrittenBookItem.appendHoverText
(ItemStack p_43457_, Level p_43458_, List<Component> p_43459_, TooltipFlag p_43460_) ItemStack.getTooltipLines
(Player p_41652_, TooltipFlag p_41653_) -
Uses of TooltipFlag in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionvoid
Block.appendHoverText
(ItemStack p_49816_, BlockGetter p_49817_, List<Component> p_49818_, TooltipFlag p_49819_) void
ShulkerBoxBlock.appendHoverText
(ItemStack p_56193_, BlockGetter p_56194_, List<Component> p_56195_, TooltipFlag p_56196_) -
Uses of TooltipFlag in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionvoid
CustomTooltipTest.CustomItemWithTooltip.appendHoverText
(ItemStack stack, @Nullable Level level, List<Component> components, TooltipFlag flag) -
Uses of TooltipFlag in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic ItemTooltipEvent
ForgeEventFactory.onItemTooltip
(ItemStack itemStack, @Nullable Player entityPlayer, List<Component> list, TooltipFlag flags) -
Uses of TooltipFlag in net.minecraftforge.event.entity.player
Modifier and TypeMethodDescriptionItemTooltipEvent.getFlags()
Use to determine if the advanced information on item tooltips is being shown, toggled by F3+H.ModifierConstructorDescriptionItemTooltipEvent
(@NotNull ItemStack itemStack, @Nullable Player player, List<Component> list, TooltipFlag flags) This event is fired inItemStack.getTooltipLines(Player, TooltipFlag)
, which in turn is called from its respective GUIContainer.