Class KeyEntryRenderEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.blamejared.controlling.api.events.KeyEntryRenderEvent
All Implemented Interfaces:
com.blamejared.controlling.api.events.IKeyEntryRenderEvent

public class KeyEntryRenderEvent extends net.minecraftforge.eventbus.api.Event implements com.blamejared.controlling.api.events.IKeyEntryRenderEvent
RenderKeyEntryEvent is called at the top of NewKeyBindsList.KeyEntry.render(PoseStack, int, int, int, int, int, int, int, boolean, float) is called, allowing mods to render additional info.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeyEntryRenderEvent(com.blamejared.controlling.client.NewKeyBindsList.KeyEntry entry, com.mojang.blaze3d.vertex.PoseStack stack, int slotIndex, int y, int x, int rowLeft, int rowWidth, int mouseX, int mouseY, boolean hovered, float partialTicks)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.blamejared.controlling.client.NewKeyBindsList.KeyEntry
     
    int
     
    int
     
    float
     
    int
     
    int
     
    int
     
    com.mojang.blaze3d.vertex.PoseStack
     
    int
     
    int
     
    boolean
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

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

    • KeyEntryRenderEvent

      public KeyEntryRenderEvent(com.blamejared.controlling.client.NewKeyBindsList.KeyEntry entry, com.mojang.blaze3d.vertex.PoseStack stack, int slotIndex, int y, int x, int rowLeft, int rowWidth, int mouseX, int mouseY, boolean hovered, float partialTicks)
  • Method Details

    • getEntry

      public com.blamejared.controlling.client.NewKeyBindsList.KeyEntry getEntry()
      Specified by:
      getEntry in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getStack

      public com.mojang.blaze3d.vertex.PoseStack getStack()
      Specified by:
      getStack in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getSlotIndex

      public int getSlotIndex()
      Specified by:
      getSlotIndex in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getY

      public int getY()
      Specified by:
      getY in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getX

      public int getX()
      Specified by:
      getX in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getRowLeft

      public int getRowLeft()
      Specified by:
      getRowLeft in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getRowWidth

      public int getRowWidth()
      Specified by:
      getRowWidth in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getMouseX

      public int getMouseX()
      Specified by:
      getMouseX in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getMouseY

      public int getMouseY()
      Specified by:
      getMouseY in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • isHovered

      public boolean isHovered()
      Specified by:
      isHovered in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent
    • getPartialTicks

      public float getPartialTicks()
      Specified by:
      getPartialTicks in interface com.blamejared.controlling.api.events.IKeyEntryRenderEvent