@spyglassmc/core 0.4.46 → 0.4.47
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/common/Dev.d.ts +1 -1
- package/lib/common/EventDispatcher.d.ts +6 -0
- package/lib/common/EventDispatcher.js +15 -0
- package/lib/common/ReadonlyProxy.js +2 -2
- package/lib/common/StateProxy.js +2 -2
- package/lib/common/externals/BrowserExternals.d.ts +1 -9
- package/lib/common/externals/BrowserExternals.js +0 -59
- package/lib/common/externals/NodeJsExternals.d.ts +0 -19
- package/lib/common/externals/NodeJsExternals.js +0 -20
- package/lib/common/externals/index.d.ts +0 -17
- package/lib/common/index.d.ts +1 -0
- package/lib/common/index.js +1 -0
- package/lib/common/util.d.ts +14 -7
- package/lib/common/util.js +50 -18
- package/lib/node/StringNode.d.ts +1 -1
- package/lib/parser/string.d.ts +2 -2
- package/lib/processor/colorizer/Colorizer.d.ts +2 -2
- package/lib/service/CacheService.js +4 -5
- package/lib/service/Config.d.ts +6 -10
- package/lib/service/Config.js +3 -15
- package/lib/service/FileService.js +5 -5
- package/lib/service/FileWatcher.d.ts +9 -12
- package/lib/service/Project.d.ts +14 -27
- package/lib/service/Project.js +6 -18
- package/lib/service/fetcher.js +1 -1
- package/lib/service/fileUtil.js +3 -3
- package/lib/symbol/Symbol.d.ts +6 -6
- package/lib/symbol/SymbolUtil.d.ts +9 -18
- package/lib/symbol/SymbolUtil.js +5 -19
- package/package.json +3 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* istanbul ignore file */
|
|
2
|
-
import { Uri } from '../common/index.js';
|
|
2
|
+
import { getSha1, Uri } from '../common/index.js';
|
|
3
3
|
import { TwoWayMap } from '../common/TwoWayMap.js';
|
|
4
4
|
import { fileUtil } from './fileUtil.js';
|
|
5
5
|
export var FileService;
|
|
@@ -77,7 +77,7 @@ export class FileServiceImpl {
|
|
|
77
77
|
try {
|
|
78
78
|
let mappedUri = this.map.getKey(virtualUri);
|
|
79
79
|
if (mappedUri === undefined) {
|
|
80
|
-
mappedUri = `${this.virtualUrisRoot}${await
|
|
80
|
+
mappedUri = `${this.virtualUrisRoot}${await getSha1(virtualUri)}/${fileUtil.basename(virtualUri)}`;
|
|
81
81
|
// Delete old mapped file if it exists. This makes sure the
|
|
82
82
|
// readonly permission on the file is not removed by it being
|
|
83
83
|
// overwritten.
|
|
@@ -183,7 +183,7 @@ export class ArchiveUriSupporter {
|
|
|
183
183
|
}
|
|
184
184
|
else {
|
|
185
185
|
// Hash the corresponding file.
|
|
186
|
-
return
|
|
186
|
+
return getSha1(this.getDataInArchive(archiveName, pathInArchive));
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
async readFile(uri) {
|
|
@@ -258,7 +258,7 @@ export class ArchiveUriSupporter {
|
|
|
258
258
|
const files = await externals.archive.decompressBall(bytes, { stripLevel: dependency.stripLevel ?? 0 });
|
|
259
259
|
/// Debug message for #1609
|
|
260
260
|
logger.info(`[ArchiveUriSupporter#create] Extracted ${files.length} files from ${archiveName}`);
|
|
261
|
-
const hash = await
|
|
261
|
+
const hash = await getSha1(bytes);
|
|
262
262
|
archiveHashes.set(archiveName, hash);
|
|
263
263
|
entries.set(archiveName, new Map(files.map((f) => [f.path.replace(/\\/g, '/'), f])));
|
|
264
264
|
}
|
|
@@ -270,6 +270,6 @@ export class ArchiveUriSupporter {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
async function hashFile(externals, uri) {
|
|
273
|
-
return
|
|
273
|
+
return getSha1(await externals.fs.readFile(uri));
|
|
274
274
|
}
|
|
275
275
|
//# sourceMappingURL=FileService.js.map
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import type { UriStore } from '../common/index.js';
|
|
1
|
+
import type { EventDispatcher, UriStore } from '../common/index.js';
|
|
2
|
+
export type FileWatcherEventMap = {
|
|
3
|
+
ready: void;
|
|
4
|
+
add: string;
|
|
5
|
+
change: string;
|
|
6
|
+
unlink: string;
|
|
7
|
+
error: Error;
|
|
8
|
+
};
|
|
2
9
|
/**
|
|
3
10
|
* A file watcher that reports additions, changes, and deletions of files.
|
|
4
11
|
* Changes to directories should not be reported.
|
|
5
12
|
*/
|
|
6
|
-
export interface FileWatcher {
|
|
13
|
+
export interface FileWatcher extends EventDispatcher<FileWatcherEventMap> {
|
|
7
14
|
get watchedFiles(): UriStore;
|
|
8
15
|
ready(): Promise<void>;
|
|
9
|
-
on(eventName: 'ready', listener: () => unknown): this;
|
|
10
|
-
once(eventName: 'ready', listener: () => unknown): this;
|
|
11
|
-
on(eventName: 'add', listener: (uri: string) => unknown): this;
|
|
12
|
-
once(eventName: 'add', listener: (uri: string) => unknown): this;
|
|
13
|
-
on(eventName: 'change', listener: (uri: string) => unknown): this;
|
|
14
|
-
once(eventName: 'change', listener: (uri: string) => unknown): this;
|
|
15
|
-
on(eventName: 'unlink', listener: (uri: string) => unknown): this;
|
|
16
|
-
once(eventName: 'unlink', listener: (uri: string) => unknown): this;
|
|
17
|
-
on(eventName: 'error', listener: (error: Error) => unknown): this;
|
|
18
|
-
once(eventName: 'error', listener: (error: Error) => unknown): this;
|
|
19
16
|
close(): Promise<void>;
|
|
20
17
|
}
|
|
21
18
|
//# sourceMappingURL=FileWatcher.d.ts.map
|
package/lib/service/Project.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TextDocumentContentChangeEvent } from 'vscode-languageserver-textdocument';
|
|
2
2
|
import { TextDocument } from 'vscode-languageserver-textdocument';
|
|
3
|
-
import type {
|
|
4
|
-
import { Logger, UriStore } from '../common/index.js';
|
|
3
|
+
import type { Externals } from '../common/index.js';
|
|
4
|
+
import { EventDispatcher, Logger, UriStore } from '../common/index.js';
|
|
5
5
|
import type { AstNode } from '../node/index.js';
|
|
6
6
|
import { FileNode } from '../node/index.js';
|
|
7
7
|
import type { PosRangeLanguageError } from '../source/index.js';
|
|
@@ -100,7 +100,18 @@ export type ProjectData = Pick<Project, 'cacheRoot' | 'config' | 'ensureBindingS
|
|
|
100
100
|
*
|
|
101
101
|
* After the READY process is complete, editing text documents as signaled by the client or the file watcher results in the file being re-processed.
|
|
102
102
|
*/
|
|
103
|
-
export declare class Project
|
|
103
|
+
export declare class Project extends EventDispatcher<{
|
|
104
|
+
documentErrored: DocumentErrorEvent;
|
|
105
|
+
documentUpdated: DocumentEvent;
|
|
106
|
+
documentRemoved: FileEvent;
|
|
107
|
+
fileCreated: FileEvent;
|
|
108
|
+
fileModified: FileEvent;
|
|
109
|
+
fileDeleted: FileEvent;
|
|
110
|
+
ready: EmptyEvent;
|
|
111
|
+
rootsUpdated: RootsEvent;
|
|
112
|
+
symbolRegistrarExecuted: SymbolRegistrarEvent;
|
|
113
|
+
configChanged: ConfigChangeEvent;
|
|
114
|
+
}> {
|
|
104
115
|
#private;
|
|
105
116
|
private static readonly RootSuffix;
|
|
106
117
|
readonly cacheService: CacheService;
|
|
@@ -134,30 +145,6 @@ export declare class Project implements ExternalEventEmitter {
|
|
|
134
145
|
*/
|
|
135
146
|
get cacheRoot(): RootUriString;
|
|
136
147
|
private updateRoots;
|
|
137
|
-
on(event: 'documentErrored', callbackFn: (data: DocumentErrorEvent) => void): this;
|
|
138
|
-
on(event: 'documentUpdated', callbackFn: (data: DocumentEvent) => void): this;
|
|
139
|
-
on(event: 'documentRemoved', callbackFn: (data: FileEvent) => void): this;
|
|
140
|
-
on(event: `file${'Created' | 'Modified' | 'Deleted'}`, callbackFn: (data: FileEvent) => void): this;
|
|
141
|
-
on(event: 'ready', callbackFn: (data: EmptyEvent) => void): this;
|
|
142
|
-
on(event: 'rootsUpdated', callbackFn: (data: RootsEvent) => void): this;
|
|
143
|
-
on(event: 'symbolRegistrarExecuted', callbackFn: (data: SymbolRegistrarEvent) => void): this;
|
|
144
|
-
on(event: 'configChanged', callbackFn: (data: ConfigChangeEvent) => void): this;
|
|
145
|
-
once(event: 'documentErrored', callbackFn: (data: DocumentErrorEvent) => void): this;
|
|
146
|
-
once(event: 'documentUpdated', callbackFn: (data: DocumentEvent) => void): this;
|
|
147
|
-
once(event: 'documentRemoved', callbackFn: (data: FileEvent) => void): this;
|
|
148
|
-
once(event: `file${'Created' | 'Modified' | 'Deleted'}`, callbackFn: (data: FileEvent) => void): this;
|
|
149
|
-
once(event: 'ready', callbackFn: (data: EmptyEvent) => void): this;
|
|
150
|
-
once(event: 'rootsUpdated', callbackFn: (data: RootsEvent) => void): this;
|
|
151
|
-
once(event: 'symbolRegistrarExecuted', callbackFn: (data: SymbolRegistrarEvent) => void): this;
|
|
152
|
-
once(event: 'configChanged', callbackFn: (data: ConfigChangeEvent) => void): this;
|
|
153
|
-
emit(event: 'documentErrored', data: DocumentErrorEvent): boolean;
|
|
154
|
-
emit(event: 'documentUpdated', data: DocumentEvent): boolean;
|
|
155
|
-
emit(event: 'documentRemoved', data: FileEvent): boolean;
|
|
156
|
-
emit(event: `file${'Created' | 'Modified' | 'Deleted'}`, data: FileEvent): boolean;
|
|
157
|
-
emit(event: 'ready', data: EmptyEvent): boolean;
|
|
158
|
-
emit(event: 'rootsUpdated', data: RootsEvent): boolean;
|
|
159
|
-
emit(event: 'symbolRegistrarExecuted', data: SymbolRegistrarEvent): boolean;
|
|
160
|
-
emit(event: 'configChanged', data: ConfigChangeEvent): boolean;
|
|
161
148
|
/**
|
|
162
149
|
* Get all files that are tracked and supported.
|
|
163
150
|
*
|
package/lib/service/Project.js
CHANGED
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import picomatch from 'picomatch';
|
|
8
8
|
import { TextDocument } from 'vscode-languageserver-textdocument';
|
|
9
|
-
import { bufferToString, Logger, normalizeUri, SingletonPromise, StateProxy, UriStore, } from '../common/index.js';
|
|
9
|
+
import { bufferToString, EventDispatcher, Logger, normalizeUri, SingletonPromise, StateProxy, UriStore, } from '../common/index.js';
|
|
10
10
|
import { FileNode } from '../node/index.js';
|
|
11
11
|
import { file } from '../parser/index.js';
|
|
12
12
|
import { traversePreOrder } from '../processor/index.js';
|
|
@@ -60,7 +60,7 @@ const CacheAutoSaveInterval = 600_000; // 10 Minutes.
|
|
|
60
60
|
*
|
|
61
61
|
* After the READY process is complete, editing text documents as signaled by the client or the file watcher results in the file being re-processed.
|
|
62
62
|
*/
|
|
63
|
-
export class Project {
|
|
63
|
+
export class Project extends EventDispatcher {
|
|
64
64
|
static RootSuffix = '/pack.mcmeta';
|
|
65
65
|
/** Prevent circular binding. */
|
|
66
66
|
#bindingInProgressUris = new Set();
|
|
@@ -71,7 +71,6 @@ export class Project {
|
|
|
71
71
|
#clientManagedDocAndNodes = new Map();
|
|
72
72
|
#configService;
|
|
73
73
|
#symbolUpToDateUris = new Set();
|
|
74
|
-
#eventEmitter;
|
|
75
74
|
#initializers;
|
|
76
75
|
#watcher;
|
|
77
76
|
get watchedFiles() {
|
|
@@ -134,17 +133,6 @@ export class Project {
|
|
|
134
133
|
this.#roots = [...ans].sort((a, b) => b.length - a.length);
|
|
135
134
|
this.emit('rootsUpdated', { roots: this.#roots });
|
|
136
135
|
}
|
|
137
|
-
on(event, callbackFn) {
|
|
138
|
-
this.#eventEmitter.on(event, callbackFn);
|
|
139
|
-
return this;
|
|
140
|
-
}
|
|
141
|
-
once(event, callbackFn) {
|
|
142
|
-
this.#eventEmitter.once(event, callbackFn);
|
|
143
|
-
return this;
|
|
144
|
-
}
|
|
145
|
-
emit(event, ...args) {
|
|
146
|
-
return this.#eventEmitter.emit(event, ...args);
|
|
147
|
-
}
|
|
148
136
|
/**
|
|
149
137
|
* Get all files that are tracked and supported.
|
|
150
138
|
*
|
|
@@ -157,8 +145,8 @@ export class Project {
|
|
|
157
145
|
return supportedFiles;
|
|
158
146
|
}
|
|
159
147
|
constructor({ cacheRoot, defaultConfig, externals, fs = FileService.create(externals, cacheRoot), initializers = [], isDebugging = false, logger = Logger.create(), profilers = ProfilerFactory.noop(), projectRoots, }) {
|
|
148
|
+
super();
|
|
160
149
|
this.#cacheRoot = cacheRoot;
|
|
161
|
-
this.#eventEmitter = new externals.event.EventEmitter();
|
|
162
150
|
this.externals = externals;
|
|
163
151
|
this.fs = fs;
|
|
164
152
|
this.#initializers = initializers;
|
|
@@ -168,7 +156,7 @@ export class Project {
|
|
|
168
156
|
this.projectRoots = projectRoots;
|
|
169
157
|
this.cacheService = new CacheService(cacheRoot, this);
|
|
170
158
|
this.#configService = new ConfigService(this, defaultConfig);
|
|
171
|
-
this.symbols = new SymbolUtil({}
|
|
159
|
+
this.symbols = new SymbolUtil({});
|
|
172
160
|
this.#ctx = {};
|
|
173
161
|
this.logger.info(`[Project] [init] cacheRoot = ${cacheRoot}`);
|
|
174
162
|
this.logger.info(`[Project] [init] projectRoots = ${projectRoots.join(' ')}`);
|
|
@@ -250,7 +238,7 @@ export class Project {
|
|
|
250
238
|
};
|
|
251
239
|
const __profiler = this.profilers.get('project#init');
|
|
252
240
|
const { symbols } = await this.cacheService.load();
|
|
253
|
-
this.symbols = new SymbolUtil(symbols
|
|
241
|
+
this.symbols = new SymbolUtil(symbols);
|
|
254
242
|
this.symbols.buildCache();
|
|
255
243
|
__profiler.task('Load Cache');
|
|
256
244
|
this.config = await this.#configService.load();
|
|
@@ -425,7 +413,7 @@ export class Project {
|
|
|
425
413
|
}
|
|
426
414
|
// Reset cache.
|
|
427
415
|
const { symbols } = this.cacheService.reset();
|
|
428
|
-
this.symbols = new SymbolUtil(symbols
|
|
416
|
+
this.symbols = new SymbolUtil(symbols);
|
|
429
417
|
this.symbols.buildCache();
|
|
430
418
|
return this.restart();
|
|
431
419
|
}
|
package/lib/service/fetcher.js
CHANGED
|
@@ -10,7 +10,7 @@ export async function fetchWithCache({ web }, logger, input, init) {
|
|
|
10
10
|
}
|
|
11
11
|
request.headers.set('User-Agent', 'SpyglassMC (+https://spyglassmc.com)');
|
|
12
12
|
try {
|
|
13
|
-
const response = await
|
|
13
|
+
const response = await fetch(request, { signal: AbortSignal.timeout(FETCH_TIMEOUT_MS) });
|
|
14
14
|
if (response.status === 304) {
|
|
15
15
|
Dev.assertDefined(cachedResponse);
|
|
16
16
|
logger.info(`[fetchWithCache] reusing cache for ${request.url}`);
|
package/lib/service/fileUtil.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bigintJsonNumberReplacer, bigintJsonNumberReviver, bufferToString, Uri, } from '../common/index.js';
|
|
1
|
+
import { bigintJsonNumberReplacer, bigintJsonNumberReviver, bufferToString, compressBytes, decompressBytes, Uri, } from '../common/index.js';
|
|
2
2
|
export var fileUtil;
|
|
3
3
|
(function (fileUtil) {
|
|
4
4
|
/**
|
|
@@ -245,7 +245,7 @@ export var fileUtil;
|
|
|
245
245
|
* @throws
|
|
246
246
|
*/
|
|
247
247
|
async function readGzippedFile(externals, path) {
|
|
248
|
-
return
|
|
248
|
+
return decompressBytes(await readFile(externals, path), 'gzip');
|
|
249
249
|
}
|
|
250
250
|
fileUtil.readGzippedFile = readGzippedFile;
|
|
251
251
|
/**
|
|
@@ -255,7 +255,7 @@ export var fileUtil;
|
|
|
255
255
|
if (typeof buffer === 'string') {
|
|
256
256
|
buffer = new TextEncoder().encode(buffer);
|
|
257
257
|
}
|
|
258
|
-
return writeFile(externals, path, await
|
|
258
|
+
return writeFile(externals, path, await compressBytes(buffer, 'gzip'));
|
|
259
259
|
}
|
|
260
260
|
fileUtil.writeGzippedFile = writeGzippedFile;
|
|
261
261
|
/**
|
package/lib/symbol/Symbol.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ export type TaggableResourceLocationCategory = (typeof TaggableResourceLocationC
|
|
|
15
15
|
export declare namespace TaggableResourceLocationCategory {
|
|
16
16
|
function is(category: string): category is TaggableResourceLocationCategory;
|
|
17
17
|
}
|
|
18
|
-
export declare const TagFileCategories: readonly ("tag/
|
|
18
|
+
export declare const TagFileCategories: readonly ("tag/activity" | "tag/advancement" | "tag/armor_material" | "tag/attribute" | "tag/attribute_type" | "tag/banner_pattern" | "tag/block" | "tag/block_entity_type" | "tag/block_predicate_type" | "tag/block_type" | "tag/cat_variant" | "tag/chat_type" | "tag/chicken_variant" | "tag/chunk_status" | "tag/command_argument_type" | "tag/consume_effect_type" | "tag/cow_variant" | "tag/creative_mode_tab" | "tag/custom_stat" | "tag/damage_type" | "tag/data_component_predicate_type" | "tag/data_component_type" | "tag/debug_subscription" | "tag/decorated_pot_pattern" | "tag/decorated_pot_patterns" | "tag/dialog" | "tag/dialog_action_type" | "tag/dialog_body_type" | "tag/dialog_type" | "tag/dimension" | "tag/dimension_type" | "tag/enchantment" | "tag/enchantment_effect_component_type" | "tag/enchantment_entity_effect_type" | "tag/enchantment_level_based_value_type" | "tag/enchantment_location_based_effect_type" | "tag/enchantment_provider" | "tag/enchantment_provider_type" | "tag/enchantment_value_effect_type" | "tag/entity_sub_predicate_type" | "tag/entity_type" | "tag/environment_attribute" | "tag/float_provider_type" | "tag/fluid" | "tag/frog_variant" | "tag/function" | "tag/game_event" | "tag/game_rule" | "tag/height_provider_type" | "tag/incoming_rpc_methods" | "tag/input_control_type" | "tag/instrument" | "tag/int_provider_type" | "tag/item" | "tag/item_modifier" | "tag/item_sub_predicate_type" | "tag/jukebox_song" | "tag/loot_condition_type" | "tag/loot_function_type" | "tag/loot_nbt_provider_type" | "tag/loot_number_provider_type" | "tag/loot_pool_entry_type" | "tag/loot_score_provider_type" | "tag/loot_table" | "tag/map_decoration_type" | "tag/memory_module_type" | "tag/menu" | "tag/mob_effect" | "tag/motive" | "tag/number_format_type" | "tag/outgoing_rpc_methods" | "tag/painting_variant" | "tag/particle_type" | "tag/permission_check_type" | "tag/permission_type" | "tag/pig_variant" | "tag/point_of_interest_type" | "tag/pos_rule_test" | "tag/position_source_type" | "tag/potion" | "tag/predicate" | "tag/recipe" | "tag/recipe_book_category" | "tag/recipe_display" | "tag/recipe_serializer" | "tag/recipe_type" | "tag/rule_block_entity_modifier" | "tag/rule_test" | "tag/schedule" | "tag/sensor_type" | "tag/slot_display" | "tag/slot_source_type" | "tag/sound_event" | "tag/spawn_condition_type" | "tag/stat_type" | "tag/structure" | "tag/sulfur_cube_archetype" | "tag/test_environment" | "tag/test_environment_definition_type" | "tag/test_function" | "tag/test_instance" | "tag/test_instance_type" | "tag/ticket_type" | "tag/timeline" | "tag/trade_set" | "tag/trial_spawner" | "tag/trigger_type" | "tag/trim_material" | "tag/trim_pattern" | "tag/villager_profession" | "tag/villager_trade" | "tag/villager_type" | "tag/wolf_sound_variant" | "tag/wolf_variant" | "tag/world_clock" | "tag/worldgen/biome" | "tag/worldgen/biome_source" | "tag/worldgen/block_placer_type" | "tag/worldgen/block_state_provider_type" | "tag/worldgen/carver" | "tag/worldgen/chunk_generator" | "tag/worldgen/configured_carver" | "tag/worldgen/configured_feature" | "tag/worldgen/configured_structure_feature" | "tag/worldgen/configured_surface_builder" | "tag/worldgen/decorator" | "tag/worldgen/density_function" | "tag/worldgen/density_function_type" | "tag/worldgen/feature" | "tag/worldgen/feature_size_type" | "tag/worldgen/flat_level_generator_preset" | "tag/worldgen/foliage_placer_type" | "tag/worldgen/material_condition" | "tag/worldgen/material_rule" | "tag/worldgen/multi_noise_biome_source_parameter_list" | "tag/worldgen/noise" | "tag/worldgen/noise_settings" | "tag/worldgen/placed_feature" | "tag/worldgen/placement_modifier_type" | "tag/worldgen/pool_alias_binding" | "tag/worldgen/processor_list" | "tag/worldgen/root_placer_type" | "tag/worldgen/structure" | "tag/worldgen/structure_feature" | "tag/worldgen/structure_piece" | "tag/worldgen/structure_placement" | "tag/worldgen/structure_pool_element" | "tag/worldgen/structure_processor" | "tag/worldgen/structure_set" | "tag/worldgen/structure_type" | "tag/worldgen/surface_builder" | "tag/worldgen/template_pool" | "tag/worldgen/tree_decorator_type" | "tag/worldgen/trunk_placer_type" | "tag/worldgen/world_preset" | "tag/zombie_nautilus_variant")[];
|
|
19
19
|
export type TagFileCategory = (typeof TagFileCategories)[number];
|
|
20
|
-
export declare const DataFileCategories: readonly ["advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/
|
|
20
|
+
export declare const DataFileCategories: readonly ["advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/activity" | "tag/advancement" | "tag/armor_material" | "tag/attribute" | "tag/attribute_type" | "tag/banner_pattern" | "tag/block" | "tag/block_entity_type" | "tag/block_predicate_type" | "tag/block_type" | "tag/cat_variant" | "tag/chat_type" | "tag/chicken_variant" | "tag/chunk_status" | "tag/command_argument_type" | "tag/consume_effect_type" | "tag/cow_variant" | "tag/creative_mode_tab" | "tag/custom_stat" | "tag/damage_type" | "tag/data_component_predicate_type" | "tag/data_component_type" | "tag/debug_subscription" | "tag/decorated_pot_pattern" | "tag/decorated_pot_patterns" | "tag/dialog" | "tag/dialog_action_type" | "tag/dialog_body_type" | "tag/dialog_type" | "tag/dimension" | "tag/dimension_type" | "tag/enchantment" | "tag/enchantment_effect_component_type" | "tag/enchantment_entity_effect_type" | "tag/enchantment_level_based_value_type" | "tag/enchantment_location_based_effect_type" | "tag/enchantment_provider" | "tag/enchantment_provider_type" | "tag/enchantment_value_effect_type" | "tag/entity_sub_predicate_type" | "tag/entity_type" | "tag/environment_attribute" | "tag/float_provider_type" | "tag/fluid" | "tag/frog_variant" | "tag/function" | "tag/game_event" | "tag/game_rule" | "tag/height_provider_type" | "tag/incoming_rpc_methods" | "tag/input_control_type" | "tag/instrument" | "tag/int_provider_type" | "tag/item" | "tag/item_modifier" | "tag/item_sub_predicate_type" | "tag/jukebox_song" | "tag/loot_condition_type" | "tag/loot_function_type" | "tag/loot_nbt_provider_type" | "tag/loot_number_provider_type" | "tag/loot_pool_entry_type" | "tag/loot_score_provider_type" | "tag/loot_table" | "tag/map_decoration_type" | "tag/memory_module_type" | "tag/menu" | "tag/mob_effect" | "tag/motive" | "tag/number_format_type" | "tag/outgoing_rpc_methods" | "tag/painting_variant" | "tag/particle_type" | "tag/permission_check_type" | "tag/permission_type" | "tag/pig_variant" | "tag/point_of_interest_type" | "tag/pos_rule_test" | "tag/position_source_type" | "tag/potion" | "tag/predicate" | "tag/recipe" | "tag/recipe_book_category" | "tag/recipe_display" | "tag/recipe_serializer" | "tag/recipe_type" | "tag/rule_block_entity_modifier" | "tag/rule_test" | "tag/schedule" | "tag/sensor_type" | "tag/slot_display" | "tag/slot_source_type" | "tag/sound_event" | "tag/spawn_condition_type" | "tag/stat_type" | "tag/structure" | "tag/sulfur_cube_archetype" | "tag/test_environment" | "tag/test_environment_definition_type" | "tag/test_function" | "tag/test_instance" | "tag/test_instance_type" | "tag/ticket_type" | "tag/timeline" | "tag/trade_set" | "tag/trial_spawner" | "tag/trigger_type" | "tag/trim_material" | "tag/trim_pattern" | "tag/villager_profession" | "tag/villager_trade" | "tag/villager_type" | "tag/wolf_sound_variant" | "tag/wolf_variant" | "tag/world_clock" | "tag/worldgen/biome" | "tag/worldgen/biome_source" | "tag/worldgen/block_placer_type" | "tag/worldgen/block_state_provider_type" | "tag/worldgen/carver" | "tag/worldgen/chunk_generator" | "tag/worldgen/configured_carver" | "tag/worldgen/configured_feature" | "tag/worldgen/configured_structure_feature" | "tag/worldgen/configured_surface_builder" | "tag/worldgen/decorator" | "tag/worldgen/density_function" | "tag/worldgen/density_function_type" | "tag/worldgen/feature" | "tag/worldgen/feature_size_type" | "tag/worldgen/flat_level_generator_preset" | "tag/worldgen/foliage_placer_type" | "tag/worldgen/material_condition" | "tag/worldgen/material_rule" | "tag/worldgen/multi_noise_biome_source_parameter_list" | "tag/worldgen/noise" | "tag/worldgen/noise_settings" | "tag/worldgen/placed_feature" | "tag/worldgen/placement_modifier_type" | "tag/worldgen/pool_alias_binding" | "tag/worldgen/processor_list" | "tag/worldgen/root_placer_type" | "tag/worldgen/structure" | "tag/worldgen/structure_feature" | "tag/worldgen/structure_piece" | "tag/worldgen/structure_placement" | "tag/worldgen/structure_pool_element" | "tag/worldgen/structure_processor" | "tag/worldgen/structure_set" | "tag/worldgen/structure_type" | "tag/worldgen/surface_builder" | "tag/worldgen/template_pool" | "tag/worldgen/tree_decorator_type" | "tag/worldgen/trunk_placer_type" | "tag/worldgen/world_preset" | "tag/zombie_nautilus_variant")[], "worldgen/biome", "worldgen/configured_carver", "worldgen/configured_feature", "worldgen/configured_structure_feature", "worldgen/configured_surface_builder", "worldgen/density_function", "worldgen/flat_level_generator_preset", "worldgen/multi_noise_biome_source_parameter_list", "worldgen/noise", "worldgen/noise_settings", "worldgen/placed_feature", "worldgen/processor_list", "worldgen/structure", "worldgen/structure_set", "worldgen/template_pool", "worldgen/world_preset"];
|
|
21
21
|
export type DataFileCategory = (typeof DataFileCategories)[number];
|
|
22
22
|
export declare const DataMiscCategories: readonly ["attribute_modifier", "bossbar", "jigsaw_block_name", "random_sequence", "storage", "stopwatch"];
|
|
23
23
|
export type DataMiscCategory = (typeof DataMiscCategories)[number];
|
|
24
|
-
export declare const DatapackCategories: readonly ["attribute_modifier_uuid", "objective", "player_uuid", "score_holder", "tag", "team", "advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/
|
|
24
|
+
export declare const DatapackCategories: readonly ["attribute_modifier_uuid", "objective", "player_uuid", "score_holder", "tag", "team", "advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/activity" | "tag/advancement" | "tag/armor_material" | "tag/attribute" | "tag/attribute_type" | "tag/banner_pattern" | "tag/block" | "tag/block_entity_type" | "tag/block_predicate_type" | "tag/block_type" | "tag/cat_variant" | "tag/chat_type" | "tag/chicken_variant" | "tag/chunk_status" | "tag/command_argument_type" | "tag/consume_effect_type" | "tag/cow_variant" | "tag/creative_mode_tab" | "tag/custom_stat" | "tag/damage_type" | "tag/data_component_predicate_type" | "tag/data_component_type" | "tag/debug_subscription" | "tag/decorated_pot_pattern" | "tag/decorated_pot_patterns" | "tag/dialog" | "tag/dialog_action_type" | "tag/dialog_body_type" | "tag/dialog_type" | "tag/dimension" | "tag/dimension_type" | "tag/enchantment" | "tag/enchantment_effect_component_type" | "tag/enchantment_entity_effect_type" | "tag/enchantment_level_based_value_type" | "tag/enchantment_location_based_effect_type" | "tag/enchantment_provider" | "tag/enchantment_provider_type" | "tag/enchantment_value_effect_type" | "tag/entity_sub_predicate_type" | "tag/entity_type" | "tag/environment_attribute" | "tag/float_provider_type" | "tag/fluid" | "tag/frog_variant" | "tag/function" | "tag/game_event" | "tag/game_rule" | "tag/height_provider_type" | "tag/incoming_rpc_methods" | "tag/input_control_type" | "tag/instrument" | "tag/int_provider_type" | "tag/item" | "tag/item_modifier" | "tag/item_sub_predicate_type" | "tag/jukebox_song" | "tag/loot_condition_type" | "tag/loot_function_type" | "tag/loot_nbt_provider_type" | "tag/loot_number_provider_type" | "tag/loot_pool_entry_type" | "tag/loot_score_provider_type" | "tag/loot_table" | "tag/map_decoration_type" | "tag/memory_module_type" | "tag/menu" | "tag/mob_effect" | "tag/motive" | "tag/number_format_type" | "tag/outgoing_rpc_methods" | "tag/painting_variant" | "tag/particle_type" | "tag/permission_check_type" | "tag/permission_type" | "tag/pig_variant" | "tag/point_of_interest_type" | "tag/pos_rule_test" | "tag/position_source_type" | "tag/potion" | "tag/predicate" | "tag/recipe" | "tag/recipe_book_category" | "tag/recipe_display" | "tag/recipe_serializer" | "tag/recipe_type" | "tag/rule_block_entity_modifier" | "tag/rule_test" | "tag/schedule" | "tag/sensor_type" | "tag/slot_display" | "tag/slot_source_type" | "tag/sound_event" | "tag/spawn_condition_type" | "tag/stat_type" | "tag/structure" | "tag/sulfur_cube_archetype" | "tag/test_environment" | "tag/test_environment_definition_type" | "tag/test_function" | "tag/test_instance" | "tag/test_instance_type" | "tag/ticket_type" | "tag/timeline" | "tag/trade_set" | "tag/trial_spawner" | "tag/trigger_type" | "tag/trim_material" | "tag/trim_pattern" | "tag/villager_profession" | "tag/villager_trade" | "tag/villager_type" | "tag/wolf_sound_variant" | "tag/wolf_variant" | "tag/world_clock" | "tag/worldgen/biome" | "tag/worldgen/biome_source" | "tag/worldgen/block_placer_type" | "tag/worldgen/block_state_provider_type" | "tag/worldgen/carver" | "tag/worldgen/chunk_generator" | "tag/worldgen/configured_carver" | "tag/worldgen/configured_feature" | "tag/worldgen/configured_structure_feature" | "tag/worldgen/configured_surface_builder" | "tag/worldgen/decorator" | "tag/worldgen/density_function" | "tag/worldgen/density_function_type" | "tag/worldgen/feature" | "tag/worldgen/feature_size_type" | "tag/worldgen/flat_level_generator_preset" | "tag/worldgen/foliage_placer_type" | "tag/worldgen/material_condition" | "tag/worldgen/material_rule" | "tag/worldgen/multi_noise_biome_source_parameter_list" | "tag/worldgen/noise" | "tag/worldgen/noise_settings" | "tag/worldgen/placed_feature" | "tag/worldgen/placement_modifier_type" | "tag/worldgen/pool_alias_binding" | "tag/worldgen/processor_list" | "tag/worldgen/root_placer_type" | "tag/worldgen/structure" | "tag/worldgen/structure_feature" | "tag/worldgen/structure_piece" | "tag/worldgen/structure_placement" | "tag/worldgen/structure_pool_element" | "tag/worldgen/structure_processor" | "tag/worldgen/structure_set" | "tag/worldgen/structure_type" | "tag/worldgen/surface_builder" | "tag/worldgen/template_pool" | "tag/worldgen/tree_decorator_type" | "tag/worldgen/trunk_placer_type" | "tag/worldgen/world_preset" | "tag/zombie_nautilus_variant")[], "worldgen/biome", "worldgen/configured_carver", "worldgen/configured_feature", "worldgen/configured_structure_feature", "worldgen/configured_surface_builder", "worldgen/density_function", "worldgen/flat_level_generator_preset", "worldgen/multi_noise_biome_source_parameter_list", "worldgen/noise", "worldgen/noise_settings", "worldgen/placed_feature", "worldgen/processor_list", "worldgen/structure", "worldgen/structure_set", "worldgen/template_pool", "worldgen/world_preset", "attribute_modifier", "bossbar", "jigsaw_block_name", "random_sequence", "storage", "stopwatch"];
|
|
25
25
|
export type DatapackCategory = (typeof DatapackCategories)[number];
|
|
26
26
|
export declare const AssetsFileCategories: readonly ["atlas", "block_definition", "equipment", "font", "font/ttf", "font/otf", "font/unihex", "gpu_warnlist", "item_definition", "lang", "lang/deprecated", "model", "particle", "post_effect", "regional_compliancies", "shader", "shader/fragment", "shader/vertex", "sound", "sounds", "texture", "texture_meta", "waypoint_style"];
|
|
27
27
|
export type AssetsFileCategory = (typeof AssetsFileCategories)[number];
|
|
@@ -29,11 +29,11 @@ export declare const AssetsMiscCategories: readonly ["texture_slot", "shader_tar
|
|
|
29
29
|
export type AssetsMiscCategory = (typeof AssetsMiscCategories)[number];
|
|
30
30
|
export declare const ResourcepackCategories: readonly ["texture_slot", "shader_target", "translation_key", "atlas", "block_definition", "equipment", "font", "font/ttf", "font/otf", "font/unihex", "gpu_warnlist", "item_definition", "lang", "lang/deprecated", "model", "particle", "post_effect", "regional_compliancies", "shader", "shader/fragment", "shader/vertex", "sound", "sounds", "texture", "texture_meta", "waypoint_style"];
|
|
31
31
|
export type ResourcepackCategory = (typeof ResourcepackCategories)[number];
|
|
32
|
-
export declare const FileCategories: readonly ["advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/
|
|
32
|
+
export declare const FileCategories: readonly ["advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/activity" | "tag/advancement" | "tag/armor_material" | "tag/attribute" | "tag/attribute_type" | "tag/banner_pattern" | "tag/block" | "tag/block_entity_type" | "tag/block_predicate_type" | "tag/block_type" | "tag/cat_variant" | "tag/chat_type" | "tag/chicken_variant" | "tag/chunk_status" | "tag/command_argument_type" | "tag/consume_effect_type" | "tag/cow_variant" | "tag/creative_mode_tab" | "tag/custom_stat" | "tag/damage_type" | "tag/data_component_predicate_type" | "tag/data_component_type" | "tag/debug_subscription" | "tag/decorated_pot_pattern" | "tag/decorated_pot_patterns" | "tag/dialog" | "tag/dialog_action_type" | "tag/dialog_body_type" | "tag/dialog_type" | "tag/dimension" | "tag/dimension_type" | "tag/enchantment" | "tag/enchantment_effect_component_type" | "tag/enchantment_entity_effect_type" | "tag/enchantment_level_based_value_type" | "tag/enchantment_location_based_effect_type" | "tag/enchantment_provider" | "tag/enchantment_provider_type" | "tag/enchantment_value_effect_type" | "tag/entity_sub_predicate_type" | "tag/entity_type" | "tag/environment_attribute" | "tag/float_provider_type" | "tag/fluid" | "tag/frog_variant" | "tag/function" | "tag/game_event" | "tag/game_rule" | "tag/height_provider_type" | "tag/incoming_rpc_methods" | "tag/input_control_type" | "tag/instrument" | "tag/int_provider_type" | "tag/item" | "tag/item_modifier" | "tag/item_sub_predicate_type" | "tag/jukebox_song" | "tag/loot_condition_type" | "tag/loot_function_type" | "tag/loot_nbt_provider_type" | "tag/loot_number_provider_type" | "tag/loot_pool_entry_type" | "tag/loot_score_provider_type" | "tag/loot_table" | "tag/map_decoration_type" | "tag/memory_module_type" | "tag/menu" | "tag/mob_effect" | "tag/motive" | "tag/number_format_type" | "tag/outgoing_rpc_methods" | "tag/painting_variant" | "tag/particle_type" | "tag/permission_check_type" | "tag/permission_type" | "tag/pig_variant" | "tag/point_of_interest_type" | "tag/pos_rule_test" | "tag/position_source_type" | "tag/potion" | "tag/predicate" | "tag/recipe" | "tag/recipe_book_category" | "tag/recipe_display" | "tag/recipe_serializer" | "tag/recipe_type" | "tag/rule_block_entity_modifier" | "tag/rule_test" | "tag/schedule" | "tag/sensor_type" | "tag/slot_display" | "tag/slot_source_type" | "tag/sound_event" | "tag/spawn_condition_type" | "tag/stat_type" | "tag/structure" | "tag/sulfur_cube_archetype" | "tag/test_environment" | "tag/test_environment_definition_type" | "tag/test_function" | "tag/test_instance" | "tag/test_instance_type" | "tag/ticket_type" | "tag/timeline" | "tag/trade_set" | "tag/trial_spawner" | "tag/trigger_type" | "tag/trim_material" | "tag/trim_pattern" | "tag/villager_profession" | "tag/villager_trade" | "tag/villager_type" | "tag/wolf_sound_variant" | "tag/wolf_variant" | "tag/world_clock" | "tag/worldgen/biome" | "tag/worldgen/biome_source" | "tag/worldgen/block_placer_type" | "tag/worldgen/block_state_provider_type" | "tag/worldgen/carver" | "tag/worldgen/chunk_generator" | "tag/worldgen/configured_carver" | "tag/worldgen/configured_feature" | "tag/worldgen/configured_structure_feature" | "tag/worldgen/configured_surface_builder" | "tag/worldgen/decorator" | "tag/worldgen/density_function" | "tag/worldgen/density_function_type" | "tag/worldgen/feature" | "tag/worldgen/feature_size_type" | "tag/worldgen/flat_level_generator_preset" | "tag/worldgen/foliage_placer_type" | "tag/worldgen/material_condition" | "tag/worldgen/material_rule" | "tag/worldgen/multi_noise_biome_source_parameter_list" | "tag/worldgen/noise" | "tag/worldgen/noise_settings" | "tag/worldgen/placed_feature" | "tag/worldgen/placement_modifier_type" | "tag/worldgen/pool_alias_binding" | "tag/worldgen/processor_list" | "tag/worldgen/root_placer_type" | "tag/worldgen/structure" | "tag/worldgen/structure_feature" | "tag/worldgen/structure_piece" | "tag/worldgen/structure_placement" | "tag/worldgen/structure_pool_element" | "tag/worldgen/structure_processor" | "tag/worldgen/structure_set" | "tag/worldgen/structure_type" | "tag/worldgen/surface_builder" | "tag/worldgen/template_pool" | "tag/worldgen/tree_decorator_type" | "tag/worldgen/trunk_placer_type" | "tag/worldgen/world_preset" | "tag/zombie_nautilus_variant")[], "worldgen/biome", "worldgen/configured_carver", "worldgen/configured_feature", "worldgen/configured_structure_feature", "worldgen/configured_surface_builder", "worldgen/density_function", "worldgen/flat_level_generator_preset", "worldgen/multi_noise_biome_source_parameter_list", "worldgen/noise", "worldgen/noise_settings", "worldgen/placed_feature", "worldgen/processor_list", "worldgen/structure", "worldgen/structure_set", "worldgen/template_pool", "worldgen/world_preset", "atlas", "block_definition", "equipment", "font", "font/ttf", "font/otf", "font/unihex", "gpu_warnlist", "item_definition", "lang", "lang/deprecated", "model", "particle", "post_effect", "regional_compliancies", "shader", "shader/fragment", "shader/vertex", "sound", "sounds", "texture", "texture_meta", "waypoint_style"];
|
|
33
33
|
export type FileCategory = (typeof FileCategories)[number];
|
|
34
|
-
export declare const AllCategories: readonly ["attribute_modifier_uuid", "objective", "player_uuid", "score_holder", "tag", "team", "advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/
|
|
34
|
+
export declare const AllCategories: readonly ["attribute_modifier_uuid", "objective", "player_uuid", "score_holder", "tag", "team", "advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/activity" | "tag/advancement" | "tag/armor_material" | "tag/attribute" | "tag/attribute_type" | "tag/banner_pattern" | "tag/block" | "tag/block_entity_type" | "tag/block_predicate_type" | "tag/block_type" | "tag/cat_variant" | "tag/chat_type" | "tag/chicken_variant" | "tag/chunk_status" | "tag/command_argument_type" | "tag/consume_effect_type" | "tag/cow_variant" | "tag/creative_mode_tab" | "tag/custom_stat" | "tag/damage_type" | "tag/data_component_predicate_type" | "tag/data_component_type" | "tag/debug_subscription" | "tag/decorated_pot_pattern" | "tag/decorated_pot_patterns" | "tag/dialog" | "tag/dialog_action_type" | "tag/dialog_body_type" | "tag/dialog_type" | "tag/dimension" | "tag/dimension_type" | "tag/enchantment" | "tag/enchantment_effect_component_type" | "tag/enchantment_entity_effect_type" | "tag/enchantment_level_based_value_type" | "tag/enchantment_location_based_effect_type" | "tag/enchantment_provider" | "tag/enchantment_provider_type" | "tag/enchantment_value_effect_type" | "tag/entity_sub_predicate_type" | "tag/entity_type" | "tag/environment_attribute" | "tag/float_provider_type" | "tag/fluid" | "tag/frog_variant" | "tag/function" | "tag/game_event" | "tag/game_rule" | "tag/height_provider_type" | "tag/incoming_rpc_methods" | "tag/input_control_type" | "tag/instrument" | "tag/int_provider_type" | "tag/item" | "tag/item_modifier" | "tag/item_sub_predicate_type" | "tag/jukebox_song" | "tag/loot_condition_type" | "tag/loot_function_type" | "tag/loot_nbt_provider_type" | "tag/loot_number_provider_type" | "tag/loot_pool_entry_type" | "tag/loot_score_provider_type" | "tag/loot_table" | "tag/map_decoration_type" | "tag/memory_module_type" | "tag/menu" | "tag/mob_effect" | "tag/motive" | "tag/number_format_type" | "tag/outgoing_rpc_methods" | "tag/painting_variant" | "tag/particle_type" | "tag/permission_check_type" | "tag/permission_type" | "tag/pig_variant" | "tag/point_of_interest_type" | "tag/pos_rule_test" | "tag/position_source_type" | "tag/potion" | "tag/predicate" | "tag/recipe" | "tag/recipe_book_category" | "tag/recipe_display" | "tag/recipe_serializer" | "tag/recipe_type" | "tag/rule_block_entity_modifier" | "tag/rule_test" | "tag/schedule" | "tag/sensor_type" | "tag/slot_display" | "tag/slot_source_type" | "tag/sound_event" | "tag/spawn_condition_type" | "tag/stat_type" | "tag/structure" | "tag/sulfur_cube_archetype" | "tag/test_environment" | "tag/test_environment_definition_type" | "tag/test_function" | "tag/test_instance" | "tag/test_instance_type" | "tag/ticket_type" | "tag/timeline" | "tag/trade_set" | "tag/trial_spawner" | "tag/trigger_type" | "tag/trim_material" | "tag/trim_pattern" | "tag/villager_profession" | "tag/villager_trade" | "tag/villager_type" | "tag/wolf_sound_variant" | "tag/wolf_variant" | "tag/world_clock" | "tag/worldgen/biome" | "tag/worldgen/biome_source" | "tag/worldgen/block_placer_type" | "tag/worldgen/block_state_provider_type" | "tag/worldgen/carver" | "tag/worldgen/chunk_generator" | "tag/worldgen/configured_carver" | "tag/worldgen/configured_feature" | "tag/worldgen/configured_structure_feature" | "tag/worldgen/configured_surface_builder" | "tag/worldgen/decorator" | "tag/worldgen/density_function" | "tag/worldgen/density_function_type" | "tag/worldgen/feature" | "tag/worldgen/feature_size_type" | "tag/worldgen/flat_level_generator_preset" | "tag/worldgen/foliage_placer_type" | "tag/worldgen/material_condition" | "tag/worldgen/material_rule" | "tag/worldgen/multi_noise_biome_source_parameter_list" | "tag/worldgen/noise" | "tag/worldgen/noise_settings" | "tag/worldgen/placed_feature" | "tag/worldgen/placement_modifier_type" | "tag/worldgen/pool_alias_binding" | "tag/worldgen/processor_list" | "tag/worldgen/root_placer_type" | "tag/worldgen/structure" | "tag/worldgen/structure_feature" | "tag/worldgen/structure_piece" | "tag/worldgen/structure_placement" | "tag/worldgen/structure_pool_element" | "tag/worldgen/structure_processor" | "tag/worldgen/structure_set" | "tag/worldgen/structure_type" | "tag/worldgen/surface_builder" | "tag/worldgen/template_pool" | "tag/worldgen/tree_decorator_type" | "tag/worldgen/trunk_placer_type" | "tag/worldgen/world_preset" | "tag/zombie_nautilus_variant")[], "worldgen/biome", "worldgen/configured_carver", "worldgen/configured_feature", "worldgen/configured_structure_feature", "worldgen/configured_surface_builder", "worldgen/density_function", "worldgen/flat_level_generator_preset", "worldgen/multi_noise_biome_source_parameter_list", "worldgen/noise", "worldgen/noise_settings", "worldgen/placed_feature", "worldgen/processor_list", "worldgen/structure", "worldgen/structure_set", "worldgen/template_pool", "worldgen/world_preset", "attribute_modifier", "bossbar", "jigsaw_block_name", "random_sequence", "storage", "stopwatch", "texture_slot", "shader_target", "translation_key", "atlas", "block_definition", "equipment", "font", "font/ttf", "font/otf", "font/unihex", "gpu_warnlist", "item_definition", "lang", "lang/deprecated", "model", "particle", "post_effect", "regional_compliancies", "shader", "shader/fragment", "shader/vertex", "sound", "sounds", "texture", "texture_meta", "waypoint_style", "mcdoc", "mcdoc/dispatcher", "activity", "armor_material", "attribute", "attribute_type", "block", "block_entity_type", "block_predicate_type", "block_type", "chunk_status", "command_argument_type", "consume_effect_type", "creative_mode_tab", "custom_stat", "data_component_predicate_type", "data_component_type", "debug_subscription", "decorated_pot_pattern", "decorated_pot_patterns", "dialog_action_type", "dialog_body_type", "dialog_type", "enchantment_effect_component_type", "enchantment_entity_effect_type", "enchantment_level_based_value_type", "enchantment_location_based_effect_type", "enchantment_provider_type", "enchantment_value_effect_type", "entity_sub_predicate_type", "entity_type", "environment_attribute", "float_provider_type", "fluid", "game_event", "game_rule", "height_provider_type", "incoming_rpc_methods", "input_control_type", "instrument", "int_provider_type", "item", "item_sub_predicate_type", "loot_condition_type", "loot_function_type", "loot_nbt_provider_type", "loot_number_provider_type", "loot_pool_entry_type", "loot_score_provider_type", "map_decoration_type", "memory_module_type", "menu", "mob_effect", "motive", "number_format_type", "outgoing_rpc_methods", "particle_type", "permission_check_type", "permission_type", "point_of_interest_type", "pos_rule_test", "position_source_type", "potion", "recipe_book_category", "recipe_display", "recipe_serializer", "recipe_type", "rule_block_entity_modifier", "rule_test", "schedule", "sensor_type", "slot_display", "slot_source_type", "sound_event", "spawn_condition_type", "stat_type", "test_environment_definition_type", "test_function", "test_instance_type", "trigger_type", "ticket_type", "villager_profession", "villager_type", "worldgen/biome_source", "worldgen/block_placer_type", "worldgen/block_state_provider_type", "worldgen/carver", "worldgen/chunk_generator", "worldgen/decorator", "worldgen/density_function_type", "worldgen/feature", "worldgen/feature_size_type", "worldgen/foliage_placer_type", "worldgen/material_condition", "worldgen/material_rule", "worldgen/placement_modifier_type", "worldgen/pool_alias_binding", "worldgen/root_placer_type", "worldgen/structure_feature", "worldgen/structure_piece", "worldgen/structure_placement", "worldgen/structure_pool_element", "worldgen/structure_processor", "worldgen/structure_type", "worldgen/surface_builder", "worldgen/tree_decorator_type", "worldgen/trunk_placer_type"];
|
|
35
35
|
export type AllCategory = (typeof AllCategories)[number];
|
|
36
|
-
export declare const ResourceLocationCategories: readonly ["mcdoc/dispatcher", "attribute_modifier", "bossbar", "jigsaw_block_name", "random_sequence", "storage", "stopwatch", "texture_slot", "shader_target", "translation_key", "advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/
|
|
36
|
+
export declare const ResourceLocationCategories: readonly ["mcdoc/dispatcher", "attribute_modifier", "bossbar", "jigsaw_block_name", "random_sequence", "storage", "stopwatch", "texture_slot", "shader_target", "translation_key", "advancement", "banner_pattern", "cat_variant", "chat_type", "chicken_variant", "cow_variant", "damage_type", "dialog", "dimension", "dimension_type", "enchantment", "enchantment_provider", "frog_variant", "function", "instrument", "item_modifier", "jukebox_song", "loot_table", "painting_variant", "pig_variant", "predicate", "recipe", "structure", "sulfur_cube_archetype", "test_environment", "test_instance", "timeline", "trade_set", "trial_spawner", "trim_material", "trim_pattern", "villager_trade", "wolf_sound_variant", "wolf_variant", "world_clock", "zombie_nautilus_variant", ...("tag/activity" | "tag/advancement" | "tag/armor_material" | "tag/attribute" | "tag/attribute_type" | "tag/banner_pattern" | "tag/block" | "tag/block_entity_type" | "tag/block_predicate_type" | "tag/block_type" | "tag/cat_variant" | "tag/chat_type" | "tag/chicken_variant" | "tag/chunk_status" | "tag/command_argument_type" | "tag/consume_effect_type" | "tag/cow_variant" | "tag/creative_mode_tab" | "tag/custom_stat" | "tag/damage_type" | "tag/data_component_predicate_type" | "tag/data_component_type" | "tag/debug_subscription" | "tag/decorated_pot_pattern" | "tag/decorated_pot_patterns" | "tag/dialog" | "tag/dialog_action_type" | "tag/dialog_body_type" | "tag/dialog_type" | "tag/dimension" | "tag/dimension_type" | "tag/enchantment" | "tag/enchantment_effect_component_type" | "tag/enchantment_entity_effect_type" | "tag/enchantment_level_based_value_type" | "tag/enchantment_location_based_effect_type" | "tag/enchantment_provider" | "tag/enchantment_provider_type" | "tag/enchantment_value_effect_type" | "tag/entity_sub_predicate_type" | "tag/entity_type" | "tag/environment_attribute" | "tag/float_provider_type" | "tag/fluid" | "tag/frog_variant" | "tag/function" | "tag/game_event" | "tag/game_rule" | "tag/height_provider_type" | "tag/incoming_rpc_methods" | "tag/input_control_type" | "tag/instrument" | "tag/int_provider_type" | "tag/item" | "tag/item_modifier" | "tag/item_sub_predicate_type" | "tag/jukebox_song" | "tag/loot_condition_type" | "tag/loot_function_type" | "tag/loot_nbt_provider_type" | "tag/loot_number_provider_type" | "tag/loot_pool_entry_type" | "tag/loot_score_provider_type" | "tag/loot_table" | "tag/map_decoration_type" | "tag/memory_module_type" | "tag/menu" | "tag/mob_effect" | "tag/motive" | "tag/number_format_type" | "tag/outgoing_rpc_methods" | "tag/painting_variant" | "tag/particle_type" | "tag/permission_check_type" | "tag/permission_type" | "tag/pig_variant" | "tag/point_of_interest_type" | "tag/pos_rule_test" | "tag/position_source_type" | "tag/potion" | "tag/predicate" | "tag/recipe" | "tag/recipe_book_category" | "tag/recipe_display" | "tag/recipe_serializer" | "tag/recipe_type" | "tag/rule_block_entity_modifier" | "tag/rule_test" | "tag/schedule" | "tag/sensor_type" | "tag/slot_display" | "tag/slot_source_type" | "tag/sound_event" | "tag/spawn_condition_type" | "tag/stat_type" | "tag/structure" | "tag/sulfur_cube_archetype" | "tag/test_environment" | "tag/test_environment_definition_type" | "tag/test_function" | "tag/test_instance" | "tag/test_instance_type" | "tag/ticket_type" | "tag/timeline" | "tag/trade_set" | "tag/trial_spawner" | "tag/trigger_type" | "tag/trim_material" | "tag/trim_pattern" | "tag/villager_profession" | "tag/villager_trade" | "tag/villager_type" | "tag/wolf_sound_variant" | "tag/wolf_variant" | "tag/world_clock" | "tag/worldgen/biome" | "tag/worldgen/biome_source" | "tag/worldgen/block_placer_type" | "tag/worldgen/block_state_provider_type" | "tag/worldgen/carver" | "tag/worldgen/chunk_generator" | "tag/worldgen/configured_carver" | "tag/worldgen/configured_feature" | "tag/worldgen/configured_structure_feature" | "tag/worldgen/configured_surface_builder" | "tag/worldgen/decorator" | "tag/worldgen/density_function" | "tag/worldgen/density_function_type" | "tag/worldgen/feature" | "tag/worldgen/feature_size_type" | "tag/worldgen/flat_level_generator_preset" | "tag/worldgen/foliage_placer_type" | "tag/worldgen/material_condition" | "tag/worldgen/material_rule" | "tag/worldgen/multi_noise_biome_source_parameter_list" | "tag/worldgen/noise" | "tag/worldgen/noise_settings" | "tag/worldgen/placed_feature" | "tag/worldgen/placement_modifier_type" | "tag/worldgen/pool_alias_binding" | "tag/worldgen/processor_list" | "tag/worldgen/root_placer_type" | "tag/worldgen/structure" | "tag/worldgen/structure_feature" | "tag/worldgen/structure_piece" | "tag/worldgen/structure_placement" | "tag/worldgen/structure_pool_element" | "tag/worldgen/structure_processor" | "tag/worldgen/structure_set" | "tag/worldgen/structure_type" | "tag/worldgen/surface_builder" | "tag/worldgen/template_pool" | "tag/worldgen/tree_decorator_type" | "tag/worldgen/trunk_placer_type" | "tag/worldgen/world_preset" | "tag/zombie_nautilus_variant")[], "worldgen/biome", "worldgen/configured_carver", "worldgen/configured_feature", "worldgen/configured_structure_feature", "worldgen/configured_surface_builder", "worldgen/density_function", "worldgen/flat_level_generator_preset", "worldgen/multi_noise_biome_source_parameter_list", "worldgen/noise", "worldgen/noise_settings", "worldgen/placed_feature", "worldgen/processor_list", "worldgen/structure", "worldgen/structure_set", "worldgen/template_pool", "worldgen/world_preset", "atlas", "block_definition", "equipment", "font", "font/ttf", "font/otf", "font/unihex", "gpu_warnlist", "item_definition", "lang", "lang/deprecated", "model", "particle", "post_effect", "regional_compliancies", "shader", "shader/fragment", "shader/vertex", "sound", "sounds", "texture", "texture_meta", "waypoint_style", "activity", "armor_material", "attribute", "attribute_type", "block", "block_entity_type", "block_predicate_type", "block_type", "chunk_status", "command_argument_type", "consume_effect_type", "creative_mode_tab", "custom_stat", "data_component_predicate_type", "data_component_type", "debug_subscription", "decorated_pot_pattern", "decorated_pot_patterns", "dialog_action_type", "dialog_body_type", "dialog_type", "enchantment_effect_component_type", "enchantment_entity_effect_type", "enchantment_level_based_value_type", "enchantment_location_based_effect_type", "enchantment_provider_type", "enchantment_value_effect_type", "entity_sub_predicate_type", "entity_type", "environment_attribute", "float_provider_type", "fluid", "game_event", "game_rule", "height_provider_type", "incoming_rpc_methods", "input_control_type", "instrument", "int_provider_type", "item", "item_sub_predicate_type", "loot_condition_type", "loot_function_type", "loot_nbt_provider_type", "loot_number_provider_type", "loot_pool_entry_type", "loot_score_provider_type", "map_decoration_type", "memory_module_type", "menu", "mob_effect", "motive", "number_format_type", "outgoing_rpc_methods", "particle_type", "permission_check_type", "permission_type", "point_of_interest_type", "pos_rule_test", "position_source_type", "potion", "recipe_book_category", "recipe_display", "recipe_serializer", "recipe_type", "rule_block_entity_modifier", "rule_test", "schedule", "sensor_type", "slot_display", "slot_source_type", "sound_event", "spawn_condition_type", "stat_type", "test_environment_definition_type", "test_function", "test_instance_type", "trigger_type", "ticket_type", "villager_profession", "villager_type", "worldgen/biome_source", "worldgen/block_placer_type", "worldgen/block_state_provider_type", "worldgen/carver", "worldgen/chunk_generator", "worldgen/decorator", "worldgen/density_function_type", "worldgen/feature", "worldgen/feature_size_type", "worldgen/foliage_placer_type", "worldgen/material_condition", "worldgen/material_rule", "worldgen/placement_modifier_type", "worldgen/pool_alias_binding", "worldgen/root_placer_type", "worldgen/structure_feature", "worldgen/structure_piece", "worldgen/structure_placement", "worldgen/structure_pool_element", "worldgen/structure_processor", "worldgen/structure_type", "worldgen/surface_builder", "worldgen/tree_decorator_type", "worldgen/trunk_placer_type"];
|
|
37
37
|
export type ResourceLocationCategory = (typeof ResourceLocationCategories)[number];
|
|
38
38
|
export declare namespace ResourceLocationCategory {
|
|
39
39
|
function is(category: string): category is ResourceLocationCategory;
|