@Environment(value=CLIENT) public class CartographyTableScreen extends HandledScreen<CartographyTableScreenHandler>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragSlots, focusedSlot, handler, isCursorDragging, playerInventory, x, y
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
CartographyTableScreen(CartographyTableScreenHandler handler,
PlayerInventory inventory,
Text title) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground(float delta,
int mouseX,
int mouseY) |
protected void |
drawForeground(int mouseX,
int mouseY) |
private void |
drawMap(MapState mapState,
boolean isMap,
boolean isPaper,
boolean isGlassPane,
boolean bool) |
private void |
drawMap(MapState state,
int x,
int y,
float size) |
void |
render(int mouseX,
int mouseY,
float delta) |
drawMouseoverTooltip, getScreenHandler, handleHotbarKeyPressed, init, isClickOutsideBounds, isPauseScreen, isPointWithinBounds, keyPressed, mouseClicked, mouseDragged, mouseReleased, onMouseClick, removed, shouldCloseOnEsc, tick
addButton, 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, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseScrolled, setInitialFocus
mouseMoved
private static final Identifier TEXTURE
public CartographyTableScreen(CartographyTableScreenHandler handler, PlayerInventory inventory, Text title)
public void render(int mouseX, int mouseY, float delta)
render
in interface Drawable
render
in class HandledScreen<CartographyTableScreenHandler>
protected void drawForeground(int mouseX, int mouseY)
drawForeground
in class HandledScreen<CartographyTableScreenHandler>
protected void drawBackground(float delta, int mouseX, int mouseY)
drawBackground
in class HandledScreen<CartographyTableScreenHandler>
private void drawMap(@Nullable MapState mapState, boolean isMap, boolean isPaper, boolean isGlassPane, boolean bool)