sandstone 1.0.0-beta.4 → 1.0.0-beta.5
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/README.md +3 -4
- package/dist/_internal/index.d.ts +2 -2
- package/dist/_internal/index.js +291 -366
- package/dist/_internal/index.js.map +1 -1
- package/dist/_internal/types/commands/implementations/entity/execute.d.ts +2 -2
- package/dist/browser/package.json +3 -0
- package/dist/browser/sandstone.esm.js +61447 -0
- package/dist/browser/sandstone.esm.js.map +1 -0
- package/dist/exports/index.d.ts +1 -1
- package/dist/exports/index.js +1 -1
- package/package.json +7 -2
- package/src/commands/implementations/entity/execute.ts +4 -0
- package/src/core/resources/datapack/structure.ts +1 -0
- package/src/flow/loops/for_i.ts +17 -15
- package/src/flow/loops/for_of.ts +0 -1
- package/src/pack/pack.ts +3 -3
- package/src/sandstone.ts +2 -2
package/README.md
CHANGED
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# Sandstone
|
|
4
4
|
|
|
5
|
-

|
|
5
|
+

|
|
6
|
+
[](https://www.npmjs.com/package/sandstone/v/beta?activeTab=versions)[](https://www.npmjs.com/package/sandstone/v/beta#provenance)
|
|
7
|
+

|
|
9
8
|
|
|
10
9
|
Sandstone is a Typescript library for Minecraft Datapacks, Resource Packs, etc. It allows easy creation, debug and sharing of Minecraft functions, loot tables, predicates etc...
|
|
11
10
|
|
|
@@ -5,7 +5,7 @@ import type { AdvancementClassArguments, AtlasClassArguments, BannerPatternClass
|
|
|
5
5
|
import { SandstonePack } from "./types/pack/index.js";
|
|
6
6
|
import type { Flow } from "./types/flow/index.js";
|
|
7
7
|
import type { BASIC_CONFLICT_STRATEGIES, LiteralUnion, NamespacedLiteralUnion, SetType } from "./types/utils.js";
|
|
8
|
-
import { Set } from "./types/utils.js";
|
|
8
|
+
import { randomUUID, Set } from "./types/utils.js";
|
|
9
9
|
import * as coordinates from "./types/variables/Coordinates.js";
|
|
10
10
|
import { ResolveNBTPart } from "./types/variables/ResolveNBT.js";
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ export declare function createSandstonePack(context: SandstoneContext): Sandston
|
|
|
27
27
|
* registering through the proxy uses the same pack as the CLI.
|
|
28
28
|
*/
|
|
29
29
|
export declare function resetSandstonePack(): void;
|
|
30
|
-
export { LiteralUnion, NamespacedLiteralUnion, Set, SetType };
|
|
30
|
+
export { LiteralUnion, NamespacedLiteralUnion, randomUUID, Set, SetType };
|
|
31
31
|
export { ResolveNBTPart };
|
|
32
32
|
export declare const advancement: import("./types/commands/index.js").AdvancementCommand<false>, attribute: <T extends string>(target: import("./types/arguments/index.js").SingleEntityArgumentOf<false, T>, attribute: string) => import("./types/commands/index.js").AttributeOperationCommand<boolean>, bossbar: import("./types/commands/index.js").BossBarCommand<false>, clear: {
|
|
33
33
|
<T extends string>(targets?: import("./types/arguments/index.js").MultiplePlayersArgumentOf<false, T> | undefined, item?: import("./types/arguments/generated/_registry/items.js").ITEMS | import("./index.js").TagClass<"item"> | undefined, maxCount?: number | undefined): import("./types/commands/index.js").FinalCommandOutput;
|