RenderInstance

@ApiStatus.Internal
class RenderInstance

A manager of each tracker.

Constructors

Link copied to clipboard
constructor(@NotNull parent: BlueprintRenderer, @NotNull entityMap: Map<String, RenderedBone>, @NotNull animationMap: Map<String, BlueprintAnimation>)

Functions

Link copied to clipboard
open fun addAnimationMovementModifier(@NotNull predicate: BonePredicate, @NotNull consumer: Consumer<AnimationMovement>): Boolean
Link copied to clipboard
Link copied to clipboard
open fun animateLoop(@NotNull animation: String): Boolean
open fun animateLoop(@NotNull animation: String, modifier: AnimationModifier): Boolean
open fun animateLoop(@NotNull filter: Predicate<RenderedBone>, @NotNull animation: String, modifier: AnimationModifier, removeTask: Runnable): Boolean
Link copied to clipboard
open fun animateSingle(@NotNull animation: String): Boolean
open fun animateSingle(@NotNull animation: String, modifier: AnimationModifier): Boolean
open fun animateSingle(@NotNull filter: Predicate<RenderedBone>, @NotNull animation: String, modifier: AnimationModifier, removeTask: Runnable): Boolean
Link copied to clipboard
@Nullable
open fun boneOf(@NotNull name: String): RenderedBone
Link copied to clipboard
open fun brightness(@NotNull predicate: BonePredicate, block: Int, sky: Int): Boolean
Link copied to clipboard
open fun createHitBox(@NotNull entity: EntityAdapter, @NotNull predicate: Predicate<RenderedBone>, @Nullable listener: HitBoxListener)
Link copied to clipboard
open fun defaultPosition(@NotNull movement: Vector3f)
Link copied to clipboard
open fun despawn()
Link copied to clipboard
open fun forceUpdate(@NotNull bundler: PacketBundler)
Link copied to clipboard
open fun height(): Double
Link copied to clipboard
open fun itemStack(@NotNull predicate: BonePredicate, @NotNull itemStack: TransformedItemStack): Boolean
Link copied to clipboard
open fun move(@Nullable rotation: ModelRotation, @NotNull movement: TrackerMovement, @NotNull bundler: PacketBundler)
Link copied to clipboard
open fun playerCount(): Int
Link copied to clipboard
open fun remove(@NotNull player: Player)
Link copied to clipboard
@NotNull
open fun renderers(): List<RenderedBone>
Link copied to clipboard
open fun replaceLoop(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String, @NotNull animation: String): Boolean
Link copied to clipboard
open fun replaceSingle(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String, @NotNull animation: String): Boolean
Link copied to clipboard
open fun spawn(@NotNull player: Player, @NotNull bundler: PacketBundler)
Link copied to clipboard
@NotNull
open fun spawnFilter(): Predicate<Player>
open fun spawnFilter(@NotNull spawnFilter: Predicate<Player>)
Link copied to clipboard
open fun stopAnimation(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String)
Link copied to clipboard
open fun teleport(@NotNull location: Location, @NotNull bundler: PacketBundler)
Link copied to clipboard
open fun tint(@NotNull predicate: BonePredicate, rgb: Int): Boolean
Link copied to clipboard
open fun togglePart(@NotNull predicate: BonePredicate, toggle: Boolean): Boolean
Link copied to clipboard
@NotNull
open fun viewedPlayer(): Stream<Player>
@NotNull
open fun viewedPlayer(@NotNull predicate: Predicate<Player>): Stream<Player>
Link copied to clipboard
open fun viewFilter(@NotNull filter: Predicate<Player>)