Interface TilesetManager<T>


  • public interface TilesetManager<T>
    TilesetManager holds and manages tilesets
    • Method Detail

      • getIndexByName

        int getIndexByName​(String modName,
                           String tilesetName)
        Gets the internal tileset index by resource name. This index is needed for certain tileset based RenderingBo.
        Parameters:
        modName - It can be either a specific mod name or you can leave it null. Null enables a cumulative approach, so the tileset is taken from the last mod that provides it. This way other mods are able to override tilesets.
        tilesetName - Name of the tileset image file, for example "official_0.png". Providing paths is not supported and will be filtered out.
      • get

        T get​(int index)
        Returns a tileset by tileset index