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