Package com.github.siroshun09.mcmessage
Interface MessageHoldable
-
- All Known Subinterfaces:
MessageLoader
- All Known Implementing Classes:
AbstractMessageLoader
public interface MessageHoldable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull MessagegetMessage(@NotNull KeyedMessage keyedMessage)@Nullable MessagegetMessage(@NotNull String key)default @NotNull MessagegetMessage(@NotNull String key, @NotNull String def)@NotNull @Unmodifiable Set<? extends KeyedMessage>getMessages()
-
-
-
Method Detail
-
getMessage
@Nullable @Nullable Message getMessage(@NotNull @NotNull String key)
-
getMessage
@NotNull default @NotNull Message getMessage(@NotNull @NotNull String key, @NotNull @NotNull String def)
-
getMessage
@NotNull default @NotNull Message getMessage(@NotNull @NotNull KeyedMessage keyedMessage)
-
getMessages
@NotNull @NotNull @Unmodifiable Set<? extends KeyedMessage> getMessages()
-
-