Class SmallClientTooltipComponent
java.lang.Object
com.refinedmods.refinedstorage.screen.grid.SmallClientTooltipComponent
- All Implemented Interfaces:
net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
public class SmallClientTooltipComponent
extends Object
implements net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
-
Constructor Summary
ConstructorDescriptionSmallClientTooltipComponent
(net.minecraft.network.chat.Component component, float scale) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getWidth
(net.minecraft.client.gui.Font font) void
renderText
(net.minecraft.client.gui.Font font, int x, int y, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer) 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
-
Constructor Details
-
SmallClientTooltipComponent
public SmallClientTooltipComponent(net.minecraft.network.chat.Component component, float scale)
-
-
Method Details
-
renderText
public void renderText(net.minecraft.client.gui.Font font, int x, int y, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer) - Specified by:
renderText
in interfacenet.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacenet.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
-
getWidth
public int getWidth(net.minecraft.client.gui.Font font) - Specified by:
getWidth
in interfacenet.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
-