net.minecraft.gui.widget

public class EntityDisplayWidget

extends ClickableWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.screens.social.EntityPortraitWidget
net.minecraft.class_1_1804
net.minecraft.gui.widget.EntityDisplayWidget

Field summary

Modifier and TypeField
private final EntityRenderState
renderState
field_1_11736
state
private final float
rotationScale
field_1_11737
sensitivity

Constructor summary

ModifierConstructor
public (Text message, int width, int height, float sensitivity, EntityRenderState state)
public (int width, int height, float sensitivity, EntityRenderState state)

Method summary

Modifier and TypeMethod
protected void
updateWidgetNarration(NarrationElementOutput output)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
protected void
extractWidgetRenderState(GuiGraphicsExtractor graphics)
method_48579(class_332 arg0)
renderWidget(DrawContext arg0)
public static void
extractEntityInInventoryFollowsMouse(GuiGraphicsExtractor graphics, int x0, int y0, int x1, int y1, float size, float offsetY, float rotationScale, EntityRenderState renderState)
method_1_11392(class_332 arg0, int arg1, int arg2, int arg3, int arg4, float arg5, float arg6, float arg7, class_10017 arg8)
render(DrawContext context, int left, int top, int right, int bottom, float scale, float extraHeight, float sensitivity, EntityRenderState state)
public static void
extractEntityInInventoryFollowsMouse(GuiGraphicsExtractor graphics, int x0, int y0, int x1, int y1, float size, float offsetY, Entity entity)
method_1_11393(class_332 arg0, int arg1, int arg2, int arg3, int arg4, float arg5, float arg6, class_1297 arg7)
renderEntity(DrawContext context, int left, int top, int right, int bottom, float scale, float extraHeight, Entity entity)
private static EntityRenderState
extractRenderState(Entity entity)
method_1_11394(class_1297 arg0)
getRenderState(Entity entity)