Interface AbstractMiniMessageFactory
- All Known Implementing Classes:
DefaultMiniMessageFactory
public interface AbstractMiniMessageFactory
A factory for creating
instances. The standard implementation is DefaultMiniMessageFactory.-
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.text.minimessage.MiniMessagecreate(@Nullable OfflinePlayer player) Create aMiniMessageinstance for a player.
-
Method Details
-
create
@NotNull @NotNull net.kyori.adventure.text.minimessage.MiniMessage create(@Nullable @Nullable OfflinePlayer player) Create aMiniMessageinstance for a player. No guarantees are made about when this method will be called. The implementation is not required to use its player argument. Implementations are also not required to return a new instance each time.- Parameters:
player- the player to create theMiniMessagefor- Returns:
- a
MiniMessageinstance
-