Class EmojiSelectionGui

java.lang.Object
com.hrznstudio.emojiful.gui.IDrawableGuiListener
com.hrznstudio.emojiful.gui.EmojiSelectionGui
All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement

public class EmojiSelectionGui extends IDrawableGuiListener
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmojiSelectionGui(net.minecraft.client.gui.screens.ChatScreen screen)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    charTyped(net.minecraft.client.input.CharacterEvent event)
     
    void
    drawLine(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, float height, int line)
     
    void
    drawRectangle(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.renderer.Rect2i rectangle2d)
     
    void
    drawRectangle(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.renderer.Rect2i rectangle2d, int value)
     
    void
    extractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int mouseX, int mouseY, float partialTick)
     
    getCategory(int line)
     
    net.minecraft.client.gui.screens.ChatScreen
     
    net.minecraft.client.gui.components.EditBox
     
    int
     
    getLineToDraw(int line)
     
    boolean
    keyPressed(net.minecraft.client.input.KeyEvent event)
     
    boolean
    mouseClicked(net.minecraft.client.input.MouseButtonEvent event, boolean doubleClick)
     
    void
    mouseMoved(double mouseX, double mouseY)
     
    boolean
    mouseScrolled(double mouseX, double mouseY, double delta, double d)
     
    void
     
    void
     

    Methods inherited from class IDrawableGuiListener

    isFocused, setFocused

    Methods inherited from class Object

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

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, isMouseOver, keyReleased, mouseDragged, mouseReleased, nextFocusPath, preeditUpdated, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Constructor Details

    • EmojiSelectionGui

      public EmojiSelectionGui(net.minecraft.client.gui.screens.ChatScreen screen)
  • Method Details

    • extractRenderState

      public void extractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int mouseX, int mouseY, float partialTick)
    • mouseClicked

      public boolean mouseClicked(net.minecraft.client.input.MouseButtonEvent event, boolean doubleClick)
    • mouseMoved

      public void mouseMoved(double mouseX, double mouseY)
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double delta, double d)
    • drawRectangle

      public void drawRectangle(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.renderer.Rect2i rectangle2d)
    • drawRectangle

      public void drawRectangle(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.renderer.Rect2i rectangle2d, int value)
    • toggleSelectionArea

      public void toggleSelectionArea()
    • keyPressed

      public boolean keyPressed(net.minecraft.client.input.KeyEvent event)
    • charTyped

      public boolean charTyped(net.minecraft.client.input.CharacterEvent event)
    • drawLine

      public void drawLine(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, float height, int line)
    • getLineToDraw

      public Object getLineToDraw(int line)
    • updateFilter

      public void updateFilter()
    • getLineAmount

      public int getLineAmount()
    • getCategory

      public EmojiCategory getCategory(int line)
    • getChatScreen

      public net.minecraft.client.gui.screens.ChatScreen getChatScreen()
    • getFieldWidget

      public net.minecraft.client.gui.components.EditBox getFieldWidget()