Interface MapManager

All Known Implementing Classes:
MapManagerImpl

public interface MapManager
This class is used to manage custom maps.
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable org.bukkit.inventory.ItemStack
    createMap​(@NonNull String url)
    Creates an item stack of a map from a URL.
    @Nullable org.bukkit.inventory.ItemStack
    createMap​(@NonNull URL url)
    Creates an item stack of a map from a URL.
  • Method Details

    • createMap

      default @Nullable org.bukkit.inventory.ItemStack createMap(@NonNull String url)
      Creates an item stack of a map from a URL.
      Parameters:
      url - the URL of the map
      Returns:
      the item stack of the map
    • createMap

      @Nullable org.bukkit.inventory.ItemStack createMap(@NonNull URL url)
      Creates an item stack of a map from a URL.
      Parameters:
      url - the URL of the map
      Returns:
      the item stack of the map