BetterModelConfig

Represents the main configuration interface for BetterModel.

This interface provides access to various configuration settings, including debug options, pack generation settings, module toggles, and runtime behaviors.

Since

1.15.2

Types

Link copied to clipboard
Enumerates the types of resource pack generation.

Functions

Link copied to clipboard
@NotNull
abstract fun buildFolderLocation(): @NotNull String
Returns the location of the build folder for resource packs.
Link copied to clipboard
Checks if inventory swap packets should be cancelled for players with active models.
Link copied to clipboard
@NotNull
abstract fun debug(): @NotNull DebugConfig
Returns the debug configuration.
Link copied to clipboard
@NotNull
abstract fun defaultMountController(): @NotNull MountController
Returns the default mount controller used for entities.
Link copied to clipboard
Checks if strict loading mode is enabled.
Link copied to clipboard
Checks if model trackers should follow the source entity's invisibility status.
Link copied to clipboard
@NotNull
abstract fun indicator(): @NotNull IndicatorConfig
Returns the indicator configuration.
Link copied to clipboard
@NotNull
abstract fun item(): @NotNull Supplier<PlatformItemStack>
Returns a supplier for the platform item stack used as the base for model items.
Link copied to clipboard
@NotNull
abstract fun itemModel(): @NotNull String
Returns the item model string identifier used for the resource pack target item.
Link copied to clipboard
@NotNull
abstract fun itemNamespace(): @NotNull String
Returns the namespace used for the target item.
Link copied to clipboard
abstract fun lerpFrameTime(): Int
Returns the interpolation frame time (lerp) in milliseconds.
Link copied to clipboard
abstract fun maxSight(): Double
Returns the maximum range for sight tracing.
Link copied to clipboard
Checks if BetterModel should attempt to merge its resource pack with external plugins/mods.
Link copied to clipboard
abstract fun metrics(): Boolean
Checks if metrics collection is enabled.
Link copied to clipboard
abstract fun minSight(): Double
Returns the minimum range for sight tracing.
Link copied to clipboard
@NotNull
abstract fun module(): @NotNull ModuleConfig
Returns the module configuration.
Link copied to clipboard
@NotNull
abstract fun namespace(): @NotNull String
Returns the namespace used for the generated resource pack.
Link copied to clipboard
@NotNull
abstract fun pack(): @NotNull PackConfig
Returns the resource pack configuration.
Link copied to clipboard
abstract fun packetBundlingSize(): Int
Returns the threshold size for packet bundling.
Link copied to clipboard
@NotNull
abstract fun packType(): @NotNull BetterModelConfig.PackType
Returns the type of resource pack generation (Folder, Zip, or None).
Link copied to clipboard
abstract fun playerHideDelay(): Long
Returns the delay in ticks before hiding a player's model after they become invisible.
Link copied to clipboard
abstract fun sightTrace(): Boolean
Checks if sight tracing (visibility checking) is enabled.
Link copied to clipboard
abstract fun usePurpurAfk(): Boolean
Checks if Purpur's AFK API should be used.
Link copied to clipboard
abstract fun versionCheck(): Boolean
Checks if version update notifications should be sent to OPs on join.