@hytopia.com/server-protocol 1.3.45 → 1.3.46

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.45",
3
+ "version": "1.3.46",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/schemas/Entity.ts CHANGED
@@ -16,6 +16,7 @@ export type EntitySchema = {
16
16
  as?: string[]; // model animations stop
17
17
  bh?: VectorSchema; // block half extents
18
18
  bt?: string; // block texture uri
19
+ h?: string[]; // model parts to hide
19
20
  m?: string; // model uri
20
21
  mo?: ModelNodeOverrideSchema[]; // model node overrides
21
22
  n?: string; // name
@@ -39,6 +40,7 @@ export const entitySchema: JSONSchemaType<EntitySchema> = {
39
40
  as: { type: 'array', items: { type: 'string' }, nullable: true },
40
41
  bh: { ...vectorSchema, nullable: true },
41
42
  bt: { type: 'string', nullable: true },
43
+ h: { type: 'array', items: { type: 'string' }, nullable: true },
42
44
  m: { type: 'string', nullable: true },
43
45
  mo: { type: 'array', items: { ...modelNodeOverrideSchema }, nullable: true },
44
46
  n: { type: 'string', nullable: true },