Class PlayerFaceRenderer
java.lang.Object
net.minecraft.client.gui.components.PlayerFaceRenderer
-
Field Summary
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
draw
(GuiGraphics pGuiGraphics, PlayerSkin pSkin, int pX, int pY, int pSize) static void
draw
(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize) static void
draw
(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize, boolean pDrawHat, boolean pUpsideDown) private static void
drawHat
(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize, boolean pUpsideDown)
-
Field Details
-
SKIN_HEAD_U
public static final int SKIN_HEAD_U- See Also:
-
SKIN_HEAD_V
public static final int SKIN_HEAD_V- See Also:
-
SKIN_HEAD_WIDTH
public static final int SKIN_HEAD_WIDTH- See Also:
-
SKIN_HEAD_HEIGHT
public static final int SKIN_HEAD_HEIGHT- See Also:
-
SKIN_HAT_U
public static final int SKIN_HAT_U- See Also:
-
SKIN_HAT_V
public static final int SKIN_HAT_V- See Also:
-
SKIN_HAT_WIDTH
public static final int SKIN_HAT_WIDTH- See Also:
-
SKIN_HAT_HEIGHT
public static final int SKIN_HAT_HEIGHT- See Also:
-
SKIN_TEX_WIDTH
public static final int SKIN_TEX_WIDTH- See Also:
-
SKIN_TEX_HEIGHT
public static final int SKIN_TEX_HEIGHT- See Also:
-
-
Constructor Details
-
PlayerFaceRenderer
public PlayerFaceRenderer()
-
-
Method Details
-
draw
-
draw
public static void draw(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize) -
draw
public static void draw(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize, boolean pDrawHat, boolean pUpsideDown) -
drawHat
private static void drawHat(GuiGraphics pGuiGraphics, ResourceLocation pAtlasLocation, int pX, int pY, int pSize, boolean pUpsideDown)
-