BetterModelPlugin

A plugin instance of BetterModel. It can be cast as JavaPlugin.

See also

JavaPlugin

Types

Link copied to clipboard
interface ReloadResult
A result of reload.

Functions

Link copied to clipboard
abstract fun addReloadEndHandler(@NotNull consumer: @NotNull Consumer<BetterModelPlugin.ReloadResult>)
Adds event handler on the reload end.
Link copied to clipboard
abstract fun addReloadStartHandler(@NotNull consumer: @NotNull Consumer<PackZipper>)
Adds event handler on reload start.
Link copied to clipboard
@NotNull
abstract fun audiences(): @NotNull BukkitAudiences
Gets bukkit audiences
Link copied to clipboard
@NotNull
abstract fun commandManager(): @NotNull CommandManager
Gets command manager.
Link copied to clipboard
@NotNull
abstract fun compatibilityManager(): @NotNull CompatibilityManager
Gets compatibility manager.
Link copied to clipboard
@NotNull
abstract fun config(): @NotNull BetterModelConfig
Gets BetterModel's config
Link copied to clipboard
@NotNull
abstract fun entityManager(): @NotNull EntityManager
Gets entity manager.
Link copied to clipboard
@NotNull
abstract fun evaluator(): @NotNull BetterModelEvaluator
Gets evaluator
Link copied to clipboard
@Nullable
abstract fun getResource(@NotNull path: @NotNull String): @Nullable InputStream
Gets plugin resource from a path
Link copied to clipboard
abstract fun isSnapshot(): Boolean
Check running BetterModel is snapshot.
Link copied to clipboard
@NotNull
abstract fun logger(): @NotNull BetterModelLogger
Gets logger
Link copied to clipboard
@NotNull
abstract fun modelManager(): @NotNull ModelManager
Gets model manager.
Link copied to clipboard
@NotNull
abstract fun nms(): @NotNull NMS
Gets minecraft version volatile code.
Link copied to clipboard
@NotNull
abstract fun playerManager(): @NotNull PlayerManager
Gets player manager.
Link copied to clipboard
@NotNull
open fun reload(): @NotNull BetterModelPlugin.ReloadResult
@NotNull
abstract fun reload(@NotNull info: @NotNull ReloadInfo): @NotNull BetterModelPlugin.ReloadResult
Reloads this plugin.
Link copied to clipboard
@NotNull
abstract fun scheduler(): @NotNull ModelScheduler
Gets plugin scheduler.
Link copied to clipboard
@NotNull
abstract fun scriptManager(): @NotNull ScriptManager
Gets script manager.
Link copied to clipboard
@NotNull
abstract fun semver(): @NotNull Semver
Gets plugin semver.
Link copied to clipboard
@NotNull
abstract fun skinManager(): @NotNull SkinManager
Gets skin manager.
Link copied to clipboard
@NotNull
abstract fun version(): @NotNull MinecraftVersion
Gets running server's minecraft version.