Uses of Interface
net.minecraft.client.item.TooltipContext
-
Uses of TooltipContext in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
Block.appendTooltip
(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item.void
DecoratedPotBlock.appendTooltip
(ItemStack stack, BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item.void
ShulkerBoxBlock.appendTooltip
(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item.void
SpawnerBlock.appendTooltip
(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options) Appends tooltips to a stack of this block's corresponding block item. -
Uses of TooltipContext in net.minecraft.client.item
-
Uses of TooltipContext in net.minecraft.item
Modifier and TypeMethodDescriptionvoid
AirBlockItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BannerItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BannerPatternItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BlockItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
BundleItem.appendTooltip
(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
CrossbowItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
DecorationItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
DiscFragmentItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
EnchantedBookItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
EntityBucketItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
FilledMapItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
FireworkRocketItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
FireworkStarItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
GoatHornItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
Item.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
LingeringPotionItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
MusicDiscItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
PotionItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
ShieldItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
SmithingTemplateItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
SuspiciousStewItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
TippedArrowItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.void
WrittenBookItem.appendTooltip
(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.ItemStack.getTooltip
(@Nullable PlayerEntity player, TooltipContext context)