Interface MessageAdapter<T>
- All Known Subinterfaces:
ConfigAdapter<T>
- All Known Implementing Classes:
BlockGroupIdAdapter,BlockGroupNameAdapter,BlockTypeIdAdapter,BlockTypeNameAdapter,CollectionAdapter,CollectionSingleAdapter,CrewIdAdapter,CrewNameAdapter,EntityNameAdapter,EntityTypeIdAdapter,EntityTypeNameAdapter,InvalidNameAdapter,ItemIdAdapter,ItemNameAdapter,MappedAdapter,MapToAdapter,NamedBlockNameAdapter,NumberAdapter,PermissionNodeAdapter,StructureChunkSizeAdapter,StructureSizeAdapter,TrackLimitAdapter,VesselFlagIdAdapter,VesselFlagNameAdapter,VesselIdAdapter,VesselInfoKeyAdapter,VesselInfoValueAdapter,VesselNameAdapter,VesselSpeedAdapter
public interface MessageAdapter<T>
-
Method Summary
Modifier and TypeMethodDescription@NotNull Stringdefault @NotNull String@NotNull Class<?>@NotNull Collection<AdapterCategory<T>>default booleancontainsAdapter(@NotNull String plain) default booleancontainsAdapter(@NotNull net.kyori.adventure.text.Component component) default booleancontainsAdapter(org.core.adventureText.AText text) Deprecated, for removal: This API element is subject to removal in a future version.@UnmodifiableView @NotNull Collection<String>examples()default org.core.adventureText.ATextDeprecated, for removal: This API element is subject to removal in a future version.default org.core.adventureText.ATextDeprecated, for removal: This API element is subject to removal in a future version.@NotNull net.kyori.adventure.text.ComponentprocessMessage(T obj) default @NotNull net.kyori.adventure.text.ComponentprocessMessage(T obj, @NotNull net.kyori.adventure.text.Component message)
-
Method Details
-
adapterText
-
adaptingType
-
examples
-
categories
-
process
Deprecated, for removal: This API element is subject to removal in a future version. -
processMessage
-
process
@Deprecated(forRemoval=true) default org.core.adventureText.AText process(@NotNull T obj, @NotNull @NotNull org.core.adventureText.AText message) Deprecated, for removal: This API element is subject to removal in a future version. -
processMessage
@NotNull default @NotNull net.kyori.adventure.text.Component processMessage(@NotNull T obj, @NotNull @NotNull net.kyori.adventure.text.Component message) -
adapterTextFormat
-
containsAdapter
-
containsAdapter
Deprecated, for removal: This API element is subject to removal in a future version. -
containsAdapter
default boolean containsAdapter(@NotNull @NotNull net.kyori.adventure.text.Component component)
-