BetterModel

A provider class for BetterModel plugin instance.

Properties

Link copied to clipboard
Check a running platform is Folia.
Link copied to clipboard
Check a running platform is Paper.
Link copied to clipboard
Check a running platform is Purpur.

Functions

Link copied to clipboard
@NotNull
open fun inst(): BetterModelPlugin
Link copied to clipboard
@NotNull
open fun limb(@NotNull name: String): Optional<ModelRenderer>
Gets player animation render by name
Link copied to clipboard
@NotNull
@Unmodifiable
open fun limbs(): @Unmodifiable List<ModelRenderer>
Gets all limbs
Link copied to clipboard
@NotNull
open fun model(@NotNull name: String): Optional<ModelRenderer>
Gets model render by name
Link copied to clipboard
@NotNull
@Unmodifiable
open fun models(): @Unmodifiable List<ModelRenderer>
Gets all models
Link copied to clipboard
@NotNull
open fun player(@NotNull uuid: UUID): Optional<PlayerChannelHandler>
Gets player channel by uuid.
Link copied to clipboard
@NotNull
open fun plugin(): BetterModelPlugin
Gets plugin instance of BetterModel.
Link copied to clipboard
@ApiStatus.Internal
open fun register(@NotNull instance: BetterModelPlugin)
Sets plugin instance of BetterModel.