BetterModelPlugin
Represents the main plugin interface for BetterModel.
This interface extends Plugin and provides access to core managers, configuration, versioning, and reloading functionality. It serves as the central hub for the plugin's operations.
Since
1.15.2
See also
JavaPlugin
Types
Link copied to clipboard
interface ReloadResult
Represents the outcome of a plugin reload operation.
Functions
Link copied to clipboard
abstract fun addReloadEndHandler(@NotNull consumer: @NotNull Consumer<BetterModelPlugin.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 plugin's configuration manager.
Link copied to clipboard
Returns the expression evaluator.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getDefaultBiomeProvider(p: @NotNull String, p1: @Nullable String): @Nullable BiomeProvider
Link copied to clipboard
abstract fun getDefaultWorldGenerator(p: @NotNull String, p1: @Nullable String): @Nullable ChunkGenerator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieves a resource from the plugin's JAR file.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks if the running version of BetterModel is a snapshot build.
Link copied to clipboard
Returns the plugin's logger.
Link copied to clipboard
Returns the model manager.
Link copied to clipboard
Link copied to clipboard
Returns the player manager.
Link copied to clipboard
Returns the profile manager.
Link copied to clipboard
Reloads the plugin with default settings (console sender).
@NotNull
Reloads the plugin with specific reload information.
@NotNull
Reloads the plugin, specifying the command sender who initiated it.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the plugin's scheduler.
Link copied to clipboard
Returns the script manager.
Link copied to clipboard
Link copied to clipboard
Returns the skin manager.
Link copied to clipboard
Returns the Minecraft version of the running server.