model

@NotNull
open fun model(@NotNull name: @NotNull String): @NotNull Optional<ModelRenderer>

Retrieves a model renderer by its name, wrapped in an Optional.

Return

an optional containing the renderer if found

Since

1.15.2

Parameters

name

the name of the model