RenderedEntity
A rendered item-display.
Constructors
Link copied to clipboard
constructor(@NotNull group: RendererGroup, @Nullable parent: RenderedEntity, @NotNull itemStack: TransformedItemStack, @NotNull transform: ItemDisplay.ItemDisplayTransform, @NotNull firstLocation: Location, @NotNull movement: EntityMovement)
Creates entity.
Functions
Link copied to clipboard
open fun addAnimationMovementModifier(@NotNull predicate: Predicate<RenderedEntity>, @NotNull consumer: Consumer<AnimationMovement>): Boolean
Adds animation modifier.
Link copied to clipboard
open fun addLoop(@NotNull filter: Predicate<RenderedEntity>, @NotNull parent: String, @NotNull animator: BlueprintAnimation, modifier: AnimationModifier, removeTask: Runnable)
Link copied to clipboard
open fun addSingle(@NotNull filter: Predicate<RenderedEntity>, @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<RenderedEntity>, @NotNull target: String, @NotNull parent: String, @NotNull animator: BlueprintAnimation)
Link copied to clipboard
open fun replaceModifier(@NotNull filter: Predicate<RenderedEntity>, @NotNull function: (AnimationModifier) -> AnimationModifier)
Link copied to clipboard
open fun replaceSingle(@NotNull filter: Predicate<RenderedEntity>, @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
open fun tint(@NotNull predicate: Predicate<RenderedEntity>, tint: Int, @NotNull bundler: PacketBundler)
Link copied to clipboard
open fun togglePart(@NotNull bundler: PacketBundler, @NotNull predicate: Predicate<RenderedEntity>, toggle: Boolean)
Link copied to clipboard