Class TCGScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement

public class TCGScreen extends TCGScreenChattableBase
  • Field Details

    • GUI_PEEK_ID

      public static final String GUI_PEEK_ID
      See Also:
    • GUI_OPTIONAL_ID

      public static final String GUI_OPTIONAL_ID
      See Also:
    • INSPECTING_CARD_Z_LEVEL

      public static final int INSPECTING_CARD_Z_LEVEL
      See Also:
    • INSPECTING_CARD_TOOLTIP_Z_LEVEL

      public static final int INSPECTING_CARD_TOOLTIP_Z_LEVEL
      See Also:
    • ABOVE_INSPECTING_CARD_Z_LEVEL

      public static final int ABOVE_INSPECTING_CARD_Z_LEVEL
      See Also:
    • controller

    • guiScaling

      public double guiScaling
    • scaledWidth

      public float scaledWidth
    • scaledHeight

      public float scaledHeight
    • scaledFactor

      public float scaledFactor
  • Constructor Details

  • Method Details

    • getInspectingCard

      public InspectingCard getInspectingCard()
    • init

      public void init()
      Overrides:
      init in class TCGScreenChattableBase
    • onClose

      public void onClose()
      Overrides:
      onClose in class TCGScreenChattableBase
    • tick

      public void tick()
      Overrides:
      tick in class TCGScreenChattableBase
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      mouseClicked in class TCGScreenChattableBase
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int state)
      Specified by:
      mouseReleased in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      mouseReleased in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      mouseReleased in class TCGScreenBase
    • render

      public void render(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float partialTicks)
      Specified by:
      render in interface net.minecraft.client.gui.components.Renderable
      Overrides:
      render in class TCGScreenChattableBase
    • actionPerformed

      protected void actionPerformed(net.minecraft.client.gui.components.Button button)
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class net.minecraft.client.gui.screens.Screen
    • resize

      public void resize(net.minecraft.client.Minecraft p_231152_1_, int p_231152_2_, int p_231152_3_)
      Overrides:
      resize in class net.minecraft.client.gui.screens.Screen