BetterModelPlatform
Represents the main platform interface for BetterModel.
Since
1.15.2
See also
Types
Link copied to clipboard
interface ReloadResult
Represents the outcome of a platform reload operation.
Functions
Link copied to clipboard
Return the platform's adapter
Link copied to clipboard
abstract fun addReloadEndHandler(@NotNull consumer: @NotNull Consumer<BetterModelPlatform.ReloadResult>)
Registers a handler to be executed when a reload ends.
Link copied to clipboard
Registers a handler to be executed when a reload starts.
Link copied to clipboard
Returns the platform's configuration manager.
Link copied to clipboard
Returns the data folder for the BetterModel plugin.
Link copied to clipboard
Returns the expression evaluator.
Link copied to clipboard
Returns the event bus.
Link copied to clipboard
Retrieves a resource from the platform's JAR file.
Link copied to clipboard
Checks if the running version of BetterModel is a snapshot build.
Link copied to clipboard
Returns the type of JAR file this platform is running on (e.g., SPIGOT, PAPER, FABRIC).
Link copied to clipboard
Returns the platform's logger.
Link copied to clipboard
Returns the model manager.
Link copied to clipboard
Returns the player manager.
Link copied to clipboard
Returns the profile manager.
Link copied to clipboard
Reloads the platform with default settings (console sender).
@NotNull
Reloads the platform with specific reload information.
@NotNull
Reloads the platform, specifying the command sender who initiated it.
Link copied to clipboard
Returns the platform's scheduler.
Link copied to clipboard
Returns the script manager.
Link copied to clipboard
Returns the skin manager.
Link copied to clipboard
Returns the Minecraft version of the running server.