public class CartographyTableScreen extends ContainerScreen<CartographyContainer>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
CONTAINER_TEXTURE |
container, dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, playerInventory, slotColor, xSize, ySize
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
CartographyTableScreen(CartographyContainer screenContainer,
PlayerInventory inv,
ITextComponent titleIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
private void |
drawMap(MapData mapDataIn,
boolean isMap,
boolean isPaper,
boolean isGlassPane,
boolean isLocked) |
private void |
drawMapItem(MapData mapDataIn,
int x,
int y,
float scale) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
func_195363_d, getContainer, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, init, isPauseScreen, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, removed, renderHoveredToolTip, shouldCloseOnEsc, tick
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseScrolled, setFocusedDefault
mouseMoved
private static final ResourceLocation CONTAINER_TEXTURE
public CartographyTableScreen(CartographyContainer screenContainer, PlayerInventory inv, ITextComponent titleIn)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class ContainerScreen<CartographyContainer>
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class ContainerScreen<CartographyContainer>
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class ContainerScreen<CartographyContainer>
private void drawMap(@Nullable MapData mapDataIn, boolean isMap, boolean isPaper, boolean isGlassPane, boolean isLocked)
private void drawMapItem(@Nullable MapData mapDataIn, int x, int y, float scale)