Class NewKeyBindsList.KeyEntry

java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry>
net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry
com.blamejared.controlling.client.NewKeyBindsList.KeyEntry
All Implemented Interfaces:
IKeyEntry, net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement
Enclosing class:
NewKeyBindsList

public class NewKeyBindsList.KeyEntry extends net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry implements IKeyEntry
  • Constructor Summary

    Constructors
    Constructor
    Description
    KeyEntry(net.minecraft.client.KeyMapping key, net.minecraft.network.chat.Component keyDesc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
     
    List<net.minecraft.client.gui.components.events.GuiEventListener>
     
    net.minecraft.client.gui.components.Button
     
    net.minecraft.client.gui.components.Button
     
    net.minecraft.client.KeyMapping
     
    net.minecraft.network.chat.Component
     
    boolean
    mouseClicked(net.minecraft.client.input.MouseButtonEvent event, boolean doubleClick)
     
    boolean
    mouseReleased(net.minecraft.client.input.MouseButtonEvent event)
     
    List<? extends net.minecraft.client.gui.narration.NarratableEntry>
     
    protected void
     
    void
    renderContent(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, boolean hovered, float partialTicks)
     

    Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry

    focusPathAtIndex, getFocused, isDragging, nextFocusPath, setDragging, setFocused

    Methods inherited from class java.lang.Object

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

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

    charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseScrolled, setFocused

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

    getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement

    setPosition

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

    getTabOrderGroup
  • Constructor Details

    • KeyEntry

      public KeyEntry(net.minecraft.client.KeyMapping key, net.minecraft.network.chat.Component keyDesc)
  • Method Details

    • renderContent

      public void renderContent(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, boolean hovered, float partialTicks)
      Specified by:
      renderContent in interface IKeyEntry
    • children

      public List<net.minecraft.client.gui.components.events.GuiEventListener> children()
      Specified by:
      children in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      children in interface IKeyEntry
    • narratables

      public List<? extends net.minecraft.client.gui.narration.NarratableEntry> narratables()
      Specified by:
      narratables in class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry>
    • mouseClicked

      public boolean mouseClicked(net.minecraft.client.input.MouseButtonEvent event, boolean doubleClick)
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      mouseClicked in interface net.minecraft.client.gui.components.events.GuiEventListener
      Specified by:
      mouseClicked in interface IKeyEntry
      Overrides:
      mouseClicked in class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry>
    • mouseReleased

      public boolean mouseReleased(net.minecraft.client.input.MouseButtonEvent event)
      Specified by:
      mouseReleased in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      mouseReleased in interface net.minecraft.client.gui.components.events.GuiEventListener
      Specified by:
      mouseReleased in interface IKeyEntry
    • getKey

      public net.minecraft.client.KeyMapping getKey()
      Specified by:
      getKey in interface IKeyEntry
    • getKeyDesc

      public net.minecraft.network.chat.Component getKeyDesc()
      Specified by:
      getKeyDesc in interface IKeyEntry
    • categoryName

      public net.minecraft.network.chat.Component categoryName()
      Specified by:
      categoryName in interface IKeyEntry
    • getBtnResetKeyBinding

      public net.minecraft.client.gui.components.Button getBtnResetKeyBinding()
      Specified by:
      getBtnResetKeyBinding in interface IKeyEntry
    • getBtnChangeKeyBinding

      public net.minecraft.client.gui.components.Button getBtnChangeKeyBinding()
      Specified by:
      getBtnChangeKeyBinding in interface IKeyEntry
    • refreshEntry

      protected void refreshEntry()
      Specified by:
      refreshEntry in class net.minecraft.client.gui.screens.options.controls.KeyBindsList.Entry