Class ScreenMixin

java.lang.Object
net.minecraft.client.gui.DrawContext
net.glasslauncher.mods.api.gcapi.mixin.ScreenMixin
All Implemented Interfaces:
ScreenAccessor

public class ScreenMixin extends net.minecraft.client.gui.DrawContext implements ScreenAccessor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List
     
    protected net.minecraft.client.font.TextRenderer
     

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

    zOffset
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawTooltipStuff(int mouseX, int mouseY, float delta, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    getMouseTooltip(int mouseX, int mouseY, List<?> extraObjectsToCheck)
     
    boolean
    isMouseInBounds(int[] xywh, int mouseX, int mouseY)
     
    void
    setSelectedButton(net.minecraft.client.gui.widget.ButtonWidget value)
     

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

    drawCenteredTextWithShadow, drawHorizontalLine, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • textRenderer

      protected net.minecraft.client.font.TextRenderer textRenderer
    • buttons

      protected List buttons
  • Constructor Details

    • ScreenMixin

      public ScreenMixin()
  • Method Details

    • drawTooltipStuff

      public void drawTooltipStuff(int mouseX, int mouseY, float delta, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • getMouseTooltip

      public List<String> getMouseTooltip(int mouseX, int mouseY, List<?> extraObjectsToCheck)
      Specified by:
      getMouseTooltip in interface ScreenAccessor
    • setSelectedButton

      public void setSelectedButton(net.minecraft.client.gui.widget.ButtonWidget value)
      Specified by:
      setSelectedButton in interface ScreenAccessor
    • isMouseInBounds

      public boolean isMouseInBounds(int[] xywh, int mouseX, int mouseY)