public interface SourceLine
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getIcon()
Gets the line's icon
Minecraft ResourceLocation or base64 in format: "base64;base64_string"
|
@NotNull java.util.UUID |
getId()
Gets the line id
|
@NotNull java.lang.String |
getName()
Gets the line name
|
@NotNull java.util.Collection<MinecraftGameProfile> |
getPlayers()
Gets the line's players
|
@NotNull java.lang.String |
getTranslation()
Gets the line's translation string
|
default int |
getWeight()
Gets the line's weight
todo: doc
|
boolean |
hasPlayers()
Check if line can contain players
|
@NotNull @NotNull java.util.UUID getId()
@NotNull @NotNull java.lang.String getName()
@NotNull @NotNull java.lang.String getTranslation()
@NotNull @NotNull java.lang.String getIcon()
default int getWeight()
todo: doc
boolean hasPlayers()
@NotNull @NotNull java.util.Collection<MinecraftGameProfile> getPlayers()