Uses of Interface
net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
Packages that use ClientTooltipComponent
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ClientTooltipComponent in net.minecraft.client.gui
Method parameters in net.minecraft.client.gui with type arguments of type ClientTooltipComponentModifier and TypeMethodDescriptionprivate void
GuiGraphics.renderTooltipInternal
(Font p_282675_, List<ClientTooltipComponent> p_282615_, int p_283230_, int p_283417_, ClientTooltipPositioner p_282442_) -
Uses of ClientTooltipComponent in net.minecraft.client.gui.screens.inventory.tooltip
Classes in net.minecraft.client.gui.screens.inventory.tooltip that implement ClientTooltipComponentMethods in net.minecraft.client.gui.screens.inventory.tooltip that return ClientTooltipComponentModifier and TypeMethodDescriptionstatic ClientTooltipComponent
ClientTooltipComponent.create
(FormattedCharSequence p_169949_) static ClientTooltipComponent
ClientTooltipComponent.create
(TooltipComponent p_169951_) -
Uses of ClientTooltipComponent in net.minecraftforge.client
Methods in net.minecraftforge.client that return types with arguments of type ClientTooltipComponentModifier and TypeMethodDescriptionstatic List<ClientTooltipComponent>
ForgeHooksClient.gatherTooltipComponents
(ItemStack stack, List<? extends FormattedText> textElements, int mouseX, int screenWidth, int screenHeight, Font fallbackFont) static List<ClientTooltipComponent>
ForgeHooksClient.gatherTooltipComponents
(ItemStack stack, List<? extends FormattedText> textElements, Optional<TooltipComponent> itemComponent, int mouseX, int screenWidth, int screenHeight, Font fallbackFont) private static Stream<ClientTooltipComponent>
ForgeHooksClient.splitLine
(FormattedText text, Font font, int maxWidth) Method parameters in net.minecraftforge.client with type arguments of type ClientTooltipComponentModifier and TypeMethodDescriptionstatic RenderTooltipEvent.Color
ForgeHooksClient.onRenderTooltipColor
(@NotNull ItemStack stack, GuiGraphics graphics, int x, int y, @NotNull Font font, @NotNull List<ClientTooltipComponent> components) static RenderTooltipEvent.Pre
ForgeHooksClient.onRenderTooltipPre
(@NotNull ItemStack stack, GuiGraphics graphics, int x, int y, int screenWidth, int screenHeight, @NotNull List<ClientTooltipComponent> components, @NotNull Font fallbackFont, @NotNull ClientTooltipPositioner positioner) -
Uses of ClientTooltipComponent in net.minecraftforge.client.event
Fields in net.minecraftforge.client.event with type parameters of type ClientTooltipComponentModifier and TypeFieldDescriptionprotected final List<ClientTooltipComponent>
RenderTooltipEvent.components
private final Map<Class<? extends TooltipComponent>,
Function<TooltipComponent, ClientTooltipComponent>> RegisterClientTooltipComponentFactoriesEvent.factories
Methods in net.minecraftforge.client.event that return types with arguments of type ClientTooltipComponentModifier and TypeMethodDescription@NotNull List<ClientTooltipComponent>
RenderTooltipEvent.getComponents()
Returns the unmodifiable list of tooltip components.Method parameters in net.minecraftforge.client.event with type arguments of type ClientTooltipComponentModifier and TypeMethodDescription<T extends TooltipComponent>
voidRegisterClientTooltipComponentFactoriesEvent.register
(Class<T> type, Function<? super T, ? extends ClientTooltipComponent> factory) Registers aClientTooltipComponent
factory for aTooltipComponent
.Constructor parameters in net.minecraftforge.client.event with type arguments of type ClientTooltipComponentModifierConstructorDescriptionColor
(@NotNull ItemStack stack, GuiGraphics graphics, int x, int y, @NotNull Font fr, int background, int borderStart, int borderEnd, @NotNull List<ClientTooltipComponent> components) Pre
(@NotNull ItemStack stack, GuiGraphics graphics, int x, int y, int screenWidth, int screenHeight, @NotNull Font font, @NotNull List<ClientTooltipComponent> components, @NotNull ClientTooltipPositioner positioner) RegisterClientTooltipComponentFactoriesEvent
(Map<Class<? extends TooltipComponent>, Function<TooltipComponent, ClientTooltipComponent>> factories) protected
RenderTooltipEvent
(@NotNull ItemStack itemStack, GuiGraphics graphics, int x, int y, @NotNull Font font, @NotNull List<ClientTooltipComponent> components) -
Uses of ClientTooltipComponent in net.minecraftforge.client.gui
Fields in net.minecraftforge.client.gui with type parameters of type ClientTooltipComponentModifier and TypeFieldDescriptionprivate static com.google.common.collect.ImmutableMap<Class<? extends TooltipComponent>,
Function<TooltipComponent, ClientTooltipComponent>> ClientTooltipComponentManager.FACTORIES
Methods in net.minecraftforge.client.gui that return ClientTooltipComponentModifier and TypeMethodDescriptionstatic @Nullable ClientTooltipComponent
ClientTooltipComponentManager.createClientTooltipComponent
(TooltipComponent component) Creates a client component for the given argument, or null if unsupported. -
Uses of ClientTooltipComponent in net.minecraftforge.debug.client
Classes in net.minecraftforge.debug.client that implement ClientTooltipComponentModifier and TypeClassDescription(package private) static final record