public class CustomEventHandler extends AnnoyingListener
Registrable.Ignore| Modifier and Type | Field and Description |
|---|---|
protected @NotNull AnnoyingPlugin |
plugin
The
AnnoyingPlugin that this handler is for |
| Constructor and Description |
|---|
CustomEventHandler(@NotNull AnnoyingPlugin plugin)
Constructs a new handler for custom events
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull AnnoyingPlugin |
getAnnoyingPlugin()
The
AnnoyingPlugin instance |
register, unregisterisRegistered, setRegistered@NotNull protected final @NotNull AnnoyingPlugin plugin
AnnoyingPlugin that this handler is forpublic CustomEventHandler(@NotNull
@NotNull AnnoyingPlugin plugin)
plugin - plugin@NotNull public @NotNull AnnoyingPlugin getAnnoyingPlugin()
AnnoyableAnnoyingPlugin instance