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.screens
Method parameters in net.minecraft.client.gui.screens with type arguments of type ClientTooltipComponentModifier and TypeMethodDescriptionprivate void
Screen.renderTooltipInternal
(PoseStack p_169384_, List<ClientTooltipComponent> p_169385_, int p_169386_, int p_169387_) -
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, @Nullable Font forcedFont, Font fallbackFont) static List<ClientTooltipComponent>
ForgeHooksClient.gatherTooltipComponents
(ItemStack stack, List<? extends FormattedText> textElements, Optional<TooltipComponent> itemComponent, int mouseX, int screenWidth, int screenHeight, @Nullable Font forcedFont, Font fallbackFont) Method parameters in net.minecraftforge.client with type arguments of type ClientTooltipComponentModifier and TypeMethodDescriptionstatic RenderTooltipEvent.Color
ForgeHooksClient.onRenderTooltipColor
(@NotNull ItemStack stack, PoseStack poseStack, int x, int y, @NotNull Font font, @NotNull List<ClientTooltipComponent> components) static RenderTooltipEvent.Pre
ForgeHooksClient.onRenderTooltipPre
(@NotNull ItemStack stack, PoseStack poseStack, int x, int y, int screenWidth, int screenHeight, @NotNull List<ClientTooltipComponent> components, @Nullable Font forcedFont, @NotNull Font fallbackFont) -
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, PoseStack poseStack, int x, int y, @NotNull Font fr, int background, int borderStart, int borderEnd, @NotNull List<ClientTooltipComponent> components) Pre
(@NotNull ItemStack stack, PoseStack poseStack, int x, int y, int screenWidth, int screenHeight, @NotNull Font font, @NotNull List<ClientTooltipComponent> components) RegisterClientTooltipComponentFactoriesEvent
(Map<Class<? extends TooltipComponent>, Function<TooltipComponent, ClientTooltipComponent>> factories) protected
RenderTooltipEvent
(@NotNull ItemStack itemStack, PoseStack poseStack, 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