Go: Simulated players¶
Functions¶
SimSpawn¶
| Go | |
|---|---|
SimSpawn spawns a simulated player.
- Parameters:
- name :
string - dim :
int32 - x :
float64 - y :
float64 - z :
float64
- name :
- Return type:
error - Slots:
sim_spawn
SimDo¶
| Go | |
|---|---|
SimDo runs one verb on a simulated player; args is SNBT, "{}" when there is none.
- Parameters:
- name :
string - verb :
string - args :
string
- name :
- Return type:
error - Slots:
sim_do
IsSimulated¶
| Go | |
|---|---|
IsSimulated reports whether name is a live simulated player.
- Parameters:
- name :
string
- name :
- Return type:
(bool, error) - Slots:
sim_is
SimList¶
| Go | |
|---|---|
SimList lists the live simulated players.
- Return type:
([]string, error) - Slots:
sim_list