Class net.minecraft.client.font.TextHandler

This description should be content pulled from the first comments of a lua file.

Static Methods

TextHandler.moveCursorByWords(text, offset, cursor, consumeSpaceOrBreak) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Constructors

TextHandler(widthRetriever) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Fields

userdata, TextHandler$WidthRetriever instance.widthRetriever This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:equals(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getClass() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getEndingIndex(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getLimitedStringLength(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getStyleAt(text, x) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getStyleAt(text, x) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getTrimmedLength(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getWidth(text) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getWidth(text) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getWidth(text) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hashCode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:limitString(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notify() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:trimToWidth(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:trimToWidth(text, width, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:trimToWidthBackwards(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wrapLines(text, maxWidth, style, lineConsumer) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wrapLines(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wrapLines(text, maxWidth, style, retainTrailingWordSplit, consumer) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wrapLines(text, maxWidth, style) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wrapLines(text, maxWidth, style, wrappedLinePrefix) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

TextHandler.moveCursorByWords(text, offset, cursor, consumeSpaceOrBreak)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • offset int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • cursor int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • consumeSpaceOrBreak boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"

Constructors

TextHandler(widthRetriever)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • widthRetriever userdata, TextHandler$WidthRetriever This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Instance Methods

instance:equals(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getClass()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getEndingIndex(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getLimitedStringLength(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getStyleAt(text, x)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, OrderedText This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • x int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getStyleAt(text, x)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • x int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getTrimmedLength(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getWidth(text)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getWidth(text)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getWidth(text)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, OrderedText This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hashCode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:limitString(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:notify()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:trimToWidth(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:trimToWidth(text, width, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • width int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:trimToWidthBackwards(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:wait()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wait(arg0, arg1)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wrapLines(text, maxWidth, style, lineConsumer)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • lineConsumer userdata, BiConsumer This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wrapLines(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:wrapLines(text, maxWidth, style, retainTrailingWordSplit, consumer)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • retainTrailingWordSplit boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • consumer userdata, TextHandler$LineWrappingConsumer This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wrapLines(text, maxWidth, style)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:wrapLines(text, maxWidth, style, wrappedLinePrefix)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • text userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxWidth int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • style userdata, Style This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • wrappedLinePrefix userdata, StringVisitable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"