Class net.minecraft.client.gui.tooltip.TooltipComponent

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

Static Methods

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

Instance Methods

instance:drawItems(textRenderer, x, y, matrices, itemRenderer, z) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:drawText(textRenderer, x, y, matrix, vertexConsumers) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getHeight() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getWidth(textRenderer) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

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

Parameters:

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

Returns:

userdata, TooltipComponent This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
TooltipComponent.of(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:

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

Instance Methods

instance:drawItems(textRenderer, x, y, matrices, itemRenderer, z)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • textRenderer userdata, TextRenderer 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"
  • y int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • matrices userdata, MatrixStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • itemRenderer userdata, ItemRenderer This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • z int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:drawText(textRenderer, x, y, matrix, vertexConsumers)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • textRenderer userdata, TextRenderer 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"
  • y int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • matrix userdata, Matrix4f This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • vertexConsumers userdata, VertexConsumerProvider$Immediate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:getHeight()
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:getWidth(textRenderer)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • textRenderer userdata, TextRenderer 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"