From b0b413e89a6675be8e627c3737b0d86795c537f7 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Mon, 27 Jan 2020 19:52:18 +0100 Subject: [PATCH] Add map and instance registries --- .../de/erethon/dungeonsxl/api/DungeonsAPI.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/api/src/main/java/de/erethon/dungeonsxl/api/DungeonsAPI.java b/api/src/main/java/de/erethon/dungeonsxl/api/DungeonsAPI.java index 2b04fb41..ef78f1ba 100644 --- a/api/src/main/java/de/erethon/dungeonsxl/api/DungeonsAPI.java +++ b/api/src/main/java/de/erethon/dungeonsxl/api/DungeonsAPI.java @@ -79,6 +79,20 @@ public interface DungeonsAPI extends Plugin { */ Registry> getRewardRegistry(); + /** + * Returns a {@link Registry} of the resources worlds. + * + * @return a {@link Registry} of the resources worlds + */ + Registry getMapRegistry(); + + /** + * Returns a {@link Registry} of the instance worlds. + * + * @return a {@link Registry} of the instance worlds + */ + Registry getInstanceRegistry(); + /** * Returns a {@link Registry} of the external mob providers. *