@occultus/condition-api 0.22.1 → 0.23.1
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": "@occultus/condition-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://codeberg.org/TeamOccultus/StarTenonAPI"
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"author": "CTN Studios",
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@minecraft/server": "^2.4.0",
|
|
27
|
-
"@occultus/core": "
|
|
27
|
+
"@occultus/core": "^1.1.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@occultus/
|
|
31
|
-
"@occultus/
|
|
32
|
-
"@occultus/
|
|
30
|
+
"@occultus/format-api": "0.21.0",
|
|
31
|
+
"@occultus/text-api": "0.24.0",
|
|
32
|
+
"@occultus/toolkit": "0.24.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typedoc": "^0.28.16"
|
|
@@ -17,7 +17,7 @@ export class ItemTagConditions extends Conditions {
|
|
|
17
17
|
* @param consumeAmount 检查通过时是否消耗物品,默认为 false
|
|
18
18
|
*/
|
|
19
19
|
constructor(
|
|
20
|
-
|
|
20
|
+
public tag: string,
|
|
21
21
|
protected amount: number = 1,
|
|
22
22
|
protected translateKey: string,
|
|
23
23
|
protected consumeAmount: boolean = false
|