JavaPlugin

abstract class JavaPlugin extends PluginBase

The main class for Java-based plugins. All Java plugins must extend this class. Provides access to the full Hytale plugin API including event registration, command registration, component and system registration, asset management, and codec registration.

java.lang.Object > PluginBase > JavaPlugin

Field Summary

assetModule

final AssetModule assetModule

Field assetModule.

id

final String id

Field id.

existing

final AssetPack existing

Field existing.

Method Detail

JavaPlugin

public public JavaPlugin (@Nonnull final JavaPluginInit init)

Method JavaPlugin.

Parameters:
@Nonnull final JavaPluginInit init

getFile

public Path getFile ()

Method getFile.

start0

protected void start0 ()

Method start0.

PluginIdentifier

public new PluginIdentifier (this.getManifest()

Method PluginIdentifier.

Parameters:
this.getManifest( this.getManifest(

getClassLoader

public PluginClassLoader getClassLoader ()

Method getClassLoader.

getType

final PluginType getType ()

Method getType.

See Also: