Skip to content

Entities

3add edited this page May 20, 2026 · 17 revisions

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

Creation

Example:

command hello:
    trigger:
        set {_p} to a new fake player entity:
            location: location of player
            viewers: all players

Management

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

command spawnfakeplayer:
    trigger:
        set {_p} to a new fake player entity:
            location: location of player
            viewers: all players
            skin: skin of player
            name: "test"

        add fake uuid of {_p} to {-uuid::*}
        add fake entity id of {_p} 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