Package kr.toxicity.model.api.event
Interface ModelEventApplication
- All Known Subinterfaces:
BetterModelPlatform
public interface ModelEventApplication
Represents an application or plugin that subscribes to model events.
This interface is used to check if the subscribing application is still enabled, allowing the event bus to automatically unregister listeners from disabled plugins.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the application is currently enabled.
-
Method Details
-
isEnabled
boolean isEnabled()Checks if the application is currently enabled.- Returns:
- true if enabled, false otherwise
- Since:
- 2.0.0
-