Add map and instance registries

This commit is contained in:
Daniel Saukel 2020-01-27 19:52:18 +01:00
parent 12603e9fa3
commit b0b413e89a

View File

@ -79,6 +79,20 @@ public interface DungeonsAPI extends Plugin {
*/ */
Registry<String, Class<? extends Reward>> getRewardRegistry(); Registry<String, Class<? extends Reward>> getRewardRegistry();
/**
* Returns a {@link Registry} of the resources worlds.
*
* @return a {@link Registry} of the resources worlds
*/
Registry<String, ResourceWorld> getMapRegistry();
/**
* Returns a {@link Registry} of the instance worlds.
*
* @return a {@link Registry} of the instance worlds
*/
Registry<Integer, InstanceWorld> getInstanceRegistry();
/** /**
* Returns a {@link Registry} of the external mob providers. * Returns a {@link Registry} of the external mob providers.
* *