@spyglassmc/java-edition 0.1.1 → 0.1.2
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/lib/binder/index.d.ts +2 -2
- package/lib/binder/index.js +2 -2
- package/lib/common/index.js +5 -1
- package/lib/dependency/common.d.ts +8 -5
- package/lib/dependency/common.js +15 -12
- package/lib/dependency/index.d.ts +1 -1
- package/lib/dependency/index.js +11 -7
- package/lib/dependency/mcmeta.d.ts +1 -2
- package/lib/dependency/mcmeta.js +27 -70
- package/lib/index.js +14 -10
- package/lib/json/checker/data/common.d.ts +1 -1
- package/lib/json/checker/data/tag.js +1 -1
- package/lib/json/checker/util/block_states.js +5 -1
- package/lib/json/checker/util/index.js +5 -1
- package/lib/json/checker/util/nbt.d.ts +1 -2
- package/lib/json/checker/util/version.d.ts +12 -12
- package/lib/json/checker/util/version.js +1 -1
- package/lib/json/index.js +5 -1
- package/lib/mcfunction/checker/index.js +60 -55
- package/lib/mcfunction/colorizer/index.js +5 -1
- package/lib/mcfunction/common/index.js +5 -1
- package/lib/mcfunction/completer/argument.js +10 -6
- package/lib/mcfunction/completer/index.js +5 -1
- package/lib/mcfunction/index.d.ts +2 -2
- package/lib/mcfunction/index.js +12 -20
- package/lib/mcfunction/inlayHintProvider.js +5 -1
- package/lib/mcfunction/node/argument.js +15 -11
- package/lib/mcfunction/node/index.js +5 -1
- package/lib/mcfunction/parser/argument.js +11 -7
- package/lib/mcfunction/parser/index.js +5 -1
- package/lib/mcfunction/signatureHelpProvider.js +5 -1
- package/lib/mcfunction/tree/index.d.ts +0 -5
- package/lib/mcfunction/tree/index.js +5 -6
- package/lib/mcfunction/tree/patch.d.ts +4 -0
- package/lib/mcfunction/tree/patch.js +752 -0
- package/package.json +7 -7
- package/lib/mcfunction/tree/1.15.d.ts +0 -9
- package/lib/mcfunction/tree/1.15.js +0 -542
- package/lib/mcfunction/tree/1.16.d.ts +0 -10
- package/lib/mcfunction/tree/1.16.js +0 -77
- package/lib/mcfunction/tree/1.17.d.ts +0 -12
- package/lib/mcfunction/tree/1.17.js +0 -166
- package/lib/mcfunction/tree/1.18.d.ts +0 -26
- package/lib/mcfunction/tree/1.18.js +0 -6
- package/lib/mcfunction/tree/1.19.d.ts +0 -26
- package/lib/mcfunction/tree/1.19.js +0 -6
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Tree1_17 = void 0;
|
|
4
|
-
const core_1 = require("@spyglassmc/core");
|
|
5
|
-
const _1_16_1 = require("./1.16");
|
|
6
|
-
/**
|
|
7
|
-
* Patch for Minecraft: Java Edition 1.17.1
|
|
8
|
-
*
|
|
9
|
-
* The following parsers are patched with new properties:
|
|
10
|
-
* - `minecraft:resource_location`
|
|
11
|
-
*
|
|
12
|
-
* The following commands are removed:
|
|
13
|
-
* - `replaceitem`
|
|
14
|
-
*/
|
|
15
|
-
exports.Tree1_17 = (0, core_1.merge)(_1_16_1.Tree1_16, {
|
|
16
|
-
children: {
|
|
17
|
-
item: {
|
|
18
|
-
children: {
|
|
19
|
-
replace: {
|
|
20
|
-
children: {
|
|
21
|
-
block: {
|
|
22
|
-
children: {
|
|
23
|
-
pos: {
|
|
24
|
-
children: {
|
|
25
|
-
slot: {
|
|
26
|
-
children: {
|
|
27
|
-
from: {
|
|
28
|
-
children: {
|
|
29
|
-
block: {
|
|
30
|
-
children: {
|
|
31
|
-
source: {
|
|
32
|
-
children: {
|
|
33
|
-
sourceSlot: {
|
|
34
|
-
children: {
|
|
35
|
-
modifier: {
|
|
36
|
-
properties: {
|
|
37
|
-
category: 'item_modifier',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
entity: {
|
|
47
|
-
children: {
|
|
48
|
-
source: {
|
|
49
|
-
children: {
|
|
50
|
-
sourceSlot: {
|
|
51
|
-
children: {
|
|
52
|
-
modifier: {
|
|
53
|
-
properties: {
|
|
54
|
-
category: 'item_modifier',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
entity: {
|
|
72
|
-
children: {
|
|
73
|
-
targets: {
|
|
74
|
-
children: {
|
|
75
|
-
slot: {
|
|
76
|
-
children: {
|
|
77
|
-
from: {
|
|
78
|
-
children: {
|
|
79
|
-
block: {
|
|
80
|
-
children: {
|
|
81
|
-
source: {
|
|
82
|
-
children: {
|
|
83
|
-
sourceSlot: {
|
|
84
|
-
children: {
|
|
85
|
-
modifier: {
|
|
86
|
-
properties: {
|
|
87
|
-
category: 'item_modifier',
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
entity: {
|
|
97
|
-
children: {
|
|
98
|
-
source: {
|
|
99
|
-
children: {
|
|
100
|
-
sourceSlot: {
|
|
101
|
-
children: {
|
|
102
|
-
modifier: {
|
|
103
|
-
properties: {
|
|
104
|
-
category: 'item_modifier',
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
modify: {
|
|
124
|
-
children: {
|
|
125
|
-
block: {
|
|
126
|
-
children: {
|
|
127
|
-
pos: {
|
|
128
|
-
children: {
|
|
129
|
-
slot: {
|
|
130
|
-
children: {
|
|
131
|
-
modifier: {
|
|
132
|
-
properties: {
|
|
133
|
-
category: 'item_modifier',
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
entity: {
|
|
143
|
-
children: {
|
|
144
|
-
targets: {
|
|
145
|
-
children: {
|
|
146
|
-
slot: {
|
|
147
|
-
children: {
|
|
148
|
-
modifier: {
|
|
149
|
-
properties: {
|
|
150
|
-
category: 'item_modifier',
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
replaceitem: undefined,
|
|
164
|
-
},
|
|
165
|
-
});
|
|
166
|
-
//# sourceMappingURL=1.17.js.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const Tree1_18: {
|
|
2
|
-
type?: "root" | undefined;
|
|
3
|
-
children?: {
|
|
4
|
-
[x: string]: {
|
|
5
|
-
type?: "argument" | undefined;
|
|
6
|
-
parser?: string | undefined;
|
|
7
|
-
properties?: {
|
|
8
|
-
[x: string]: unknown;
|
|
9
|
-
} | undefined;
|
|
10
|
-
children?: any | undefined;
|
|
11
|
-
executable?: boolean | undefined;
|
|
12
|
-
redirect?: readonly (string | undefined)[] | undefined;
|
|
13
|
-
permission?: 0 | 2 | 3 | 1 | 4 | undefined;
|
|
14
|
-
} | {
|
|
15
|
-
type?: "literal" | undefined;
|
|
16
|
-
children?: any | undefined;
|
|
17
|
-
executable?: boolean | undefined;
|
|
18
|
-
redirect?: readonly (string | undefined)[] | undefined;
|
|
19
|
-
permission?: 0 | 2 | 3 | 1 | 4 | undefined;
|
|
20
|
-
} | any | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
executable?: boolean | undefined;
|
|
23
|
-
redirect?: readonly (string | undefined)[] | undefined;
|
|
24
|
-
permission?: 0 | 2 | 3 | 1 | 4 | undefined;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=1.18.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const Tree1_19: {
|
|
2
|
-
type?: "root" | undefined;
|
|
3
|
-
children?: {
|
|
4
|
-
[x: string]: {
|
|
5
|
-
type?: "argument" | undefined;
|
|
6
|
-
parser?: string | undefined;
|
|
7
|
-
properties?: {
|
|
8
|
-
[x: string]: unknown;
|
|
9
|
-
} | undefined;
|
|
10
|
-
children?: any | undefined;
|
|
11
|
-
executable?: boolean | undefined;
|
|
12
|
-
redirect?: readonly (string | undefined)[] | undefined;
|
|
13
|
-
permission?: 0 | 2 | 3 | 1 | 4 | undefined;
|
|
14
|
-
} | {
|
|
15
|
-
type?: "literal" | undefined;
|
|
16
|
-
children?: any | undefined;
|
|
17
|
-
executable?: boolean | undefined;
|
|
18
|
-
redirect?: readonly (string | undefined)[] | undefined;
|
|
19
|
-
permission?: 0 | 2 | 3 | 1 | 4 | undefined;
|
|
20
|
-
} | any | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
executable?: boolean | undefined;
|
|
23
|
-
redirect?: readonly (string | undefined)[] | undefined;
|
|
24
|
-
permission?: 0 | 2 | 3 | 1 | 4 | undefined;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=1.19.d.ts.map
|