Package net.minecraft.client.gui
Class PlayerSkinDrawer
java.lang.Object
net.minecraft.client.gui.PlayerSkinDrawer
Helper class for drawing a player's head on GUI.
- Mappings:
Namespace Name official eoy
intermediary net/minecraft/class_7532
named net/minecraft/client/gui/PlayerSkinDrawer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
draw
(MatrixStack matrices, int x, int y, int size) Draws the player's head (including the hat) on GUI.static void
draw
(MatrixStack matrices, int x, int y, int size, boolean hatVisible, boolean upsideDown) Draws the player's head on GUI.private static void
drawHat
(MatrixStack matrices, int x, int y, int size, boolean upsideDown)
-
Field Details
-
field_39525
public static final int field_39525- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leoy;a:I
intermediary field_39525
Lnet/minecraft/class_7532;field_39525:I
named field_39525
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39525:I
-
field_39526
public static final int field_39526- See Also:
- Mappings:
Namespace Name Mixin selector official b
Leoy;b:I
intermediary field_39526
Lnet/minecraft/class_7532;field_39526:I
named field_39526
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39526:I
-
field_39527
public static final int field_39527- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leoy;c:I
intermediary field_39527
Lnet/minecraft/class_7532;field_39527:I
named field_39527
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39527:I
-
field_39528
public static final int field_39528- See Also:
- Mappings:
Namespace Name Mixin selector official d
Leoy;d:I
intermediary field_39528
Lnet/minecraft/class_7532;field_39528:I
named field_39528
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39528:I
-
field_39529
public static final int field_39529- See Also:
- Mappings:
Namespace Name Mixin selector official e
Leoy;e:I
intermediary field_39529
Lnet/minecraft/class_7532;field_39529:I
named field_39529
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39529:I
-
field_39530
public static final int field_39530- See Also:
- Mappings:
Namespace Name Mixin selector official f
Leoy;f:I
intermediary field_39530
Lnet/minecraft/class_7532;field_39530:I
named field_39530
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39530:I
-
field_39531
public static final int field_39531- See Also:
- Mappings:
Namespace Name Mixin selector official g
Leoy;g:I
intermediary field_39531
Lnet/minecraft/class_7532;field_39531:I
named field_39531
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39531:I
-
field_39532
public static final int field_39532- See Also:
- Mappings:
Namespace Name Mixin selector official h
Leoy;h:I
intermediary field_39532
Lnet/minecraft/class_7532;field_39532:I
named field_39532
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39532:I
-
field_39533
public static final int field_39533- See Also:
- Mappings:
Namespace Name Mixin selector official i
Leoy;i:I
intermediary field_39533
Lnet/minecraft/class_7532;field_39533:I
named field_39533
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39533:I
-
field_39534
public static final int field_39534- See Also:
- Mappings:
Namespace Name Mixin selector official j
Leoy;j:I
intermediary field_39534
Lnet/minecraft/class_7532;field_39534:I
named field_39534
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39534:I
-
-
Constructor Details
-
PlayerSkinDrawer
public PlayerSkinDrawer()
-
-
Method Details
-
draw
Draws the player's head (including the hat) on GUI. The skin texture must be specified prior to calling by usingRenderSystem.setShaderTexture(int, net.minecraft.util.Identifier)
.- Mappings:
Namespace Name Mixin selector official a
Leoy;a(Lehe;III)V
intermediary method_44443
Lnet/minecraft/class_7532;method_44443(Lnet/minecraft/class_4587;III)V
named draw
Lnet/minecraft/client/gui/PlayerSkinDrawer;draw(Lnet/minecraft/client/util/math/MatrixStack;III)V
-
draw
public static void draw(MatrixStack matrices, int x, int y, int size, boolean hatVisible, boolean upsideDown) Draws the player's head on GUI. The skin texture must be specified prior to calling by usingRenderSystem.setShaderTexture(int, net.minecraft.util.Identifier)
.- Parameters:
hatVisible
- whether the hat should be drawnupsideDown
- whether the head should be upside down, also known as "Dinnerbone"- Mappings:
Namespace Name Mixin selector official a
Leoy;a(Lehe;IIIZZ)V
intermediary method_44445
Lnet/minecraft/class_7532;method_44445(Lnet/minecraft/class_4587;IIIZZ)V
named draw
Lnet/minecraft/client/gui/PlayerSkinDrawer;draw(Lnet/minecraft/client/util/math/MatrixStack;IIIZZ)V
-
drawHat
- Mappings:
Namespace Name Mixin selector official a
Leoy;a(Lehe;IIIZ)V
intermediary method_44444
Lnet/minecraft/class_7532;method_44444(Lnet/minecraft/class_4587;IIIZ)V
named drawHat
Lnet/minecraft/client/gui/PlayerSkinDrawer;drawHat(Lnet/minecraft/client/util/math/MatrixStack;IIIZ)V
-