Package kr.toxicity.model.api
package kr.toxicity.model.api
Provides the root contracts for accessing BetterModel services.
This package defines the stable entry points used by API consumers to reach the active platform, model managers, evaluator, logger, configuration, and event bus. It intentionally contains service contracts and facade methods only; platform implementations and runtime wiring belong to core or platform-specific modules.
Example:
var renderer = BetterModel.model("example_model");
var platform = BetterModel.platform();
- Since:
- 3.2.0
-
ClassDescriptionThe main entry point for the BetterModel API.Represents the main configuration interface for BetterModel.Enumerates the types of resource pack generation.Evaluator interface for parsing and compiling Molang expressions into executable functions.A central event bus for handling model-related events.Represents the outcome of an event publication.Platform-agnostic logging interface for BetterModel.Represents the main platform interface for BetterModel.Represents the type of JAR file the platform is running on.Represents the outcome of a platform reload operation.Indicates a failed reload.Indicates that a reload is currently in progress.Indicates a successful reload.