sandstone 1.0.2 → 1.0.3

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.
@@ -3,7 +3,7 @@ import { SandstoneContext, setSandstoneContext, getSandstoneContext, hasContext,
3
3
  import type { FillCommand, GiveCommand, SetBlockCommand, AdvancementCommand, AttributeOperationCommand, BossBarCommand, FinalCommandOutput, CloneOptionsCommand, CloneFromDimensionCommand, DamageSourceCommand, DataCommand, DataPackCommand, DebugCommand, DialogCommand, EffectCommand, ExecuteCommand, ExperienceCommand, ForceLoadCommand, ExtractNBTIntRange, LocateCommand, LootCommand, PerfCommand, PlaceCommand, RandomCommand, RecipeCommand, SandstoneCommands, RotateFacingArguments, RideArgumentsCommand, ItemCommand, JFRCommand, ScheduleCommand, ScoreboardCommand, StopwatchCommand, TagArgumentsCommand, TeamCommand, TeleportFacingCommand, TestCommand, TimeCommand, TitleArgumentsCommand, TriggerArgumentsCommand, WaypointCommand, WeatherCommand, WorldBorderCommand, StoreType } from "./types/commands/index.js";
4
4
  import { AdvancementClassArguments, AtlasClassArguments, BannerPatternClassArguments, BlockStateDefinitionArguments, ChatTypeClassArguments, DamageTypeClassArguments, DialogClassArguments, EnchantmentClassArguments, EnchantmentProviderClassArguments, EquipmentClassArguments, FontArguments, InstrumentClassArguments, ItemModelDefinitionClassArguments, ItemModifierClassArguments, JukeboxSongClassArguments, LanguageArguments, LootTableClassArguments, MCFunctionClassArguments, ModelClassArguments, ParticleClassArguments, PlainTextArguments, PostEffectClassArguments, PredicateClassArguments, RecipeClassArguments, ShaderClassArguments, SoundEventArguments, SoundsIndexArguments, TagClassArguments, TestEnvironmentClassArguments, TestInstanceClassArguments, TextureArguments, TimelineClassArguments, TradeSetClassArguments, TrialSpawnerClassArguments, TrimMaterialClassArguments, TrimPatternClassArguments, VariantClassArguments, VillagerTradeClassArguments, WaypointStyleClassArguments, WorldClockClassArguments, MCFunctionClass, DataPointPickClass, CustomResourceClass, MacroArgument, TagValuesJSON, VariantType, BlockStateDefinitionJSON, BlockStateDefinitionType, ItemModelDefinitionInput, ShaderClass, PlainTextClass, MacroLiteral, SandstoneCore, ResourceClass } from "./types/core/index.js";
5
5
  import { Flow, Condition } from "./types/flow/index.js";
6
- import type { BASIC_CONFLICT_STRATEGIES, LiteralUnion, NamespacedLiteralUnion, SetType, AllKeys, MakeInstanceCallable } from "./types/utils.js";
6
+ import type { BASIC_CONFLICT_STRATEGIES, LiteralUnion, NamespacedLiteralUnion, SetType, AllowConst, AllKeys, MakeInstanceCallable } from "./types/utils.js";
7
7
  import { NBTAnyValue, NBTByte, NBTByteArray, NBTClass, NBTDouble, NBTFloat, NBTInt, NBTIntArray, NBTList, NBTLong, NBTLongArray, NBTPrimitive, NBTRange, NBTShort, NBTString, NBTTypedArray, NotNBT, ResolvedNBT, NBTAllArrays, NBTAllNumberClasses, NBTAllNumbers, NBTAllPrimitives, NBTAllValues, NBTSimpleClasses } from "./types/variables/nbt/NBTs.js";
8
8
  import { ObjectiveClass, Score, SelectorClass, LabelClass, UUIDClass, DataPointClass, ItemPredicateClass, DATA_TYPES, TriggerHandler, TriggerClass, _RawLabelClass, TargetlessDataClass, TargetFor, DataClass, DATA_PATH, TargetlessDataPointClass, ResolveNBTClass, DataIndexMapType, DataArrayType, SelectorEntityType, SelectorProperties, UUIDinNumber, UUIDOptions, UUIDinScore, SelectorPickClass, ItemPredicateItem, SleepClass } from "./types/variables/index.js";
9
9
  import { AdvancementClass, BannerPatternClass, ChatTypeClass, DamageTypeClass, DialogClass, EnchantmentClass, EnchantmentProviderClass, InstrumentClass, ItemModifierClass, JukeboxSongClass, LootTableClass, PredicateClass, RecipeClass, StructureClass, TagClass, TestEnvironmentClass, TestInstanceClass, TimelineClass, TradeSetClass, TrialSpawnerClass, TrimMaterialClass, TrimPatternClass, VariantClass, VillagerTradeClass, WorldClockClass, AtlasClass, BlockStateDefinitionClass, EquipmentClass, FontClass, ItemModelDefinitionClass, LanguageClass, ModelClass, ParticleClass, PostEffectClass, SoundEventClass, SoundsIndexClass, TextureClass, WaypointStyleClass } from "./types/core/resources/index.js";
@@ -1259,7 +1259,7 @@ export declare const advancement: AdvancementCommand<false>, attribute: <T exten
1259
1259
  }, ride: <T extends string>(target: SingleEntityArgumentOf<false, T>) => RideArgumentsCommand<boolean>, item: ItemCommand<false>, jfr: JFRCommand, say: (message: string) => FinalCommandOutput, schedule: ScheduleCommand<false>, scoreboard: ScoreboardCommand<false>, seed: () => FinalCommandOutput, setidletimeout: (minutes: number) => FinalCommandOutput, setworldspawn: (pos?: Coordinates<false> | undefined, angle?: Rotation<false> | undefined) => FinalCommandOutput, spawnpoint: <T extends string>(targets?: MultiplePlayersArgumentOf<false, T> | undefined, pos?: Coordinates<false> | undefined, angle?: Rotation<false> | undefined) => FinalCommandOutput, spectate: <T extends string, P extends string>(target: SingleEntityArgumentOf<false, T>, player?: SinglePlayerArgumentOf<false, P> | undefined) => FinalCommandOutput, spreadplayers: {
1260
1260
  (center: ColumnCoordinates<false>, spreadDistance: number, maxRange: number, respectTeams: boolean, targets: MultipleEntitiesArgument<false>): FinalCommandOutput;
1261
1261
  (center: ColumnCoordinates<false>, spreadDistance: number, maxRange: number, under: "under", height: number, respectTeams: boolean, targets: MultipleEntitiesArgument<false>): FinalCommandOutput;
1262
- }, stopsound: <T extends string>(targets: MultiplePlayersArgumentOf<false, T>, source?: "*" | SOUND_SOURCES | undefined, sound?: SOUND_EVENTS | undefined) => FinalCommandOutput, stopwatch: StopwatchCommand<false>, summon: <ENTITY extends ENTITY_TYPES>(entity: ENTITY, pos?: Coordinates<false> | undefined, nbt?: (ENTITY extends keyof {
1262
+ }, stopsound: <T extends string>(targets: MultiplePlayersArgumentOf<false, T>, source?: "*" | SOUND_SOURCES | undefined, sound?: SOUND_EVENTS | undefined) => FinalCommandOutput, stopwatch: StopwatchCommand<false>, summon: <ENTITY extends ENTITY_TYPES>(entity: ENTITY, pos?: Coordinates<false> | undefined, nbt?: AllowConst<ENTITY extends keyof {
1263
1263
  acacia_boat: EntityBase;
1264
1264
  'minecraft:acacia_boat': EntityBase;
1265
1265
  acacia_chest_boat: ChestBoat;
@@ -1921,7 +1921,7 @@ export declare const advancement: AdvancementCommand<false>, attribute: <T exten
1921
1921
  'minecraft:zombie_villager': ZombieVillager;
1922
1922
  zombified_piglin: ZombiePigman;
1923
1923
  'minecraft:zombified_piglin': ZombiePigman;
1924
- }[ENTITY]> : RootNBT) | undefined) => FinalCommandOutput, swing: (targets?: MultipleEntitiesArgument<false>, hand?: "mainhand" | "offhand") => FinalCommandOutput, tag: (targets: MultipleEntitiesArgument<false>) => TagArgumentsCommand<false>, team: TeamCommand<false>, teammsg: (messages_0: MessageOrSelector, ...messages: MessageOrSelector[]) => FinalCommandOutput, teleport: {
1924
+ }[ENTITY]> : RootNBT> | undefined) => FinalCommandOutput, swing: (targets?: MultipleEntitiesArgument<false>, hand?: "mainhand" | "offhand") => FinalCommandOutput, tag: (targets: MultipleEntitiesArgument<false>) => TagArgumentsCommand<false>, team: TeamCommand<false>, teammsg: (messages_0: MessageOrSelector, ...messages: MessageOrSelector[]) => FinalCommandOutput, teleport: {
1925
1925
  <T extends string>(destinationEntity: SingleEntityArgumentOf<false, T>): void;
1926
1926
  (location: Coordinates<false>): void;
1927
1927
  <T extends string>(targets: MultipleEntitiesArgument<false>, destinationEntity: SingleEntityArgumentOf<false, T>): void;