Fake Entity - Player Username (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[the] (fake|packet) entity [field] [player] [user]name of %packetentity%Description
The fake player profile name, supplied at construction. Read-only. Value type: String. Applies to player and supported subclasses. Read-only.
Examples
command /preview-player-username:
trigger:
set {_entity} to a new fake player entity:
location: location of player
viewers: player
username: "Demo"
skin: skin of player
set {_value} to fake entity player username of {_entity}
send "%{_value}%" to player
wait 5 seconds
kill fake entity {_entity}