Package kr.toxicity.hud.api.placeholder
Interface PlaceholderContainer<T>
- Type Parameters:
T- type of placeholder's return value.
public interface PlaceholderContainer<T>
Represents placeholder group.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlaceholder(@NotNull String name, @NotNull HudPlaceholder<T> placeholder) Adds placeholder.@NotNull @Unmodifiable Map<String, HudPlaceholder<?>> Gets all placeholders.
-
Method Details
-
addPlaceholder
Adds placeholder.- Parameters:
name- idplaceholder- placeholder
-
getAllPlaceholders
Gets all placeholders.- Returns:
- all placeholders
-