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 named net/minecraft/client/gui/PlayerSkinDrawer
intermediary net/minecraft/class_7532
official fif
-
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
(DrawContext context, SkinTextures textures, int x, int y, int size) static void
draw
(DrawContext context, Identifier texture, int x, int y, int size) Draws the player's head (including the hat) on GUI.static void
draw
(DrawContext context, Identifier texture, int x, int y, int size, boolean hatVisible, boolean upsideDown) Draws the player's head on GUI.private static void
drawHat
(DrawContext context, Identifier texture, int x, int y, int size, boolean upsideDown)
-
Field Details
-
FACE_WIDTH
public static final int FACE_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named FACE_WIDTH
Lnet/minecraft/client/gui/PlayerSkinDrawer;FACE_WIDTH:I
intermediary field_39525
Lnet/minecraft/class_7532;field_39525:I
official a
Lfif;a:I
-
FACE_HEIGHT
public static final int FACE_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named FACE_HEIGHT
Lnet/minecraft/client/gui/PlayerSkinDrawer;FACE_HEIGHT:I
intermediary field_39526
Lnet/minecraft/class_7532;field_39526:I
official b
Lfif;b:I
-
FACE_X
public static final int FACE_X- See Also:
- Mappings:
Namespace Name Mixin selector named FACE_X
Lnet/minecraft/client/gui/PlayerSkinDrawer;FACE_X:I
intermediary field_39527
Lnet/minecraft/class_7532;field_39527:I
official c
Lfif;c:I
-
FACE_Y
public static final int FACE_Y- See Also:
- Mappings:
Namespace Name Mixin selector named FACE_Y
Lnet/minecraft/client/gui/PlayerSkinDrawer;FACE_Y:I
intermediary field_39528
Lnet/minecraft/class_7532;field_39528:I
official d
Lfif;d:I
-
FACE_OVERLAY_X
public static final int FACE_OVERLAY_X- See Also:
- Mappings:
Namespace Name Mixin selector named FACE_OVERLAY_X
Lnet/minecraft/client/gui/PlayerSkinDrawer;FACE_OVERLAY_X:I
intermediary field_39529
Lnet/minecraft/class_7532;field_39529:I
official e
Lfif;e:I
-
FACE_OVERLAY_Y
public static final int FACE_OVERLAY_Y- See Also:
- Mappings:
Namespace Name Mixin selector named FACE_OVERLAY_Y
Lnet/minecraft/client/gui/PlayerSkinDrawer;FACE_OVERLAY_Y:I
intermediary field_39530
Lnet/minecraft/class_7532;field_39530:I
official f
Lfif;f:I
-
field_39531
public static final int field_39531- See Also:
- Mappings:
Namespace Name Mixin selector named field_39531
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39531:I
intermediary field_39531
Lnet/minecraft/class_7532;field_39531:I
official g
Lfif;g:I
-
field_39532
public static final int field_39532- See Also:
- Mappings:
Namespace Name Mixin selector named field_39532
Lnet/minecraft/client/gui/PlayerSkinDrawer;field_39532:I
intermediary field_39532
Lnet/minecraft/class_7532;field_39532:I
official h
Lfif;h:I
-
SKIN_TEXTURE_WIDTH
public static final int SKIN_TEXTURE_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named SKIN_TEXTURE_WIDTH
Lnet/minecraft/client/gui/PlayerSkinDrawer;SKIN_TEXTURE_WIDTH:I
intermediary field_39533
Lnet/minecraft/class_7532;field_39533:I
official i
Lfif;i:I
-
SKIN_TEXTURE_HEIGHT
public static final int SKIN_TEXTURE_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named SKIN_TEXTURE_HEIGHT
Lnet/minecraft/client/gui/PlayerSkinDrawer;SKIN_TEXTURE_HEIGHT:I
intermediary field_39534
Lnet/minecraft/class_7532;field_39534:I
official j
Lfif;j:I
-
-
Constructor Details
-
PlayerSkinDrawer
public PlayerSkinDrawer()
-
-
Method Details
-
draw
- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/gui/PlayerSkinDrawer;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/util/SkinTextures;III)V
intermediary method_52722
Lnet/minecraft/class_7532;method_52722(Lnet/minecraft/class_332;Lnet/minecraft/class_8685;III)V
official a
Lfif;a(Lfgt;Lgqb;III)V
-
draw
Draws the player's head (including the hat) on GUI.- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/gui/PlayerSkinDrawer;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/util/Identifier;III)V
intermediary method_44443
Lnet/minecraft/class_7532;method_44443(Lnet/minecraft/class_332;Lnet/minecraft/class_2960;III)V
official a
Lfif;a(Lfgt;Lalf;III)V
-
draw
public static void draw(DrawContext context, Identifier texture, int x, int y, int size, boolean hatVisible, boolean upsideDown) Draws the player's head on GUI.- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/gui/PlayerSkinDrawer;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/util/Identifier;IIIZZ)V
intermediary method_44445
Lnet/minecraft/class_7532;method_44445(Lnet/minecraft/class_332;Lnet/minecraft/class_2960;IIIZZ)V
official a
Lfif;a(Lfgt;Lalf;IIIZZ)V
-
drawHat
private static void drawHat(DrawContext context, Identifier texture, int x, int y, int size, boolean upsideDown) - Mappings:
Namespace Name Mixin selector named drawHat
Lnet/minecraft/client/gui/PlayerSkinDrawer;drawHat(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/util/Identifier;IIIZ)V
intermediary method_44444
Lnet/minecraft/class_7532;method_44444(Lnet/minecraft/class_332;Lnet/minecraft/class_2960;IIIZ)V
official a
Lfif;a(Lfgt;Lalf;IIIZ)V
-