#(josh65) Rotate display entity in place

19 messages · Page 1 of 1 (latest)

full loom
#

I want to make a rotating blade with display entity's and have it rotate from the centre, 360 degrees. I know of adjust <server.flag[reactorCooler]> left_rotation:0,0,0,1 (reactorCooler being the entity tag of the block display) but no matter what value I change in the quaternion tag it jumps around the world. With current documentation it doesn't make sense to me on how it works.

Command I'm using to make the display entity

summon minecraft:block_display ~ ~ ~ {block_state: {Name: "minecraft:iron_block"}, interpolation_duration: 100, interpolation_start: -1, transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [20.0f, 2.0f, 0.5f], translation: [-10.0f, -1.0000002f, -0.25000006f]}, view_range: 2.0f}
languid coralBOT
#

(josh65) Rotate display entity in place

languid coralBOT
#

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.

errant needle
delicate ledge
#

!prop left_rotation

median rootBOT
# delicate ledge !prop left_rotation

(Property) A display entity's "left" rotation.
Note that !mechanism EntityTag.right_rotation is also available, but should normally use this instead.

Group

Properties

Object

EntityTag

Input

QuaternionTag

Tags

<EntityTag.left_rotation> (Property) A display entity's "left" rotation. Note that <@link mechanis...

median rootBOT
delicate ledge
#

It's a QuaternionTag ^

errant needle
#

bruh, i read "OutputTag" not "Input"

#

sorry

spice void
#

Is this what you want to do?

#

If so you can just

#

!c rotate

median rootBOT
# spice void !c rotate
Group

entity

Syntax

rotate (cancel) (<entity>|...) (yaw:<#.#>) (pitch:<#.#>) (infinite/duration:<duration>) (frequency:<duration>)

Short Description

Rotates a list of entities.

Description

Induces incremental rotation on a list of entities over a period of time.

The yaw and pitch arguments specify how much the entity will rotate each step. Default to 10 and 0 respectively.

The frequency argument specifies how long it takes between each rotation step. Defaults to 1t.

The duration argument specifies how long the whole rotation process will last. Defaults to 1s.
Alternatively, use "infinite" if you want the entity to spin forever.

You can use "cancel" to prematurely stop the ongo...

spice void
#

spawn the item display and then rotate it with that ^

full loom
#

Thats working thanks