Class QuickShareDownloadScreen

java.lang.Object
io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen
io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreenPlus
io.github.thecsdev.betterstats.client.gui.screen.QuickShareDownloadScreen
All Implemented Interfaces:
io.github.thecsdev.tcdcommons.api.client.gui.TParentElement, io.github.thecsdev.tcdcommons.api.client.util.interfaces.IParentScreenProvider, io.github.thecsdev.tcdcommons.api.util.interfaces.IEnableStateProvider

public class QuickShareDownloadScreen extends io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreenPlus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     

    Fields inherited from class io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen

    children, client, title

    Fields inherited from interface io.github.thecsdev.tcdcommons.api.client.gui.TParentElement

    MAX_CHILD_NESTING_DEPTH
  • Constructor Summary

    Constructors
    Constructor
    Description
    QuickShareDownloadScreen(@Nullable net.minecraft.client.gui.screen.Screen bssParent, @Nullable net.minecraft.client.gui.screen.Screen parent, String quickShareCode)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static final void
    addTelemetryData(com.google.gson.JsonObject httpRequestBody)
    Adds additional information to JsonObjects that act as HTTP request bodies for requests send to BSS APIs.
    This information helps the BSS servers respond accordingly, as well helping prevent abuse and enforce limitations.
    Please see the Privacy Policy document for more info.
    void
     
    final net.minecraft.client.gui.screen.Screen
     
    protected final void
     
    protected final void
     
    void
    renderBackground(io.github.thecsdev.tcdcommons.api.client.gui.util.TDrawContext pencil)
     

    Methods inherited from class io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreenPlus

    findClosestSideElement, findClosestSideElement, input

    Methods inherited from class io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen

    __postTabNavigation, createScreenWrapper, filesDragged, getAsScreen, getChildren, getClient, getDraggingElement, getEnabled, getFocusedElement, getHeight, getHoveredElement, getItemRenderer, getMousePosition, getParent, getTextRenderer, getTitle, getWidth, getX, getY, getZIndex, hasKeyDown, hasWndDown, inputTabNavigation, isEnabled, isOpen, onClosed, onOpened, render, renderChildren, renderTooltip, setFocusedElement, setFocusedElement, shouldCloseOnEsc, shouldPause, shouldRenderInGameHud, tick

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.github.thecsdev.tcdcommons.api.client.gui.TParentElement

    addChild, addChild, clearChildren, findChild, findLastChild, findParent, findParentTElement, forEachChild, getEndX, getEndY, input, removeChild, removeChild
  • Field Details

    • QSC_SUFFIX

      protected static final String QSC_SUFFIX
  • Constructor Details

    • QuickShareDownloadScreen

      public QuickShareDownloadScreen(@Nullable @Nullable net.minecraft.client.gui.screen.Screen bssParent, @Nullable @Nullable net.minecraft.client.gui.screen.Screen parent, String quickShareCode) throws NullPointerException
      Throws:
      NullPointerException
  • Method Details

    • init

      protected final void init()
      Specified by:
      init in class io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen
    • getParentScreen

      public final net.minecraft.client.gui.screen.Screen getParentScreen()
      Specified by:
      getParentScreen in interface io.github.thecsdev.tcdcommons.api.client.util.interfaces.IParentScreenProvider
    • close

      public void close()
      Overrides:
      close in class io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen
    • refresh

      protected final void refresh()
    • renderBackground

      public void renderBackground(io.github.thecsdev.tcdcommons.api.client.gui.util.TDrawContext pencil)
      Overrides:
      renderBackground in class io.github.thecsdev.tcdcommons.api.client.gui.screen.TScreen
    • addTelemetryData

      @Internal protected static final void addTelemetryData(com.google.gson.JsonObject httpRequestBody)
      Adds additional information to JsonObjects that act as HTTP request bodies for requests send to BSS APIs.
      This information helps the BSS servers respond accordingly, as well helping prevent abuse and enforce limitations.
      Please see the Privacy Policy document for more info.