Interface ChatScreenMixin


public interface ChatScreenMixin
Get the chatInputSuggestor and chatField of ChatScreen.
ChatScreen
Usage:

ChatScreen chatScreen = ...;

ChatInputSuggestor chatInputSuggestor = ((ChatScreenMixin) chatScreen).getChatInputSuggestor();

TextFieldWidget chatField = ((ChatScreenMixin) chatScreen).getChatField();
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.gui.widget.TextFieldWidget
    Get the chatField field of ChatScreen
    net.minecraft.client.gui.screen.ChatInputSuggestor
    Get the chatInputSuggestor field of ChatScreen
  • Method Details

    • getChatInputSuggestor

      net.minecraft.client.gui.screen.ChatInputSuggestor getChatInputSuggestor()
      Get the chatInputSuggestor field of ChatScreen
      Returns:
      the chatInputSuggestor field of ChatScreen
    • getChatField

      net.minecraft.client.gui.widget.TextFieldWidget getChatField()
      Get the chatField field of ChatScreen
      Returns:
      the chatField field of ChatScreen