Uses of Class
net.risingworld.api.Plugin
-
Uses of Plugin in net.risingworld.api
Modifier and TypeMethodDescriptionfinal Plugin
Plugin.getPluginByID
(int pluginID) Finds a plugin by id.final Plugin
Plugin.getPluginByName
(String pluginName) Finds a plugin with the according name and returns the instance.Modifier and TypeMethodDescriptionfinal Collection<Plugin>
Plugin.getAllPlugins()
Returns a collection of all plugins which are currently loaded. -
Uses of Plugin in net.risingworld.api.assets
Modifier and TypeMethodDescriptionstatic SoundAsset
SoundAsset.loadFromPlugin
(Plugin plugin, String resource) Creates a new sound asset and loads the sound from the plugin jar file.static TextureAsset
TextureAsset.loadFromPlugin
(Plugin plugin, String resource) Creates a new texture asset instance and loads the texture / image from the plugin jar file.