Package net.kyori.adventure.chat
Interface ChatType.Bound
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty>
examinableProperties()
@NotNull Component
name()
Get the name component.@Nullable Component
target()
Get the target component.@NotNull ChatType
type()
Gets the chat type.
-
-
-
Method Detail
-
type
@Contract(pure=true) @NotNull @NotNull ChatType type()
Gets the chat type.- Returns:
- the chat type
- Since:
- 4.12.0
- Since Minecraft:
- 1.19
-
name
@Contract(pure=true) @NotNull @NotNull Component name()
Get the name component.- Returns:
- the name component
- Since:
- 4.12.0
- Since Minecraft:
- 1.19
-
target
@Contract(pure=true) @Nullable @Nullable Component target()
Get the target component.- Returns:
- the target component or null
- Since:
- 4.12.0
- Since Minecraft:
- 1.19
-
examinableProperties
@NotNull default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
- Specified by:
examinableProperties
in interfacenet.kyori.examination.Examinable
-
-