| Modifier and Type | Method and Description |
|---|---|
@NotNull Atlas.Builder |
addSource(@NotNull AtlasSource source)
Adds the given source to the built atlas.
|
@NotNull Atlas |
build()
Builds the
Atlas instance. |
@Nullable net.kyori.adventure.key.Key |
key()
Gets the atlas key.
|
@NotNull Atlas.Builder |
key(@NotNull net.kyori.adventure.key.Key key)
Sets the atlas key.
|
@Nullable java.util.List<AtlasSource> |
sources()
Gets the list of sources for the built atlas.
|
@NotNull Atlas.Builder |
sources(AtlasSource... sources)
Sets the given sources for the built atlas.
|
@NotNull Atlas.Builder |
sources(@NotNull java.util.List<AtlasSource> sources)
Sets the list of sources for the built atlas.
|
@Nullable @Nullable net.kyori.adventure.key.Key key()
@Contract(value="_ -> this") @NotNull @NotNull Atlas.Builder key(@NotNull @NotNull net.kyori.adventure.key.Key key)
key - The atlas key@Nullable @Nullable java.util.List<AtlasSource> sources()
@Contract(value="_ -> this") @NotNull @NotNull Atlas.Builder sources(@NotNull @NotNull java.util.List<AtlasSource> sources)
sources - The atlas sources@Contract(value="_ -> this") @NotNull @NotNull Atlas.Builder sources(@NotNull AtlasSource... sources)
sources - The atlas sources@Contract(value="_ -> this") @NotNull @NotNull Atlas.Builder addSource(@NotNull @NotNull AtlasSource source)
source - The atlas source