Uses of Interface
net.minecraft.client.item.TooltipContext
Packages that use TooltipContext
Package
Description
-
Uses of TooltipContext in net.minecraft.block
Methods in net.minecraft.block with parameters of type TooltipContextModifier and TypeMethodDescriptionvoidBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options, @Nullable DynamicRegistryManager registryManager) Appends tooltips to a stack of this block's corresponding block item.voidDecoratedPotBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options, @Nullable DynamicRegistryManager registryManager) Appends tooltips to a stack of this block's corresponding block item.voidShulkerBoxBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options, @Nullable DynamicRegistryManager registryManager) Appends tooltips to a stack of this block's corresponding block item.voidSpawnerBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options, @Nullable DynamicRegistryManager registryManager) Appends tooltips to a stack of this block's corresponding block item.voidTrialSpawnerBlock.appendTooltip(ItemStack stack, @Nullable BlockView world, List<Text> tooltip, TooltipContext options, @Nullable DynamicRegistryManager registryManager) Appends tooltips to a stack of this block's corresponding block item. -
Uses of TooltipContext in net.minecraft.client.item
Classes in net.minecraft.client.item that implement TooltipContext -
Uses of TooltipContext in net.minecraft.component.type
Methods in net.minecraft.component.type with parameters of type TooltipContextModifier and TypeMethodDescriptionvoidDyedColorComponent.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) voidFireworkExplosionComponent.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) voidFireworksComponent.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) voidItemEnchantmentsComponent.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) voidLoreComponent.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) voidUnbreakableComponent.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) -
Uses of TooltipContext in net.minecraft.item
Methods in net.minecraft.item with parameters of type TooltipContextModifier and TypeMethodDescriptionvoidAirBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBannerItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBannerPatternItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBlockItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidBundleItem.appendTooltip(ItemStack stack, World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidCrossbowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidDecorationItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidDiscFragmentItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidEntityBucketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFilledMapItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFireworkRocketItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidFireworkStarItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidGoatHornItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.private <T extends TooltipAppender>
voidItemStack.appendTooltip(DataComponentType<T> componentType, Consumer<Text> textConsumer, TooltipContext context) voidLingeringPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidMusicDiscItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidPotionItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidShieldItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidSmithingTemplateItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidSuspiciousStewItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidTippedArrowItem.appendTooltip(ItemStack stack, @Nullable World world, List<Text> tooltip, TooltipContext context) Called by the client to append tooltips to an item.voidTooltipAppender.appendTooltip(Consumer<Text> textConsumer, TooltipContext context) voidWrittenBookItem.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) -
Uses of TooltipContext in net.minecraft.item.trim
Methods in net.minecraft.item.trim with parameters of type TooltipContextModifier and TypeMethodDescriptionvoidArmorTrim.appendTooltip(Consumer<Text> textConsumer, TooltipContext context)