RenderedBone
A rendered item-display.
Constructors
Link copied to clipboard
constructor(@NotNull group: RendererGroup, @Nullable parent: RenderedBone, @NotNull itemStack: TransformedItemStack, @NotNull transform: ItemDisplay.ItemDisplayTransform, @NotNull firstLocation: Location, @NotNull movement: BoneMovement)
Creates entity.
Functions
Link copied to clipboard
open fun addAnimationMovementModifier(@NotNull predicate: BonePredicate, @NotNull consumer: Consumer<AnimationMovement>): Boolean
Adds animation modifier.
Link copied to clipboard
open fun addLoop(@NotNull filter: Predicate<RenderedBone>, @NotNull parent: String, @NotNull animator: BlueprintAnimation, modifier: AnimationModifier, removeTask: Runnable)
Link copied to clipboard
open fun addSingle(@NotNull filter: Predicate<RenderedBone>, @NotNull parent: String, @NotNull animator: BlueprintAnimation, modifier: AnimationModifier, removeTask: Runnable)
Link copied to clipboard
Link copied to clipboard
@ApiStatus.Internal
Creates hit box.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@ApiStatus.Internal
Changes displayed item
Link copied to clipboard
open fun move(@Nullable rotation: ModelRotation, @NotNull movement: TrackerMovement, @NotNull bundler: PacketBundler)
Link copied to clipboard
Link copied to clipboard
Adds all renderers to list.
Link copied to clipboard
open fun replaceLoop(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String, @NotNull parent: String, @NotNull animator: BlueprintAnimation)
Link copied to clipboard
open fun replaceModifier(@NotNull filter: Predicate<RenderedBone>, @NotNull function: (AnimationModifier) -> AnimationModifier)
Link copied to clipboard
open fun replaceSingle(@NotNull filter: Predicate<RenderedBone>, @NotNull target: String, @NotNull parent: String, @NotNull animator: BlueprintAnimation)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard