Package kr.toxicity.model.api.bukkit
Interface BetterModelBukkit
- All Superinterfaces:
kr.toxicity.model.api.BetterModelPlatform,kr.toxicity.model.api.event.ModelEventApplication
public interface BetterModelBukkit
extends kr.toxicity.model.api.BetterModelPlatform
Represents the Bukkit-specific platform interface for BetterModel.
This interface extends BetterModelPlatform to provide Bukkit-specific implementations
for scheduling and entity adaptation.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface kr.toxicity.model.api.BetterModelPlatform
kr.toxicity.model.api.BetterModelPlatform.JarType, kr.toxicity.model.api.BetterModelPlatform.ReloadResult -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanChecks if the server is running on the Folia platform.static final booleanChecks if the server is running on the Paper platform (or a fork like Purpur/Folia).static final booleanChecks if the server is running on the Purpur platform. -
Method Summary
Modifier and TypeMethodDescription@NotNull BukkitAdapteradapter()Returns the Bukkit-specific adapter.@NotNull BukkitModelEventBuseventBus()Returns the Bukkit-specific event bus.static @NotNull BetterModelBukkitplatform()Returns the currentBetterModelBukkitinstance.@NotNull BukkitModelSchedulerReturns the Bukkit-specific scheduler.Methods inherited from interface kr.toxicity.model.api.BetterModelPlatform
addReloadEndHandler, addReloadStartHandler, config, dataFolder, evaluator, getResource, isSnapshot, jarType, logger, modelManager, nms, playerManager, profileManager, reload, reload, reload, scriptManager, semver, skinManager, versionMethods inherited from interface kr.toxicity.model.api.event.ModelEventApplication
isEnabled
-
Field Details
-
IS_FOLIA
static final boolean IS_FOLIAChecks if the server is running on the Folia platform.- Since:
- 2.0.0
-
IS_PURPUR
static final boolean IS_PURPURChecks if the server is running on the Purpur platform.- Since:
- 2.0.0
-
IS_PAPER
static final boolean IS_PAPERChecks if the server is running on the Paper platform (or a fork like Purpur/Folia).- Since:
- 2.0.0
-
-
Method Details
-
platform
Returns the currentBetterModelBukkitinstance.- Returns:
- the current platform instance
- Since:
- 2.0.0
-
scheduler
Returns the Bukkit-specific scheduler.- Specified by:
schedulerin interfacekr.toxicity.model.api.BetterModelPlatform- Returns:
- the scheduler
- Since:
- 2.0.0
-
adapter
Returns the Bukkit-specific adapter.- Specified by:
adapterin interfacekr.toxicity.model.api.BetterModelPlatform- Returns:
- the adapter
- Since:
- 2.0.0
-
eventBus
Returns the Bukkit-specific event bus.- Specified by:
eventBusin interfacekr.toxicity.model.api.BetterModelPlatform- Returns:
- the event bus
- Since:
- 2.0.0
-