of

@ApiStatus.Internal
@NotNull
open fun of(@NotNull location: @NotNull PlatformLocation): @NotNull RenderSource.Dummy

Creates a dummy render source at the specified location.

Return

a new dummy render source

Since

1.15.2

Parameters

location

the location where the model will be rendered


@ApiStatus.Internal
@NotNull
open fun of(@NotNull location: @NotNull PlatformLocation, @NotNull profile: @NotNull ModelProfile.Uncompleted): @NotNull RenderSource.Dummy

Creates a dummy render source at the specified location with a specific model profile.

Return

a new profiled dummy render source

Since

1.15.2

Parameters

location

the location where the model will be rendered

profile

the uncompleted model profile to use


@ApiStatus.Internal
@NotNull
open fun of(@NotNull entity: @NotNull BaseEntity, @NotNull profile: @NotNull ModelProfile.Uncompleted): @NotNull RenderSource.Entity

Creates an entity render source for the given entity with a specific model profile.

Return

a new entity render source

Since

1.15.2

Parameters

entity

the entity to attach the model to

profile

the uncompleted model profile to use


@ApiStatus.Internal
@NotNull
open fun of(@NotNull entity: @NotNull BaseEntity): @NotNull RenderSource.Entity

Creates an entity render source for the given entity.

Return

a new entity render source

Since

1.15.2

Parameters

entity

the entity to attach the model to