Mechanic

displaytransformation

Sets the display entity's transformations

Aliases

settransformationtransformation

Configuration Fields (3)

NameTypeDefaultDescription
action
a
ActionSETThe action to perform for the display entity's transformations. SET/ADD/MULTIPLY/DIVIDE
transformationType
transformation, type, tt
TransformationTypeTRANSLATIONThe type of transformation to apply to the display entity. TRANSLATION/SCALE/RIGHT_ROTATION/LEFT_ROTATION
values
value, val
List<PlaceholderFloat>0,0,0The values for the transformation.

Examples & Notes

Examples

ExampleDisplayEntity:
  Type: block_display
  Skills:
  # sets the translation transform to `0,0,1` after 10 seconds the entity spawns
  - displaytransformation{action=set;transformation=translation;value=0,0,1;delay=200} @self ~onSpawn

  # rotates the item display along the y-axis (similar to a dropped item)
  - displaytransformation{action=MULTIPLY;transformation=LEFT_ROTATION;val=0,0.707,0,0.707} @self ~onTimer:10

Universal Mechanic Options

Community-maintained documentation for the Mythic plugin ecosystem.