java.lang.Object
com.pixelmonmod.pixelmon.client.gui.widgets.PixelmonWidget
com.pixelmonmod.pixelmon.client.gui.battles.battleScreens.BattleLogElement
All Implemented Interfaces:
net.minecraft.client.renderer.texture.Tickable

public class BattleLogElement extends PixelmonWidget implements net.minecraft.client.renderer.texture.Tickable
Created by Jay113355 on 10/20/2020.
  • Field Details

    • autoAcknowledge

      protected boolean autoAcknowledge
  • Constructor Details

  • Method Details

    • drawElement

      public void drawElement(net.minecraft.client.gui.GuiGraphics graphics, float scale)
      Specified by:
      drawElement in class PixelmonWidget
    • tick

      public void tick()
      Specified by:
      tick in interface net.minecraft.client.renderer.texture.Tickable
    • drawElement

      public void drawElement(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, int width, int height, boolean autoAcknowledge)
    • setActiveMessage

      public void setActiveMessage(net.minecraft.network.chat.Component message)
    • forceAddMessage

      public void forceAddMessage(net.minecraft.network.chat.Component message)
    • acknowledge

      public void acknowledge()
    • withinBounds

      public boolean withinBounds(double mouseX, double mouseY)
    • processUpDown

      public boolean processUpDown(double mouseX, double mouseY)
    • scrollBattleLogUp

      public void scrollBattleLogUp()
    • scrollBattleLogDown

      public void scrollBattleLogDown()
    • getScrollPosition

      public int getScrollPosition()