Package xyz.srnyx.annoyingapi.parents
Class AnnoyableClass
java.lang.Object
xyz.srnyx.annoyingapi.parents.AnnoyableClass
- All Implemented Interfaces:
Annoyable
Represents a class that has a built-in reference to the
Useful to simplify classes that want to implement
AnnoyingPlugin instance
Useful to simplify classes that want to implement
Annoyable-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @NotNull AnnoyingPluginTheAnnoyingPlugininstance -
Constructor Summary
ConstructorsConstructorDescriptionAnnoyableClass(@NotNull AnnoyingPlugin plugin) Creates a newAnnoyableClasswith the given plugin -
Method Summary
-
Field Details
-
plugin
TheAnnoyingPlugininstance
-
-
Constructor Details
-
AnnoyableClass
Creates a newAnnoyableClasswith the given plugin- Parameters:
plugin-plugin
-
-
Method Details
-
getAnnoyingPlugin
Description copied from interface:AnnoyableTheAnnoyingPlugininstance- Specified by:
getAnnoyingPluginin interfaceAnnoyable- Returns:
- the plugin instance
-