Skip to content

Entities

3add edited this page Jan 12, 2026 · 11 revisions

Packet Entities are player-specific entities - only a list of players can see the entity

Creation

You can create a packet entity using the following builder: create new packet %type% entity at %location% for %viewers%

All these are functionally the same:

command a:
    trigger:
        create new fake player entity at player for all players:
            set fake skin of the fake entity to player's skin

command b:
    trigger:
        create new fake player entity at player for all players and store it in {_e}
        set fake skin of {_e} to player's skin

command c:
    trigger:
        create new fake player entity and store it in {_e}
        add all players to fake entity viewers of {_e}
        spawn fake entity {_e} at player
        set fake skin of {_e} to player's skin

Management

You may store these entities in variables or you can reference them by their UUID or entity ID:

command spawnfakeplayer:
    trigger:
        create new fake player entity at player for all players:
            set fake skin of the fake entity to player's skin
            add the fake entity uuid of the fake entity to {-uuid::*}
            add the fake entity id of the fake entity to {-id::*}

command lookup <text>:
    trigger:
        loop {-uuid::*}:
            if {-uuid::*} contains arg-1 parsed as uuid:
                send "Found %fake entity with uuid loop-value%"

        loop {-id::*}:
            if {-id::*} contains arg-1 parsed as integer:
                send "Found %fake entity with id loop-value%"

Clone this wiki locally