aboutsummaryrefslogtreecommitdiff
path: root/mod/README.md
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2022-07-29 12:17:56 -0700
committerTrumeet <yuuta@yuuta.moe>2022-07-29 12:17:56 -0700
commit26765d586e187ebd088cdb2f7451768a637968c8 (patch)
tree3abef1c89154ddc6964e82c43ee1c9c73f6d2c2a /mod/README.md
parentff769a117046448dec8f09d86dfc661cda0bbc3b (diff)
downloadacron-26765d586e187ebd088cdb2f7451768a637968c8.tar
acron-26765d586e187ebd088cdb2f7451768a637968c8.tar.gz
acron-26765d586e187ebd088cdb2f7451768a637968c8.tar.bz2
acron-26765d586e187ebd088cdb2f7451768a637968c8.zip
feat(mod/libacron): provide entity type to clients
API:ADD
Diffstat (limited to 'mod/README.md')
-rw-r--r--mod/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod/README.md b/mod/README.md
index 1e23817..49a7e8e 100644
--- a/mod/README.md
+++ b/mod/README.md
@@ -254,6 +254,7 @@ Response:
"player": {
"name": "",
"uuid": "",
+ "type": "",
"pos": {
"x": 0.0,
"y": 0.0,
@@ -269,6 +270,7 @@ Parameters:
* `.player` (entity, see below, always present): The player.
* `.name` (string, any valid Minecraft username, always present): Username.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.type` (string, namespace:path, always present): Entity type.
* `.pos` (vec3d, see below, always present): The position he or she joins.
* `.x` (double, any within border limit, 0.0): X
* `.y` (double, any within border limit, 0.0): Y
@@ -286,6 +288,7 @@ Response:
"player": {
"name": "",
"uuid": "",
+ "type": "",
"pos": {
"x": 0.0,
"y": 0.0,
@@ -302,6 +305,7 @@ Parameters:
* `.player` (entity, see below, null only when the server cannot verify the user): The player.
* `.name` (string, any valid Minecraft username, always present): Username.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.type` (string, namespace:path, always present): Entity type.
* `.pos` (vec3d, see below, always present): The position he or she leaves.
* `.x` (double, any within border limit, 0.0): X
* `.y` (double, any within border limit, 0.0): Y
@@ -320,6 +324,7 @@ Response:
"player": {
"name": "",
"uuid": "",
+ "type": "",
"pos": {
"x": 0.0,
"y": 0.0,
@@ -336,6 +341,7 @@ Parameters:
* `.player` (entity, see below, always present): The player.
* `.name` (string, any valid Minecraft username, always present): Username.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.type` (string, namespace:path, always present): Entity type.
* `.pos` (vec3d, see below, always present): The position he or she sends the message.
* `.x` (double, any within border limit, 0.0): X
* `.y` (double, any within border limit, 0.0): Y
@@ -354,6 +360,7 @@ Response:
"entity": {
"name": "",
"uuid": "",
+ "type": "",
"pos": {
"x": 0.0,
"y": 0.0,
@@ -370,6 +377,7 @@ Parameters:
* `.entity` (entity, see below, always present): The entity.
* `.name` (string, any, always present): Default name or custom name of the entity.
* `.uuid` (uuid, UUID, always present): UUID.
+ * `.type` (string, namespace:path, always present): Entity type.
* `.pos` (vec3d, see below, always present): The position of the entity when died.
* `.x` (double, any within border limit, 0.0): X
* `.y` (double, any within border limit, 0.0): Y