RenderedBone

A rendered item-display.

Constructors

Link copied to clipboard
@ApiStatus.Internal
constructor(@NotNull group: @NotNull RendererGroup, @Nullable parent: @Nullable RenderedBone, @NotNull context: @NotNull BoneRenderContext, @NotNull movement: @NotNull BoneMovement, @NotNull childrenMapper: @NotNull (RenderedBone) -> Array<RenderedBone>)
Creates entity.

Functions

Link copied to clipboard
open fun addAnimation(@NotNull overrideState: @NotNull AnimationOverrideState, @NotNull animator: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier, @NotNull removeTask: @NotNull Runnable): Boolean
Link copied to clipboard
open fun addGlobalRotModifier(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull function: @NotNull (Quaternionf) -> Quaternionf): Boolean
Adds global rot modifier.
Link copied to clipboard
open fun addLocalRotModifier(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull function: @NotNull (Quaternionf) -> Quaternionf): Boolean
Adds local rot modifier.
Link copied to clipboard
open fun addPositionModifier(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull function: @NotNull (Vector3f) -> Vector3f): Boolean
Adds position modifier.
Link copied to clipboard
open fun applyAtDisplay(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull consumer: @NotNull Consumer<ModelDisplay>): Boolean
Applies some function at display
Link copied to clipboard
open fun createHitBox(@NotNull entity: @NotNull BaseEntity, @NotNull predicate: @NotNull Predicate<RenderedBone>, @Nullable listener: @Nullable HitBoxListener): Boolean
Creates hit box.
Link copied to clipboard
open fun createNametag(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull consumer: @NotNull Consumer<ModelNametag>): Boolean
Creates nametag
Link copied to clipboard
open fun defaultPosition(@NotNull movement: @NotNull Supplier<Vector3f>)
Link copied to clipboard
open fun dirtyUpdate(@NotNull bundler: @NotNull PacketBundler)
Link copied to clipboard
open fun enchant(@NotNull predicate: @NotNull Predicate<RenderedBone>, enchant: Boolean): Boolean
Make item has enchantment or not
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
@NotNull
open fun eventDispatcher(): @NotNull BoneEventDispatcher
Link copied to clipboard
open fun extend(@NotNull eventHandler: @NotNull BoneEventHandler)
Link copied to clipboard
@NotNull
open fun flatten(): @NotNull Stream<RenderedBone>
Link copied to clipboard
@Unmodifiable
@NotNull
open fun flattenBones(): @Unmodifiable @NotNull SequencedSet<RenderedBone>
Link copied to clipboard
open fun forceTransformation(@NotNull bundler: @NotNull PacketBundler)
Link copied to clipboard
open fun forceUpdate(@NotNull bundler: @NotNull PacketBundler)
open fun forceUpdate(showItem: Boolean, @NotNull bundler: @NotNull PacketBundler)
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun hitBoxPosition(): @NotNull Vector3f
@NotNull
open fun hitBoxPosition(@NotNull cache: @NotNull BoneMovement): @NotNull Vector3f
Link copied to clipboard
open fun hitBoxScale(): Float
Link copied to clipboard
Link copied to clipboard
open fun itemStack(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull itemStack: @NotNull TransformedItemStack): Boolean
Changes displayed item
Link copied to clipboard
open fun locator(@NotNull solver: @NotNull BoneIKSolver)
Link copied to clipboard
open fun matchAnimation(@NotNull overrideState: @NotNull AnimationOverrideState, @NotNull mapper: @NotNull BiPredicate<RenderedBone, AnimationOverrideState>): Boolean
Link copied to clipboard
open fun matchTree(@NotNull predicate: @NotNull BonePredicate, @NotNull mapper: @NotNull BiPredicate<RenderedBone, BonePredicate>): Boolean
Link copied to clipboard
@NotNull
open fun name(): @NotNull BoneName
Link copied to clipboard
open fun remove(@NotNull bundler: @NotNull PacketBundler)
Removes model's display
Link copied to clipboard
open fun replaceAnimation(@NotNull overrideState: @NotNull AnimationOverrideState, @NotNull target: @NotNull String, @NotNull animator: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier): Boolean
Link copied to clipboard
open fun rotate(@NotNull rotation: @NotNull ModelRotation, @NotNull bundler: @NotNull PacketBundler): Boolean
Link copied to clipboard
@NotNull
open fun rotation(): @NotNull ModelRotation
Link copied to clipboard
@Nullable
open fun runningAnimation(): @Nullable RunningAnimation
Link copied to clipboard
open fun scale(@NotNull scale: @NotNull FloatSupplier)
Sets the scale of this bone
Link copied to clipboard
open fun sendTransformation(@Nullable uuid: @Nullable UUID, @NotNull bundler: @NotNull AnimationBundler)
Link copied to clipboard
open fun spawn(hide: Boolean, @NotNull bundler: @NotNull PacketBundler)
Link copied to clipboard
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull name: @NotNull String, @Nullable player: @Nullable PlatformPlayer): Boolean
Stops bone's animation
Link copied to clipboard
open fun teleport(@NotNull location: @NotNull PlatformLocation, @NotNull bundler: @NotNull PacketBundler)
Link copied to clipboard
open fun tick(): Boolean
open fun tick(@NotNull uuid: @NotNull UUID): Boolean
Link copied to clipboard
open fun tint(@NotNull predicate: @NotNull Predicate<RenderedBone>): Boolean
open fun tint(@NotNull predicate: @NotNull Predicate<RenderedBone>, tint: Int): Boolean
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateItem(@NotNull predicate: @NotNull Predicate<RenderedBone>): Boolean
open fun updateItem(@NotNull context: @NotNull BoneRenderContext): Boolean
Link copied to clipboard
@NotNull
open fun uuid(): @NotNull UUID
Link copied to clipboard
@NotNull
open fun worldPosition(): @NotNull Vector3f
@NotNull
open fun worldPosition(@NotNull cache: @NotNull BoneMovement): @NotNull Vector3f
@NotNull
open fun worldPosition(@NotNull position: @NotNull BonePosition): @NotNull Vector3f
@NotNull
open fun worldPosition(@NotNull position: @NotNull BonePosition, @NotNull cache: @NotNull BoneMovement): @NotNull Vector3f
Link copied to clipboard
@NotNull
open fun worldRotation(): @NotNull Vector3f
@NotNull
open fun worldRotation(@Nullable uuid: @Nullable UUID): @NotNull Vector3f