Package eu.sculkpowered.server.team
Interface Team
public interface Team
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntries(@NotNull String... entities) Adds new entries to the team.voidAdds a new entry to the team.static @NotNull Team.Builderbuilder()Creates a new builder.@Nullable NamedTextColorcolor()Gets the color of the teamvoidcolor(@Nullable NamedTextColor color) Sets the specified color as the color of the team.@NotNull ComponentGets the display name of the teamvoiddisplayName(@NotNull Component displayName) Sets the specified component as the display name of the team.@NotNull Stringname()Gets the name of the team.@NotNull Componentprefix()Gets the prefix of the team.voidSets the specified component as the prefix of the team.voidremoveEntries(@NotNull String... entities) Removes the entries.voidremoveEntry(@NotNull String entry) Removes the entry.@NotNull Componentsuffix()Gets the suffix of the team.voidSets the specified component as the suffix of the team.
-
Method Details
-
name
Gets the name of the team.- Returns:
- the name of the team
- Since:
- 1.0.0
-
displayName
Gets the display name of the team- Returns:
- the display name of the team
- Since:
- 1.0.0
-
displayName
Sets the specified component as the display name of the team.- Parameters:
displayName- the component to set- Since:
- 1.0.0
-
color
Gets the color of the team- Returns:
- the color of the team
- Since:
- 1.0.0
-
color
Sets the specified color as the color of the team.- Parameters:
color- the color to set- Since:
- 1.0.0
-
prefix
Gets the prefix of the team.- Returns:
- the prefix of the team
- Since:
- 1.0.0
-
prefix
Sets the specified component as the prefix of the team.- Parameters:
prefix- the component to set- Since:
- 1.0.0
-
suffix
Gets the suffix of the team.- Returns:
- the suffix of the team
- Since:
- 1.0.0
-
suffix
Sets the specified component as the suffix of the team.- Parameters:
suffix- the component to set- Since:
- 1.0.0
-
addEntry
Adds a new entry to the team.- Since:
- 1.0.0
-
addEntries
Adds new entries to the team.- Since:
- 1.0.0
-
removeEntry
Removes the entry.- Since:
- 1.0.0
-
removeEntries
Removes the entries.- Since:
- 1.0.0
-
builder
Creates a new builder.- Returns:
- the new created builder
- Since:
- 1.0.0
-