BetterModel
Toggle table of contents
1.6.0
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api
/
BetterModel
Better
Model
class
BetterModel
A dummy class for BetterModel plugin instance.
Members
Properties
IS_
FOLIA
Link copied to clipboard
val
IS_FOLIA
:
Boolean
Check a running platform is Folia.
IS_
PAPER
Link copied to clipboard
val
IS_PAPER
:
Boolean
Check a running platform is Paper.
IS_
PURPUR
Link copied to clipboard
val
IS_PURPUR
:
Boolean
Check a running platform is Purpur.
Functions
inst
Link copied to clipboard
@
NotNull
open
fun
inst
(
)
:
BetterModelPlugin
Gets plugin instance of BetterModel.
@
ApiStatus.Internal
open
fun
inst
(
@
NotNull
instance
:
BetterModelPlugin
)
Sets plugin instance of BetterModel.
limb
Link copied to clipboard
@
NotNull
open
fun
limb
(
@
NotNull
name
:
String
)
:
Optional
<
ModelRenderer
>
Gets player animation render by name
limbs
Link copied to clipboard
@
NotNull
@
Unmodifiable
open
fun
limbs
(
)
:
@
Unmodifiable
List
<
ModelRenderer
>
Gets all limbs
model
Link copied to clipboard
@
NotNull
open
fun
model
(
@
NotNull
name
:
String
)
:
Optional
<
ModelRenderer
>
Gets model render by name
models
Link copied to clipboard
@
NotNull
@
Unmodifiable
open
fun
models
(
)
:
@
Unmodifiable
List
<
ModelRenderer
>
Gets all models