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_1819$class_1821
named net/minecraft/client/gui/screen/options/ControlsListWidget$CategoryEntry
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final int
     
  • 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_7803 Lnet/minecraft/class_1819$class_1821;field_7803: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_7804 Lnet/minecraft/class_1819$class_1821;field_7804: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_1819$class_1821;<init>(Lnet/minecraft/class_1819;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_6700 Lnet/minecraft/class_1802$class_1803;method_6700(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_6699 Lnet/minecraft/class_1802$class_1803;method_6699(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_6701 Lnet/minecraft/class_1802$class_1803;method_6701(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_9473 Lnet/minecraft/class_1802$class_1803;method_9473(III)V
      named updatePosition Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;updatePosition(III)V