BetterModelMod

Represents the Mod-specific platform interface for BetterModel.

This interface extends BetterModelPlatform to provide access to the underlying Minecraft server instance and region holder for thread-safe operations.

Since

2.0.0

Functions

Link copied to clipboard
abstract fun adapter(): @NotNull PlatformAdapter
Link copied to clipboard
Link copied to clipboard
abstract fun addReloadStartHandler(p: @NotNull Consumer<PackZipper>)
Link copied to clipboard
abstract fun config(): @NotNull BetterModelConfig
Link copied to clipboard
abstract fun dataFolder(): @NotNull File
Link copied to clipboard
abstract fun evaluator(): @NotNull BetterModelEvaluator
Link copied to clipboard
abstract fun eventBus(): @NotNull BetterModelEventBus
Link copied to clipboard
abstract fun getResource(p: @NotNull String): @Nullable InputStream
Link copied to clipboard
abstract fun isEnabled(): Boolean
Link copied to clipboard
abstract fun isSnapshot(): Boolean
Link copied to clipboard
abstract fun jarType(): @NotNull BetterModelPlatform.JarType
Link copied to clipboard
abstract fun logger(): @NotNull BetterModelLogger
Link copied to clipboard
abstract fun modelManager(): @NotNull ModelManager
Link copied to clipboard
abstract fun nms(): @NotNull NMS
Link copied to clipboard
@NotNull
open fun platform(): @NotNull BetterModelMod
Returns the current BetterModelMod instance.
Link copied to clipboard
abstract fun playerManager(): @NotNull PlayerManager
Link copied to clipboard
abstract fun profileManager(): @NotNull ProfileManager
Link copied to clipboard
Link copied to clipboard
@NotNull
abstract fun scheduler(): @NotNull ModModelScheduler
Returns the Mod-specific scheduler.
Link copied to clipboard
abstract fun scriptManager(): @NotNull ScriptManager
Link copied to clipboard
abstract fun semver(): @NotNull Semver
Link copied to clipboard
@NotNull
abstract fun server(): @NotNull MinecraftServer
Returns the underlying Minecraft server instance.
Link copied to clipboard
abstract fun skinManager(): @NotNull SkinManager
Link copied to clipboard
abstract fun version(): @NotNull MinecraftVersion