@hytopia.com/server-protocol 1.3.18 → 1.3.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/server-protocol",
3
- "version": "1.3.18",
3
+ "version": "1.3.19",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Entity.ts CHANGED
@@ -13,6 +13,7 @@ export type EntitySchema = {
13
13
  as?: string[]; // model animations stop
14
14
  bh?: VectorSchema; // block half extents
15
15
  bt?: string; // block texture uri
16
+ h?: string[]; // model parts to hide
16
17
  m?: string; // model uri
17
18
  n?: string; // name
18
19
  p?: VectorSchema; // position
@@ -31,6 +32,7 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
31
32
  as: { type: 'array', items: { type: 'string' }, nullable: true },
32
33
  bh: { ...vectorSchema, nullable: true },
33
34
  bt: { type: 'string', nullable: true },
35
+ h: { type: 'array', items: { type: 'string' }, nullable: true },
34
36
  m: { type: 'string', nullable: true },
35
37
  n: { type: 'string', nullable: true },
36
38
  p: { ...vectorSchema, nullable: true },