Uses of Interface
net.minecraft.item.Item.TooltipContext
Package
Description
-
Uses of Item.TooltipContext in net.minecraft.block
Modifier and TypeMethodDescriptionvoid
Block.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
DecoratedPotBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
ShulkerBoxBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
SpawnerBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item.void
TrialSpawnerBlock.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType options) Appends tooltips to a stack of this block's corresponding block item. -
Uses of Item.TooltipContext in net.minecraft.client.search
Modifier and TypeMethodDescriptionSearchManager.collectItemTooltips
(Stream<ItemStack> stacks, Item.TooltipContext context, TooltipType type) -
Uses of Item.TooltipContext in net.minecraft.component.type
Modifier and TypeMethodDescriptionvoid
DyedColorComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
FireworkExplosionComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
FireworksComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
ItemEnchantmentsComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
JukeboxPlayableComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
LoreComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) void
UnbreakableComponent.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) -
Uses of Item.TooltipContext in net.minecraft.item
Modifier and TypeMethodDescriptionstatic Item.TooltipContext
Item.TooltipContext.create
(RegistryWrapper.WrapperLookup registryLookup) static Item.TooltipContext
Modifier and TypeMethodDescriptionvoid
AirBlockItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
BannerItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
BannerPatternItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
BlockItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
BundleItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
CrossbowItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
DecorationItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
DiscFragmentItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
EntityBucketItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
FilledMapItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
FireworkRocketItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
FireworkStarItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
GoatHornItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
Item.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.private <T extends TooltipAppender>
voidItemStack.appendTooltip
(ComponentType<T> componentType, Item.TooltipContext context, Consumer<Text> textConsumer, TooltipType type) void
LingeringPotionItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
OminousBottleItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
PotionItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
ShieldItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
SmithingTemplateItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
SuspiciousStewItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
TippedArrowItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.void
WrittenBookItem.appendTooltip
(ItemStack stack, Item.TooltipContext context, List<Text> tooltip, TooltipType type) Called by the client to append tooltips to an item.ItemStack.getTooltip
(Item.TooltipContext context, @Nullable PlayerEntity player, TooltipType type) -
Uses of Item.TooltipContext in net.minecraft.item.tooltip
Modifier and TypeMethodDescriptionvoid
TooltipAppender.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type) -
Uses of Item.TooltipContext in net.minecraft.item.trim
Modifier and TypeMethodDescriptionvoid
ArmorTrim.appendTooltip
(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type)