Skip to content

Commit 96d30c1

Browse files
committed
Allow getting of all template keys.
Signed-off-by: Chris Sanders <[email protected]>
1 parent 06599f3 commit 96d30c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/spongepowered/api/world/server/WorldManager.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ public interface WorldManager {
8181
*/
8282
List<ResourceKey> worldKeys();
8383

84+
/**
85+
* Gets the {@link ResourceKey keys} of {@link WorldTemplate templates}.
86+
*
87+
* <p>It is up to the implementation to determine how template keys are provided to the developer.</p>
88+
* @return The keys
89+
*/
90+
List<ResourceKey> templateKeys();
91+
8492
/**
8593
* Gets the {@link ResourceKey keys} of offline {@link ServerWorld worlds}.
8694
*

0 commit comments

Comments
 (0)