Interface ChatType.Bound

Enclosing interface:
ChatType

public static interface ChatType.Bound
A bound ChatType.
Since:
4.12.0
Since Minecraft:
1.19
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name component.
    @Nullable Component
    Get the target component.
    Gets the chat type.
  • Method Details

    • type

      @Contract(pure=true) ChatType type()
      Gets the chat type.
      Returns:
      the chat type
      Since:
      4.12.0
      Since Minecraft:
      1.19
    • name

      @Contract(pure=true) Component name()
      Get the name component.
      Returns:
      the name component
      Since:
      4.12.0
      Since Minecraft:
      1.19
    • target

      @Contract(pure=true) @Nullable Component target()
      Get the target component.
      Returns:
      the target component or null
      Since:
      4.12.0
      Since Minecraft:
      1.19