Class ClientTextTooltip
java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.ClientTextTooltip
- All Implemented Interfaces:
ClientTooltipComponent
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
renderText
(Font p_169943_, int p_169944_, int p_169945_, Matrix4f p_169946_, MultiBufferSource.BufferSource p_169947_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
renderImage
-
Field Details
-
text
-
-
Constructor Details
-
ClientTextTooltip
-
-
Method Details
-
getWidth
- Specified by:
getWidth
in interfaceClientTooltipComponent
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceClientTooltipComponent
-
renderText
public void renderText(Font p_169943_, int p_169944_, int p_169945_, Matrix4f p_169946_, MultiBufferSource.BufferSource p_169947_) - Specified by:
renderText
in interfaceClientTooltipComponent
-