ModelRenderer

A blueprint renderer.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
@Unmodifiable
open fun animations(): @NotNull @Unmodifiable Set<String>
Gets all names of animation.
Link copied to clipboard
@NotNull
open fun create(@NotNull location: @NotNull Location): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull modifier: @NotNull TrackerModifier): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<DummyTracker>): @NotNull DummyTracker
Creates tracker by location
@NotNull
open fun create(@NotNull entity: @NotNull Entity): @NotNull EntityTracker
@NotNull
open fun create(@NotNull entity: @NotNull Entity, @NotNull modifier: @NotNull TrackerModifier): @NotNull EntityTracker
@NotNull
open fun create(@NotNull entity: @NotNull Entity, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<EntityTracker>): @NotNull EntityTracker
Creates tracker by entity
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull profile: @NotNull GameProfile): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull profile: @NotNull GameProfile, slim: Boolean): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull profile: @NotNull GameProfile, @NotNull modifier: @NotNull TrackerModifier): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull profile: @NotNull GameProfile, slim: Boolean, @NotNull modifier: @NotNull TrackerModifier): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull profile: @NotNull GameProfile, slim: Boolean, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<DummyTracker>): @NotNull DummyTracker
Creates tracker by location and profile
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull player: @NotNull Player): @NotNull DummyTracker
@NotNull
open fun create(@NotNull location: @NotNull Location, @NotNull player: @NotNull Player, @NotNull modifier: @NotNull TrackerModifier): @NotNull DummyTracker
Creates tracker by location and player
Link copied to clipboard
@NotNull
open fun getOrCreate(@NotNull entity: @NotNull Entity): @NotNull EntityTracker
@NotNull
open fun getOrCreate(@NotNull entity: @NotNull Entity, @NotNull modifier: @NotNull TrackerModifier): @NotNull EntityTracker
@NotNull
open fun getOrCreate(@NotNull entity: @NotNull Entity, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<EntityTracker>): @NotNull EntityTracker
Gets or creates tracker by entity
Link copied to clipboard
@Nullable
open fun groupByTree(@NotNull name: @NotNull BoneName): @Nullable RendererGroup
Gets a renderer group by tree
Link copied to clipboard
@NotNull
open fun name(): @NotNull String
Gets model's name.