@lzimul/minecraft-mcp 0.0.0-stage → 1.0.0

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.
Files changed (97) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +74 -2
  3. package/SECURITY.md +21 -0
  4. package/build/app/server.js +10 -0
  5. package/build/config/dimensions.js +27 -0
  6. package/build/config/server-info.js +25 -0
  7. package/build/config/world-limits.js +6 -0
  8. package/build/data/blocks.js +17532 -0
  9. package/build/data/items.js +11194 -0
  10. package/build/data/version.js +1 -0
  11. package/build/enums/bounding-box.enum.js +5 -0
  12. package/build/enums/dimension-type.enum.js +6 -0
  13. package/build/enums/icon-theme.enum.js +5 -0
  14. package/build/index.js +4 -0
  15. package/build/interfaces/block.interface.js +1 -0
  16. package/build/interfaces/data-entry.interface.js +1 -0
  17. package/build/interfaces/dimension.interface.js +1 -0
  18. package/build/interfaces/item.interface.js +1 -0
  19. package/build/interfaces/placed-block.interface.js +1 -0
  20. package/build/resources/block-resources.js +17 -0
  21. package/build/resources/data-resources.js +40 -0
  22. package/build/resources/dimension-resources.js +54 -0
  23. package/build/resources/index.js +9 -0
  24. package/build/resources/item-resources.js +17 -0
  25. package/build/schemas/block-schema.js +27 -0
  26. package/build/schemas/coordinate-schema.js +12 -0
  27. package/build/schemas/dimension-schema.js +6 -0
  28. package/build/schemas/item-schema.js +28 -0
  29. package/build/tools/block-tools.js +108 -0
  30. package/build/tools/index.js +6 -0
  31. package/build/tools/item-tools.js +43 -0
  32. package/build/tools/result.js +11 -0
  33. package/build/world/simulated-dimension.js +36 -0
  34. package/build/world/world-state.js +16 -0
  35. package/lib/app/server.d.ts +3 -0
  36. package/lib/app/server.d.ts.map +1 -0
  37. package/lib/config/dimensions.d.ts +3 -0
  38. package/lib/config/dimensions.d.ts.map +1 -0
  39. package/lib/config/server-info.d.ts +15 -0
  40. package/lib/config/server-info.d.ts.map +1 -0
  41. package/lib/config/world-limits.d.ts +7 -0
  42. package/lib/config/world-limits.d.ts.map +1 -0
  43. package/lib/data/blocks.d.ts +5 -0
  44. package/lib/data/blocks.d.ts.map +1 -0
  45. package/lib/data/items.d.ts +5 -0
  46. package/lib/data/items.d.ts.map +1 -0
  47. package/lib/data/version.d.ts +2 -0
  48. package/lib/data/version.d.ts.map +1 -0
  49. package/lib/enums/bounding-box.enum.d.ts +5 -0
  50. package/lib/enums/bounding-box.enum.d.ts.map +1 -0
  51. package/lib/enums/dimension-type.enum.d.ts +6 -0
  52. package/lib/enums/dimension-type.enum.d.ts.map +1 -0
  53. package/lib/enums/icon-theme.enum.d.ts +5 -0
  54. package/lib/enums/icon-theme.enum.d.ts.map +1 -0
  55. package/lib/index.d.ts +3 -0
  56. package/lib/index.d.ts.map +1 -0
  57. package/lib/interfaces/block.interface.d.ts +14 -0
  58. package/lib/interfaces/block.interface.d.ts.map +1 -0
  59. package/lib/interfaces/data-entry.interface.d.ts +7 -0
  60. package/lib/interfaces/data-entry.interface.d.ts.map +1 -0
  61. package/lib/interfaces/dimension.interface.d.ts +10 -0
  62. package/lib/interfaces/dimension.interface.d.ts.map +1 -0
  63. package/lib/interfaces/item.interface.d.ts +8 -0
  64. package/lib/interfaces/item.interface.d.ts.map +1 -0
  65. package/lib/interfaces/placed-block.interface.d.ts +8 -0
  66. package/lib/interfaces/placed-block.interface.d.ts.map +1 -0
  67. package/lib/resources/block-resources.d.ts +3 -0
  68. package/lib/resources/block-resources.d.ts.map +1 -0
  69. package/lib/resources/data-resources.d.ts +21 -0
  70. package/lib/resources/data-resources.d.ts.map +1 -0
  71. package/lib/resources/dimension-resources.d.ts +4 -0
  72. package/lib/resources/dimension-resources.d.ts.map +1 -0
  73. package/lib/resources/index.d.ts +3 -0
  74. package/lib/resources/index.d.ts.map +1 -0
  75. package/lib/resources/item-resources.d.ts +3 -0
  76. package/lib/resources/item-resources.d.ts.map +1 -0
  77. package/lib/schemas/block-schema.d.ts +20 -0
  78. package/lib/schemas/block-schema.d.ts.map +1 -0
  79. package/lib/schemas/coordinate-schema.d.ts +4 -0
  80. package/lib/schemas/coordinate-schema.d.ts.map +1 -0
  81. package/lib/schemas/dimension-schema.d.ts +7 -0
  82. package/lib/schemas/dimension-schema.d.ts.map +1 -0
  83. package/lib/schemas/item-schema.d.ts +17 -0
  84. package/lib/schemas/item-schema.d.ts.map +1 -0
  85. package/lib/tools/block-tools.d.ts +3 -0
  86. package/lib/tools/block-tools.d.ts.map +1 -0
  87. package/lib/tools/index.d.ts +3 -0
  88. package/lib/tools/index.d.ts.map +1 -0
  89. package/lib/tools/item-tools.d.ts +3 -0
  90. package/lib/tools/item-tools.d.ts.map +1 -0
  91. package/lib/tools/result.d.ts +18 -0
  92. package/lib/tools/result.d.ts.map +1 -0
  93. package/lib/world/simulated-dimension.d.ts +14 -0
  94. package/lib/world/simulated-dimension.d.ts.map +1 -0
  95. package/lib/world/world-state.d.ts +6 -0
  96. package/lib/world/world-state.d.ts.map +1 -0
  97. package/package.json +103 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-entry.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/data-entry.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
@@ -0,0 +1,10 @@
1
+ import { EDimensionType } from '../enums/dimension-type.enum.js';
2
+ export interface IDimension {
3
+ readonly key: string;
4
+ readonly type: EDimensionType;
5
+ readonly displayName: string;
6
+ readonly minY: number;
7
+ readonly maxY: number;
8
+ readonly hasSkylight: boolean;
9
+ }
10
+ //# sourceMappingURL=dimension.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimension.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/dimension.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B"}
@@ -0,0 +1,8 @@
1
+ import type { IDataEntry } from './data-entry.interface.js';
2
+ export interface IItem extends IDataEntry {
3
+ readonly stackSize: number;
4
+ readonly maxDurability?: number;
5
+ readonly enchantCategories?: readonly string[];
6
+ readonly repairWith?: readonly string[];
7
+ }
8
+ //# sourceMappingURL=item.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/item.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,MAAM,WAAW,KAAM,SAAQ,UAAU;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC"}
@@ -0,0 +1,8 @@
1
+ import type { IBlock } from './block.interface.js';
2
+ export interface IPlacedBlock {
3
+ readonly x: number;
4
+ readonly y: number;
5
+ readonly z: number;
6
+ readonly block: IBlock;
7
+ }
8
+ //# sourceMappingURL=placed-block.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"placed-block.interface.d.ts","sourceRoot":"","sources":["../../src/interfaces/placed-block.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerBlockResources(server: McpServer): void;
3
+ //# sourceMappingURL=block-resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-resources.d.ts","sourceRoot":"","sources":["../../src/resources/block-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAS9D,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAa9D"}
@@ -0,0 +1,21 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ import type { IDataEntry } from '../interfaces/data-entry.interface.js';
3
+ export declare function registerDataIndexResource<T extends IDataEntry>(
4
+ server: McpServer,
5
+ config: {
6
+ name: string;
7
+ uri: string;
8
+ title: string;
9
+ description: string;
10
+ entries: readonly T[];
11
+ }
12
+ ): void;
13
+ export declare function registerDataEntryResources<T extends IDataEntry>(
14
+ server: McpServer,
15
+ config: {
16
+ pathPrefix: string;
17
+ category: string;
18
+ entries: readonly T[];
19
+ }
20
+ ): void;
21
+ //# sourceMappingURL=data-resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-resources.d.ts","sourceRoot":"","sources":["../../src/resources/data-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAYxE,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,UAAU,EAC5D,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE;IACN,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC;CACvB,GACA,IAAI,CAuBN;AAED,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,UAAU,EAC7D,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE;IACN,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC;CACvB,GACA,IAAI,CAkBN"}
@@ -0,0 +1,4 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerDimensionIndexResource(server: McpServer): void;
3
+ export declare function registerDimensionResources(server: McpServer): void;
4
+ //# sourceMappingURL=dimension-resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimension-resources.d.ts","sourceRoot":"","sources":["../../src/resources/dimension-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AA2B9D,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAmBtE;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAqBlE"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerResources(server: McpServer): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAS9D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAKzD"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerItemResources(server: McpServer): void;
3
+ //# sourceMappingURL=item-resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-resources.d.ts","sourceRoot":"","sources":["../../src/resources/item-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAS9D,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAa7D"}
@@ -0,0 +1,20 @@
1
+ import * as z from 'zod/v4';
2
+ import type { IBlock } from '../interfaces/block.interface.js';
3
+ export declare const blockInfoSchema: z.ZodObject<
4
+ {
5
+ key: z.ZodString;
6
+ name: z.ZodString;
7
+ displayName: z.ZodString;
8
+ hardness: z.ZodNumber;
9
+ resistance: z.ZodNumber;
10
+ diggable: z.ZodBoolean;
11
+ transparent: z.ZodBoolean;
12
+ emitLight: z.ZodNumber;
13
+ filterLight: z.ZodNumber;
14
+ boundingBox: z.ZodString;
15
+ },
16
+ z.core.$strip
17
+ >;
18
+ export type BlockInfo = z.infer<typeof blockInfoSchema>;
19
+ export declare function toBlockInfo(block: IBlock): BlockInfo;
20
+ //# sourceMappingURL=block-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-schema.d.ts","sourceRoot":"","sources":["../../src/schemas/block-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAE/D,eAAO,MAAM,eAAe;;;;;;;;;;;iBAW1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAapD"}
@@ -0,0 +1,4 @@
1
+ import * as z from 'zod/v4';
2
+ export declare const horizontalCoordinate: z.ZodNumber;
3
+ export declare const verticalCoordinate: z.ZodNumber;
4
+ //# sourceMappingURL=coordinate-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coordinate-schema.d.ts","sourceRoot":"","sources":["../../src/schemas/coordinate-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAI5B,eAAO,MAAM,oBAAoB,aAIC,CAAC;AAEnC,eAAO,MAAM,kBAAkB,aAIC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as z from 'zod/v4';
2
+ import { EDimensionType } from '../enums/dimension-type.enum.js';
3
+ export declare const dimensionSchema: z.ZodDefault<
4
+ z.ZodEnum<typeof EDimensionType>
5
+ >;
6
+ export declare const dimensionTypeSchema: z.ZodEnum<typeof EDimensionType>;
7
+ //# sourceMappingURL=dimension-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dimension-schema.d.ts","sourceRoot":"","sources":["../../src/schemas/dimension-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,eAAO,MAAM,eAAe,gDAEQ,CAAC;AAErC,eAAO,MAAM,mBAAmB,kCAAyB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as z from 'zod/v4';
2
+ import type { IItem } from '../interfaces/item.interface.js';
3
+ export declare const itemInfoSchema: z.ZodObject<
4
+ {
5
+ key: z.ZodString;
6
+ name: z.ZodString;
7
+ displayName: z.ZodString;
8
+ stackSize: z.ZodNumber;
9
+ maxDurability: z.ZodOptional<z.ZodNumber>;
10
+ enchantCategories: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ repairWith: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ },
13
+ z.core.$strip
14
+ >;
15
+ export type ItemInfo = z.infer<typeof itemInfoSchema>;
16
+ export declare function toItemInfo(item: IItem): ItemInfo;
17
+ //# sourceMappingURL=item-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-schema.d.ts","sourceRoot":"","sources":["../../src/schemas/item-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAE7D,eAAO,MAAM,cAAc;;;;;;;;iBAQzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,wBAAgB,UAAU,CAAC,IAAI,EAAE,KAAK,GAAG,QAAQ,CAiBhD"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerBlockTools(server: McpServer): void;
3
+ //# sourceMappingURL=block-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block-tools.d.ts","sourceRoot":"","sources":["../../src/tools/block-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAoB9D,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA8H1D"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerTools(server: McpServer): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAK9D,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAGrD"}
@@ -0,0 +1,3 @@
1
+ import type { McpServer } from '@modelcontextprotocol/server';
2
+ export declare function registerItemTools(server: McpServer): void;
3
+ //# sourceMappingURL=item-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-tools.d.ts","sourceRoot":"","sources":["../../src/tools/item-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAO9D,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA+CzD"}
@@ -0,0 +1,18 @@
1
+ export declare function toolText(text: string): {
2
+ content: [
3
+ {
4
+ type: 'text';
5
+ text: string;
6
+ }
7
+ ];
8
+ };
9
+ export declare function toolError(message: string): {
10
+ isError: true;
11
+ content: [
12
+ {
13
+ type: 'text';
14
+ text: string;
15
+ }
16
+ ];
17
+ };
18
+ //# sourceMappingURL=result.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../src/tools/result.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG;IACtC,OAAO,EAAE,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3C,CAIA;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG;IAC1C,OAAO,EAAE,IAAI,CAAC;IACd,OAAO,EAAE,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC3C,CAKA"}
@@ -0,0 +1,14 @@
1
+ import type { IBlock } from '../interfaces/block.interface.js';
2
+ import type { IDimension } from '../interfaces/dimension.interface.js';
3
+ import type { IPlacedBlock } from '../interfaces/placed-block.interface.js';
4
+ export declare class SimulatedDimension {
5
+ readonly info: IDimension;
6
+ private readonly blocks;
7
+ constructor(info: IDimension);
8
+ get modifiedBlockCount(): number;
9
+ get placedBlocks(): readonly IPlacedBlock[];
10
+ contains(x: number, y: number, z: number): boolean;
11
+ getBlock(x: number, y: number, z: number): IBlock;
12
+ setBlock(x: number, y: number, z: number, block: IBlock): IBlock;
13
+ }
14
+ //# sourceMappingURL=simulated-dimension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulated-dimension.d.ts","sourceRoot":"","sources":["../../src/world/simulated-dimension.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAQ5E,qBAAa,kBAAkB;IAC7B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;gBAE9C,IAAI,EAAE,UAAU;IAI5B,IAAI,kBAAkB,IAAI,MAAM,CAE/B;IAED,IAAI,YAAY,IAAI,SAAS,YAAY,EAAE,CAE1C;IAED,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO;IAWlD,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM;IAIjD,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM;CAMjE"}
@@ -0,0 +1,6 @@
1
+ import { EDimensionType } from '../enums/dimension-type.enum.js';
2
+ import type { IDimension } from '../interfaces/dimension.interface.js';
3
+ import { SimulatedDimension } from './simulated-dimension.js';
4
+ export declare function getDimension(type: EDimensionType): SimulatedDimension;
5
+ export declare function listDimensions(): readonly IDimension[];
6
+ //# sourceMappingURL=world-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"world-state.d.ts","sourceRoot":"","sources":["../../src/world/world-state.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAS9D,wBAAgB,YAAY,CAAC,IAAI,EAAE,cAAc,GAAG,kBAAkB,CAMrE;AAED,wBAAgB,cAAc,IAAI,SAAS,UAAU,EAAE,CAEtD"}
package/package.json CHANGED
@@ -1,6 +1,105 @@
1
1
  {
2
2
  "name": "@lzimul/minecraft-mcp",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "description": "Minecraft Model Context Protocol (MCP) Server",
4
+ "version": "1.0.0",
5
+ "author": {
6
+ "name": "lZiMUl",
7
+ "email": "lZiMUl@lzimul.com",
8
+ "url": "https://www.lzimul.com"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "lZiMUl",
13
+ "email": "lZiMUl@lzimul.com",
14
+ "url": "https://www.lzimul.com"
15
+ }
16
+ ],
17
+ "maintainers": [
18
+ {
19
+ "name": "lZiMUl",
20
+ "email": "lZiMUl@lzimul.com",
21
+ "url": "https://www.lzimul.com"
22
+ }
23
+ ],
24
+ "homepage": "https://projects.lzimul.com/minecraft-mcp",
25
+ "type": "module",
26
+ "license": "MIT",
27
+ "main": "./build/index.js",
28
+ "types": "./lib/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./lib/index.d.ts",
32
+ "default": "./build/index.js"
33
+ }
34
+ },
35
+ "bin": {
36
+ "lzimul-minecraft-mcp": "./build/index.js"
37
+ },
38
+ "scripts": {
39
+ "start": "node .",
40
+ "lint": "npx eslint --fix",
41
+ "build": "npm run lint && npx tsc -p ./tsconfig.json && npm run typedoc",
42
+ "typedoc": "npx typedoc --options ./typedoc.json",
43
+ "dev": "npm run build && npm run start",
44
+ "generate-data": "node ./scripts/generate-data.mjs",
45
+ "clean": "node ./scripts/clean.mjs",
46
+ "test": "node ./scripts/smoke-test.mjs"
47
+ },
48
+ "files": [
49
+ "./build/",
50
+ "./lib/",
51
+ "./LICENSE",
52
+ "./README.md",
53
+ "./SECURITY.md"
54
+ ],
55
+ "keywords": [
56
+ "lzimul",
57
+ "minecraft",
58
+ "mcp",
59
+ "model-context-protocol",
60
+ "minecraft-mcp"
61
+ ],
62
+ "engines": {
63
+ "node": ">=20"
64
+ },
65
+ "dependencies": {
66
+ "@modelcontextprotocol/server": "^2.0.0",
67
+ "zod": "^4.6.5"
68
+ },
69
+ "devDependencies": {
70
+ "@eslint/css": "^2.0.0",
71
+ "@eslint/eslintrc": "^3.3.7",
72
+ "@eslint/js": "^10.0.1",
73
+ "@eslint/json": "^2.1.0",
74
+ "@eslint/markdown": "^8.0.3",
75
+ "@types/node": "^26.6.1",
76
+ "@typescript-eslint/eslint-plugin": "^8.70.0",
77
+ "@typescript-eslint/parser": "^8.70.0",
78
+ "eslint": "^10.10.0",
79
+ "eslint-config-prettier": "^10.1.8",
80
+ "eslint-plugin-prettier": "^5.5.6",
81
+ "globals": "^17.12.0",
82
+ "jiti": "^2.7.0",
83
+ "prettier": "^3.9.8",
84
+ "tslib": "^2.8.1",
85
+ "typedoc": "^0.28.20",
86
+ "typescript": "^6.0.3",
87
+ "typescript-eslint": "^8.70.0"
88
+ },
89
+ "repository": {
90
+ "type": "git",
91
+ "url": "git+https://github.com/lZiMUl/minecraft-mcp.git"
92
+ },
93
+ "bugs": {
94
+ "url": "https://github.com/lZiMUl/minecraft-mcp/issues",
95
+ "email": "lZiMUl@lzimul.com"
96
+ },
97
+ "publishConfig": {
98
+ "registry": "https://registry.npmjs.org",
99
+ "provenance": true,
100
+ "access": "public",
101
+ "tag": "latest"
102
+ },
103
+ "sideEffects": false,
104
+ "private": false
105
+ }