Class ControlsListWidget.CategoryEntry

java.lang.Object
net.minecraft.client.gui.screen.options.ControlsListWidget.CategoryEntry
All Implemented Interfaces:
EntryListWidget.Entry
Enclosing class:
ControlsListWidget

@Environment(CLIENT)
public class ControlsListWidget.CategoryEntry
extends Object
implements EntryListWidget.Entry
Mappings:
Namespace Name
official ayi$a
intermediary net/minecraft/class_777$class_778
named net/minecraft/client/gui/screen/options/ControlsListWidget$CategoryEntry
  • Field Summary

    Fields
    Modifier and Type Field Description
    private String name  
    private int nameWidth  
  • Constructor Summary

    Constructors
    Constructor Description
    CategoryEntry​(String categoryTranslationKey)  
  • Method Summary

    Modifier and Type Method Description
    boolean mouseClicked​(int index, int mouseX, int mouseY, int button, int x, int y)
    void mouseReleased​(int index, int mouseX, int mouseY, int button, int x, int y)
    void render​(int index, int x, int y, int rowWidth, int rowHeight, int mouseX, int mouseY, boolean hovered)
    void updatePosition​(int index, int x, int y)

    Methods inherited from class java.lang.Object

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

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official b Layi$a;b:Ljava/lang/String;
      intermediary field_3361 Lnet/minecraft/class_777$class_778;field_3361:Ljava/lang/String;
      named name Lnet/minecraft/client/gui/screen/options/ControlsListWidget$CategoryEntry;name:Ljava/lang/String;
    • nameWidth

      private final int nameWidth
      Mappings:
      Namespace Name Mixin selector
      official c Layi$a;c:I
      intermediary field_3362 Lnet/minecraft/class_777$class_778;field_3362:I
      named nameWidth Lnet/minecraft/client/gui/screen/options/ControlsListWidget$CategoryEntry;nameWidth:I
  • Constructor Details

    • CategoryEntry

      public CategoryEntry​(String categoryTranslationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layi$a;<init>(Layi;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_777$class_778;<init>(Lnet/minecraft/class_777;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/gui/screen/options/ControlsListWidget$CategoryEntry;<init>(Lnet/minecraft/client/gui/screen/options/ControlsListWidget;Ljava/lang/String;)V
  • Method Details

    • render

      public void render​(int index, int x, int y, int rowWidth, int rowHeight, int mouseX, int mouseY, boolean hovered)
      Specified by:
      render in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lawd$a;a(IIIIIIIZ)V
      intermediary method_2569 Lnet/minecraft/class_698$class_699;method_2569(IIIIIIIZ)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(IIIIIIIZ)V
    • mouseClicked

      public boolean mouseClicked​(int index, int mouseX, int mouseY, int button, int x, int y)
      Specified by:
      mouseClicked in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lawd$a;a(IIIIII)Z
      intermediary method_2568 Lnet/minecraft/class_698$class_699;method_2568(IIIIII)Z
      named mouseClicked Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseClicked(IIIIII)Z
    • mouseReleased

      public void mouseReleased​(int index, int mouseX, int mouseY, int button, int x, int y)
      Specified by:
      mouseReleased in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official b Lawd$a;b(IIIIII)V
      intermediary method_2570 Lnet/minecraft/class_698$class_699;method_2570(IIIIII)V
      named mouseReleased Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;mouseReleased(IIIIII)V
    • updatePosition

      public void updatePosition​(int index, int x, int y)
      Specified by:
      updatePosition in interface EntryListWidget.Entry
      Mappings:
      Namespace Name Mixin selector
      official a Lawd$a;a(III)V
      intermediary method_2567 Lnet/minecraft/class_698$class_699;method_2567(III)V
      named updatePosition Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;updatePosition(III)V