Interface TooltipEvent.RenderVanilla
- Enclosing interface:
- TooltipEvent
@Environment(CLIENT)
public static interface TooltipEvent.RenderVanilla
- 
Method SummaryModifier and TypeMethodDescriptionnet.minecraft.world.InteractionResultrenderTooltip(com.mojang.blaze3d.vertex.PoseStack matrices, List<? extends net.minecraft.util.FormattedCharSequence> texts, int x, int y) Invoked before the tooltip for a tooltip is rendered.
- 
Method Details- 
renderTooltipnet.minecraft.world.InteractionResult renderTooltip(com.mojang.blaze3d.vertex.PoseStack matrices, List<? extends net.minecraft.util.FormattedCharSequence> texts, int x, int y) Invoked before the tooltip for a tooltip is rendered.This is not invoked on Forge due to fundamental differencesin Forge and vanilla tooltip logic.- Parameters:
- matrices- The pose stack.
- texts- The mutable list of components that are rendered.
- x- The x-coordinate of the tooltip.
- y- The y-coordinate of the tooltip.
- Returns:
- Returning InteractionResult.FAILcancels the rendering.
 
 
-