Class ClientActivePlayersTooltip
java.lang.Object
net.minecraft.client.gui.screens.inventory.tooltip.ClientActivePlayersTooltip
- All Implemented Interfaces:
ClientTooltipComponent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<PlayerSkinRenderCache.RenderInfo> private static final intprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionClientActivePlayersTooltip(ClientActivePlayersTooltip.ActivePlayersTooltip activePlayersTooltip) -
Method Summary
Modifier and TypeMethodDescriptionintprivate static StringgetName(PlayerSkinRenderCache.RenderInfo activePlayer) intvoidrenderImage(Font font, int x, int y, int w, int h, GuiGraphics graphics) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientTooltipComponent
renderText, showTooltipWithItemInHand
-
Field Details
-
SKIN_SIZE
private static final int SKIN_SIZE- See Also:
-
PADDING
private static final int PADDING- See Also:
-
activePlayers
-
-
Constructor Details
-
ClientActivePlayersTooltip
public ClientActivePlayersTooltip(ClientActivePlayersTooltip.ActivePlayersTooltip activePlayersTooltip)
-
-
Method Details
-
getHeight
- Specified by:
getHeightin interfaceClientTooltipComponent
-
getName
-
getWidth
- Specified by:
getWidthin interfaceClientTooltipComponent
-
renderImage
- Specified by:
renderImagein interfaceClientTooltipComponent
-