RenderedBone
class RenderedBone
A rendered item-display.
Constructors
Link copied to clipboard
@ApiStatus.Internal
Creates entity.
Functions
Link copied to clipboard
open fun addAnimation(@NotNull filter: @NotNull AnimationPredicate, @NotNull animator: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier, @NotNull eventHandler: @NotNull AnimationEventHandler): Boolean
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 addRotationModifier(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull function: @NotNull (Quaternionf) -> Quaternionf): Boolean
Adds rotation modifier.
Link copied to clipboard
open fun billboard(@NotNull predicate: @NotNull Predicate<RenderedBone>, @NotNull billboard: @NotNull Display.Billboard): Boolean
Apply a billboard to this model.
Link copied to clipboard
@Nullable
Gets bone
Link copied to clipboard
open fun brightness(@NotNull predicate: @NotNull Predicate<RenderedBone>, block: Int, sky: Int): Boolean
Link copied to clipboard
open fun createHitBox(@NotNull entity: @NotNull EntityAdapter, @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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
open fun matchTree(@NotNull predicate: @NotNull AnimationPredicate, @NotNull mapper: @NotNull BiPredicate<RenderedBone, AnimationPredicate>): Boolean
open fun matchTree(@NotNull predicate: @NotNull BonePredicate, @NotNull mapper: @NotNull BiPredicate<RenderedBone, BonePredicate>): Boolean
Link copied to clipboard
Sets bone's move duration.
Link copied to clipboard
Removes model's display
Link copied to clipboard
open fun replaceAnimation(@NotNull filter: @NotNull AnimationPredicate, @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
Link copied to clipboard
Link copied to clipboard
Sets the scale of this bone
Link copied to clipboard
Link copied to clipboard
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull name: @NotNull String, @Nullable player: @Nullable Player): Boolean
Stops bone's animation
Link copied to clipboard
Link copied to clipboard
open fun tick(@NotNull uuid: @NotNull UUID, @NotNull perPlayerBundler: @NotNull PacketBundler): Boolean
Link copied to clipboard
Toggles some part
Link copied to clipboard
Link copied to clipboard
@NotNull
@NotNull
Link copied to clipboard