java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<net.minecraft.screen.ShulkerBoxScreenHandler>
net.minecraft.client.gui.screen.ingame.ShulkerBoxScreen
meteordevelopment.meteorclient.utils.render.PeekScreen
All Implemented Interfaces:
net.minecraft.client.gui.Drawable, net.minecraft.client.gui.Element, net.minecraft.client.gui.ParentElement, net.minecraft.client.gui.screen.ingame.ScreenHandlerProvider<net.minecraft.screen.ShulkerBoxScreenHandler>

public class PeekScreen extends net.minecraft.client.gui.screen.ingame.ShulkerBoxScreen
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen

    net.minecraft.client.gui.screen.Screen.SelectedElementNarrationData
  • Field Summary

    Fields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen

    BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, y

    Fields inherited from class net.minecraft.client.gui.screen.Screen

    client, height, itemRenderer, passEvents, textRenderer, title, width

    Fields inherited from class net.minecraft.client.gui.DrawableHelper

    GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE

    Fields inherited from interface net.minecraft.client.gui.Element

    MAX_DOUBLE_CLICK_INTERVAL
  • Constructor Summary

    Constructors
    Constructor
    Description
    PeekScreen(net.minecraft.item.ItemStack storageBlock, net.minecraft.item.ItemStack[] contents)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    drawBackground(net.minecraft.client.util.math.MatrixStack matrices, float delta, int mouseX, int mouseY)
     
    boolean
    keyPressed(int keyCode, int scanCode, int modifiers)
     
    boolean
    keyReleased(int keyCode, int scanCode, int modifiers)
     
    boolean
    mouseClicked(double mouseX, double mouseY, int button)
     
    boolean
    mouseReleased(double mouseX, double mouseY, int button)
     

    Methods inherited from class net.minecraft.client.gui.screen.ingame.ShulkerBoxScreen

    render

    Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen

    close, drawForeground, drawMouseoverTooltip, drawSlotHighlight, endTouchDrag, getScreenHandler, handledScreenTick, handleHotbarKeyPressed, init, isClickOutsideBounds, isPointWithinBounds, mouseDragged, onMouseClick, removed, shouldPause, tick

    Methods inherited from class net.minecraft.client.gui.screen.Screen

    addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, updateNarrator, wrapScreenError

    Methods inherited from class net.minecraft.client.gui.AbstractParentElement

    getFocused, isDragging, setDragging, setFocused

    Methods inherited from class net.minecraft.client.gui.DrawableHelper

    disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.Element

    mouseMoved

    Methods inherited from interface net.minecraft.client.gui.ParentElement

    changeFocus, charTyped, focusOn, hoveredElement, mouseScrolled, setInitialFocus
  • Constructor Details

    • PeekScreen

      public PeekScreen(net.minecraft.item.ItemStack storageBlock, net.minecraft.item.ItemStack[] contents)
  • Method Details

    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.Element
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.ParentElement
      Overrides:
      mouseClicked in class net.minecraft.client.gui.screen.ingame.HandledScreen<net.minecraft.screen.ShulkerBoxScreenHandler>
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int button)
      Specified by:
      mouseReleased in interface net.minecraft.client.gui.Element
      Specified by:
      mouseReleased in interface net.minecraft.client.gui.ParentElement
      Overrides:
      mouseReleased in class net.minecraft.client.gui.screen.ingame.HandledScreen<net.minecraft.screen.ShulkerBoxScreenHandler>
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Specified by:
      keyPressed in interface net.minecraft.client.gui.Element
      Specified by:
      keyPressed in interface net.minecraft.client.gui.ParentElement
      Overrides:
      keyPressed in class net.minecraft.client.gui.screen.ingame.HandledScreen<net.minecraft.screen.ShulkerBoxScreenHandler>
    • keyReleased

      public boolean keyReleased(int keyCode, int scanCode, int modifiers)
    • drawBackground

      protected void drawBackground(net.minecraft.client.util.math.MatrixStack matrices, float delta, int mouseX, int mouseY)
      Overrides:
      drawBackground in class net.minecraft.client.gui.screen.ingame.ShulkerBoxScreen