@Environment(value=CLIENT) public class HorseScreen extends HandledScreen<HorseScreenHandler>
| Modifier and Type | Field and Description |
|---|---|
private HorseBaseEntity |
entity |
private float |
mouseX |
private float |
mouseY |
private static Identifier |
TEXTURE |
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragSlots, focusedSlot, handler, isCursorDragging, playerInventory, x, ybuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
HorseScreen(HorseScreenHandler handler,
PlayerInventory inventory,
HorseBaseEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawBackground(MatrixStack matrixStack,
float float2,
int mouseY,
int int2) |
protected void |
drawForeground(MatrixStack matrixStack,
int int2,
int int3) |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
drawMouseoverTooltip, getScreenHandler, handleHotbarKeyPressed, init, isClickOutsideBounds, isPauseScreen, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, removed, shouldCloseOnEsc, tickaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, fill, fillGradient, getZOffset, method_27535, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Identifier TEXTURE
private final HorseBaseEntity entity
private float mouseX
private float mouseY
public HorseScreen(HorseScreenHandler handler, PlayerInventory inventory, HorseBaseEntity entity)
protected void drawForeground(MatrixStack matrixStack, int int2, int int3)
drawForeground in class HandledScreen<HorseScreenHandler>protected void drawBackground(MatrixStack matrixStack, float float2, int mouseY, int int2)
drawBackground in class HandledScreen<HorseScreenHandler>public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
render in interface Drawablerender in class HandledScreen<HorseScreenHandler>