Class MapManagerImpl
java.lang.Object
com.github.imdabigboss.easydatapack.backend.managers.MapManagerImpl
- All Implemented Interfaces:
MapManager,org.bukkit.event.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackCreates an item stack of a map from a URL.getImage(int id)booleanhasImage(int id)voidonMapInitEvent(org.bukkit.event.server.MapInitializeEvent event)voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.imdabigboss.easydatapack.api.managers.MapManager
createMap
-
Constructor Details
-
MapManagerImpl
-
-
Method Details
-
onMapInitEvent
public void onMapInitEvent(org.bukkit.event.server.MapInitializeEvent event) throws CustomMapException- Throws:
CustomMapException
-
saveImage
-
hasImage
public boolean hasImage(int id) -
getImage
-
createMap
Description copied from interface:MapManagerCreates an item stack of a map from a URL.- Specified by:
createMapin interfaceMapManager- Parameters:
url- the URL of the map- Returns:
- the item stack of the map
-