Uses of Interface
net.minecraft.world.inventory.tooltip.TooltipComponent
Package
Description
-
Uses of TooltipComponent in net.minecraft.client.gui.screens
Modifier and TypeMethodDescriptionvoid
Screen.renderTooltip(PoseStack p_169389_, List<Component> p_169390_, Optional<TooltipComponent> p_169391_, int p_169392_, int p_169393_)
void
Screen.renderTooltip(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, Font font)
void
Screen.renderTooltip(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, Font font, ItemStack stack)
void
Screen.renderTooltip(PoseStack poseStack, List<Component> textComponents, Optional<TooltipComponent> tooltipComponent, int x, int y, ItemStack stack)
-
Uses of TooltipComponent in net.minecraft.client.gui.screens.inventory.tooltip
Modifier and TypeMethodDescriptionstatic ClientTooltipComponent
ClientTooltipComponent.create(TooltipComponent p_169951_)
-
Uses of TooltipComponent in net.minecraft.world.inventory.tooltip
-
Uses of TooltipComponent in net.minecraft.world.item
Modifier and TypeMethodDescriptionBundleItem.getTooltipImage(ItemStack p_150775_)
Item.getTooltipImage(ItemStack p_150902_)
ItemStack.getTooltipImage()
-
Uses of TooltipComponent in net.minecraftforge.client
Modifier and TypeFieldDescriptionprivate static Map<Class<? extends TooltipComponent>,Function<TooltipComponent,ClientTooltipComponent>>
MinecraftForgeClient.tooltipComponentFactories
private static Map<Class<? extends TooltipComponent>,Function<TooltipComponent,ClientTooltipComponent>>
MinecraftForgeClient.tooltipComponentFactories
Modifier and TypeMethodDescriptionstatic <T extends TooltipComponent>
voidMinecraftForgeClient.registerTooltipComponentFactory(Class<T> cls, Function<? super T,? extends ClientTooltipComponent> factory)
Register a factory for ClientTooltipComponents.Modifier and TypeMethodDescriptionstatic ClientTooltipComponent
MinecraftForgeClient.getClientTooltipComponent(TooltipComponent component)
Modifier and TypeMethodDescriptionstatic List<ClientTooltipComponent>
ForgeHooksClient.gatherTooltipComponents(ItemStack stack, List<? extends FormattedText> textElements, Optional<TooltipComponent> itemComponent, int mouseX, int screenWidth, int screenHeight, Font forcedFont, Font fallbackFont)
-
Uses of TooltipComponent in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate List<com.mojang.datafixers.util.Either<FormattedText,TooltipComponent>>
RenderTooltipEvent.GatherComponents.tooltipElements
Modifier and TypeMethodDescriptionList<com.mojang.datafixers.util.Either<FormattedText,TooltipComponent>>
RenderTooltipEvent.GatherComponents.getTooltipElements()
The elements to be rendered.ModifierConstructorDescriptionGatherComponents(ItemStack stack, int screenWidth, int screenHeight, List<com.mojang.datafixers.util.Either<FormattedText,TooltipComponent>> tooltipElements, int maxWidth)
-
Uses of TooltipComponent in net.minecraftforge.debug.client
Modifier and TypeMethodDescriptionCustomTooltipTest.CustomItemWithTooltip.getTooltipImage(ItemStack stack)