net.minecraft.client.gui.widget

public class PlayerSkinWidget

extends ClickableWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.components.PlayerSkinWidget
net.minecraft.class_8765
net.minecraft.client.gui.widget.PlayerSkinWidget

Field summary

Modifier and TypeField
private static final float
MODEL_HEIGHT
field_45997
field_45997
private static final float
FIT_SCALE
field_59833
field_59833
private static final float
ROTATION_SENSITIVITY
field_45999
field_45999
private static final float
DEFAULT_ROTATION_X
field_46000
field_46000
private static final float
DEFAULT_ROTATION_Y
field_46001
field_46001
private static final float
ROTATION_X_LIMIT
field_46002
field_46002
private final PlayerEntityModel
wideModel
field_59834
wideModel
private final PlayerEntityModel
slimModel
field_59835
slimModel
private final Supplier<SkinTextures>
skin
field_46004
skinSupplier
private float
rotationX
field_46005
xRotation
private float
rotationY
field_46006
yRotation

Constructor summary

ModifierConstructor
public (int width, int height, LoadedEntityModels entityModels, Supplier<SkinTextures> skinSupplier)

Method summary

Modifier and TypeMethod
protected void
extractWidgetRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
onDrag(MouseButtonEvent event, double dx, double dy)
method_25349(class_11909 arg0, double arg1, double arg2)
onDrag(Click arg0, double arg1, double arg2)
public void
playDownSound(SoundManager soundManager)
method_25354(class_1144 arg0)
playDownSound(SoundManager arg0)
protected void
updateWidgetNarration(NarrationElementOutput output)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public GuiNavigationPath
nextFocusPath(FocusNavigationEvent navigationEvent)
method_48205(class_8023 arg0)
getNavigationPath(GuiNavigation arg0)