public interface AssetManager
Plugin
s. The asset manager will attempt to find the
asset of the specified name at: assets/<plugin_id>
Optional<Asset> getAsset(Object plugin, String name)
plugin
- Plugin instancename
- Name of resource to retrieveOptional<Asset> getAsset(String name)
Asset
of the specified name within the domain of the
implementation. This method will typically call
getAsset(Object, String)
using a dummy
PluginContainer
for the SpongeAPI implementation.name
- Name of resource to retrieve