Fake Entity Property Field (Expression) — PacketEventsSK
Addon: PacketEventsSK · Category: Expression · Since: 1.1.2
Syntax
[the] [fake] fake entity [field] <[a-zA-Z0-9_ ]+> of %fakeentity%Description
Gets or sets a fake entity property field value from a fake entity instance by its name. Note that some entities inherit properties (for example all entities inherit "entity" fields
### Available Fake Entity Fields by Category * **entity** fields: - `entity viewers (viewers)` - `entity location (location)` - `entity id (id)` - `entity meta data (meta data, meta)` - `entity type (type)` - `entity uuid (uuid)`
* **player** fields: - *(Inherits all fields from **entity**)* - `player skin (skin)` - `player username (player name, username, name)`
Examples
on load:
set {-notchSkin} to skin of player named "notch"
command test5:
trigger:
set {_player} to a new fake player entity:
name: "test"
skin: skin of player
location: location of player
viewers: players
wait 1 second
set fake entity skin of {_player} to {-notchSkin}