RenderedEntity
A rendered item-display.
Constructors
Link copied to clipboard
constructor(@NotNull group: RendererGroup, @Nullable parent: RenderedEntity, @Nullable itemStack: ItemStack, @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
@ApiStatus.Internal
Creates hit box.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@ApiStatus.Internal
Changes displayed item
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun move(@NotNull 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 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun togglePart(@NotNull bundler: PacketBundler, @NotNull predicate: Predicate<RenderedEntity>, toggle: Boolean)
Link copied to clipboard