#(sagedontgo) Spawning display entities/entities on passengers

1 messages · Page 1 of 1 (latest)

cerulean stump
#

hi hey! i'm trying to get a damage indicator working, and to do that i want to summon a text_display riding an item that has motion on it. slight problem is that denizen's spawn command's args is drastically different from vanilla's summon args, and i'm quite lost on how to do so. would love any help/guide on how to convert vanilla nbt into denizen!

(please ping when responding, ty!)

fringe rampartBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

glossy mirage
#

Do you have any visual example on how you want the damage indicator to work?

cerulean stump
zinc veldtBOT
# glossy mirage !c spawn
Group

entity

Syntax

spawn [<entity>|...] (<location>) (target:<entity>) (persistent) (reason:<reason>)

Short Description

Spawns a list of entities at a certain location.

Description

Spawn an entity or list of entities at the specified location.

Accepts the 'target:<entity>' argument which will cause all spawned entities to follow and attack the targeted entity.

If the persistent argument is present, the entity will not despawn when no players are within range, causing the entity to remain until killed.

Optionally specify 'reason:<reason>' (Paper only) to specify the reason an entity is spawning for the 'entity spawns' event,
using any reason from <@link url https://hub.s...

glossy mirage
#

!mech pivot

zinc veldtBOT
glossy mirage
#

!mech text

zinc veldtBOT
# glossy mirage !mech text
Cannot Specify Searched Mechanism

Multiple possible mechanisms: EntityTag.text, EntityTag.display, EntityTag.text_shadowed.

#
Possible Confusion

Did you mean to search for command team?

glossy mirage
#

!mech entity.text

zinc veldtBOT
# glossy mirage !mech entity.text

(Property) A text display entity's text, supports new lines.

Group

Properties

Object

EntityTag

Input

ElementTag

Tags

<EntityTag.text> (Property) A text display entity's text, supports new lines.

glossy mirage
#

you can do something like /ex spawn "text_display[pivot=center;text=my text!]"

#

You don't really need to mount it to an item, you can just interpolate translation

#

!mech entity.transla

zinc veldtBOT
# glossy mirage !mech entity.transla

(Property) A display entity's translation, represented as a !objecttype LocationTag vector.
Can be interpolated, see !language Display entity interpolation.

Group

Properties

Object

EntityTag

Input

LocationTag

Tags

<EntityTag.translation> (Property) A display entity's translation, represented as a <@link objectt...

glossy mirage
#

!mech interpolation_dura

zinc veldtBOT
# glossy mirage !mech interpolation_dura

(Property) The duration a display entity will spend interpolating between interpolated value(s).
See also !language Display entity interpolation.

Group

Properties

Object

EntityTag

Input

DurationTag

Tags

<EntityTag.interpolation_duration> (Property) The duration a display entity will spend interpolati...

glossy mirage
#

!mech interpolation_star

zinc veldtBOT
# glossy mirage !mech interpolation_star

(Property) The delay between a display entity receiving an update to an interpolated value(s) to it starting its interpolation.
Interpolation is started whenever this value is set. If no changes were made to the entity in the same tick, it will (visually) redo its last interpolation.
See also !language Display entity interpolation.

Group

Properties

Object

EntityTag

Input

DurationTag

Tags

<EntityTag.interpolation_start> (Property) The delay between a display entity receiving an update ...

cerulean stump
#

awesome!! apparently was on the wrong tab of the metadocs this whole time 💀

#

thanks a lot!!