Fake Entity - Teleport Fake Entity (Effect) — PacketEventsSK

Addon: PacketEventsSK · Category: Effect · Since: 1.0.0

Syntax

teleport fake [entit(y|ies)] %fakeentities% to %location%

Description

Teleport a spawned fake entity to a location.

Examples

command test:
    trigger:
        set {_p} to player
        create a new fake text display entity at player for players and store it in {_entity}:
            set fake display content of {_entity} to minimessage from "Hello"
            set fake display billboard of {_entity} to center
            set fake display teleport interpolation duration of {_entity} to 1 second

            loop 5 times:
                teleport fake entity {_entity} to {_p}
                wait 1 second

            kill fake entity {_entity}

View source