diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f956aff --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Build", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}\\script\\build.js", + "outFiles": [ + "${workspaceFolder}/**/*.js" + ] + }, + { + "type": "node", + "request": "launch", + "name": "Update", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}\\script\\update.js", + "outFiles": [ + "${workspaceFolder}/**/*.js" + ] + } + ] +} \ No newline at end of file diff --git a/script/build.js b/script/build.js index 45ca71f..909f1d6 100644 --- a/script/build.js +++ b/script/build.js @@ -3,7 +3,7 @@ const { Project } = require('ts-morph'); const { createRequire } = require('module'); const { resolve: resolvePath, relative: relativePath } = require('path'); const { existsSync, readFileSync, readdirSync, mkdirSync, writeFileSync } = require('fs'); -const { split } = require('./split'); +const { split, replacePieces } = require('./split'); const { execSync } = require('child_process'); const basePath = resolvePath(__dirname, '..'); @@ -177,18 +177,7 @@ async function build(translated) { console.time('[translate] Total'); sourceFiles.forEach((sourceFile) => { const pieces = split(sourceFile); - let sourceFileText = sourceFile.getFullText(); - let writtenCount = 0; - pieces.sort((a, b) => b.start - a.start); - pieces.forEach((piece) => { - if (!existsSync(piece.path)) return; - const text = readFileSync(piece.path, 'utf-8'); - sourceFileText = `${sourceFileText.slice(0, piece.start)}${text}${sourceFileText.slice(piece.end)}`; - writtenCount++; - }); - if (writtenCount > 0) { - sourceFile.replaceWithText(sourceFileText); - } + replacePieces(sourceFile, pieces); }); await runHooks('afterTranslate', { project, sourceFiles, dependencies }); console.timeEnd('[translate] Total'); diff --git a/script/split.js b/script/split.js index 08c58aa..cecf049 100644 --- a/script/split.js +++ b/script/split.js @@ -1,5 +1,7 @@ -const { SyntaxKind } = require('ts-morph'); -const { resolve: resolvePath, relative: relativePath } = require('path'); +const { SyntaxKind, ts } = require('ts-morph'); +const { resolve: resolvePath, relative: relativePath, sep: pathSep } = require('path'); +const { sep: pathSepPosix } = require('path/posix'); +const { mkdirSync, writeFileSync, existsSync, readFileSync } = require('fs'); const basePath = resolvePath(__dirname, '..'); const translatingPath = resolvePath(basePath, 'translate-pieces'); @@ -22,15 +24,33 @@ const SyntaxKindToCategory = new Map([ [SyntaxKind.ExportDeclaration, 'types'] ]); -/** - * @param {SourceFile} sourceFile - */ -function split(sourceFile) { - const pieceDirectory = resolvePath( +function getSourceFilePieceDirectory(sourceFile) { + return resolvePath( translatingPath, relativePath(translatedPath, sourceFile.getDirectoryPath()), sourceFile.getBaseNameWithoutExtension() ); +} + +function asRelativeModulePath(from, to) { + const relativePathPlatform = relativePath(from, to); + let relativePathPosix = relativePathPlatform.replaceAll(pathSep, pathSepPosix); + if (!relativePathPosix.startsWith('.')) { + relativePathPosix = `.${pathSepPosix}${relativePathPosix}`; + } + relativePathPosix = relativePathPosix.replace(/(?:\.d)?\.ts$/, ''); + return relativePathPosix; +} + +const ImportPrompt = '/* IMPORT */'; +const ExportPrompt = '/* EXPORT */'; + +/** + * @param {import('ts-morph').SourceFile} sourceFile + */ +function split(sourceFile) { + const pieceDirectory = getSourceFilePieceDirectory(sourceFile); + const pieceExports = []; const piecePathList = []; const pieces = []; const packageDocumentationJSDoc = sourceFile @@ -43,12 +63,17 @@ function split(sourceFile) { path: resolvePath(pieceDirectory, `package.d.ts`) }); } + const sourceScopeSymbols = new Set( + sourceFile.getSymbolsInScope(ts.SymbolFlags.ModuleMember).map((e) => e.getExportSymbol() || e) + ); sourceFile.forEachChild((node) => { if (SkippedTopLevelSyntaxKinds.includes(node.getKind())) return; - const includedSymbols = node + /** @type {import('ts-morph').Symbol[]} */ + let includedSymbols = node .getDescendants() .map((e) => e.getSymbol()) - .filter((e) => e); + .filter((e) => e !== undefined); + const scopedSymbols = includedSymbols.filter((e) => sourceScopeSymbols.has(e)); let symbol = node.getSymbol(); if (!symbol) { symbol = includedSymbols[0]; @@ -76,13 +101,124 @@ function split(sourceFile) { if (jsdocList.length > 0) { pieceStart = jsdocList.pop().getStart(); } + + const importSymbols = [...new Set(scopedSymbols)] + .map((symbol) => { + return symbol + .getDeclarations() + .filter((decl) => { + const declSourceFile = decl.getSourceFile(); + if (declSourceFile.getFilePath() === sourceFile.getFilePath()) { + if (decl.getStart() >= pieceStart && decl.getEnd() <= node.getEnd()) { + return false; + } + } + return resolvePath(declSourceFile.getFilePath()).startsWith(translatedPath); + }) + .map((decl) => ({ + fromName: decl.getSymbolOrThrow().getName(), + toName: symbol.getName(), + sourceFile: resolvePath(getSourceFilePieceDirectory(decl.getSourceFile()), 'index.d.ts') + }))[0]; + }) + .filter((e) => e !== undefined); + importSymbols.sort((a, b) => (a.toName > b.toName ? 1 : a.toName < b.toName ? -1 : 0)); + const exportedSymbol = node.hasExportKeyword?.() ? null : symbol.getName(); + + const importGroupedByFile = {}; + importSymbols.forEach((e) => { + let group = importGroupedByFile[e.sourceFile]; + if (!group) { + importGroupedByFile[e.sourceFile] = group = []; + } + group.push(e.fromName === e.toName ? e.toName : `${e.fromName} as ${e.toName}`); + }); + + const piecePathParent = resolvePath(piecePath, '..'); + const importStatements = Object.entries(importGroupedByFile).map(([fileName, imports]) => { + const fileNameRelative = asRelativeModulePath(piecePathParent, fileName); + return `import { ${imports.join(', ')} } from '${fileNameRelative}';`; + }); + + pieceExports.push([symbol.getName(), piecePath]); pieces.push({ start: pieceStart, end: node.getEnd(), - path: piecePath + path: piecePath, + imports: importStatements.map((e) => `${ImportPrompt} ${e}`).join('\n'), + exports: exportedSymbol ? `${ExportPrompt} export { ${exportedSymbol} };` : '' }); }); + + const sourceIndexPieceFile = resolvePath(pieceDirectory, 'index.d.ts'); + const sourceImportDeclarations = sourceFile.getImportDeclarations(); + const indexImportStatements = []; + const indexExportStatements = []; + sourceImportDeclarations.forEach((e) => { + const importModulePathRelative = asRelativeModulePath( + pieceDirectory, + e.getModuleSpecifierSourceFileOrThrow().getFilePath() + ); + const importClause = e.getImportClause(); + const importedIdentifiers = []; + const namespaceImport = importClause.getNamespaceImport(); + if (namespaceImport) { + importedIdentifiers.push(namespaceImport); + } else { + importClause.getNamedImports().forEach((spec) => { + importedIdentifiers.push(spec.getAliasNode() || spec.getNameNode()); + }); + } + const importedIdentifierNames = importedIdentifiers.map((e) => e.getText()); + indexImportStatements.push(`import ${importClause.getFullText()} from '${importModulePathRelative}';`); + indexExportStatements.push(`export { ${importedIdentifierNames.join(', ')} };`); + }); + pieceExports.forEach(([symbolName, piecePath]) => { + const piecePathRelative = asRelativeModulePath(pieceDirectory, piecePath); + indexExportStatements.push(`export { ${symbolName} } from '${piecePathRelative}';`); + }); + const sourceIndexPiece = { + generated: true, + path: sourceIndexPieceFile, + content: [...indexImportStatements, ...indexExportStatements].join('\n') + }; + pieces.sort((a, b) => b.start - a.start); + pieces.unshift(sourceIndexPiece); return pieces; } -module.exports = { split }; +function writePiece(sourceFile, piece) { + mkdirSync(resolvePath(piece.path, '..'), { recursive: true }); + if (piece.generated) { + writeFileSync(piece.path, piece.content); + } else { + let pieceContent = sourceFile.getFullText().slice(piece.start, piece.end); + if (piece.imports) { + pieceContent = `${piece.imports}\n\n${pieceContent}`; + } + if (piece.exports) { + pieceContent = `${pieceContent}\n\n${piece.exports}`; + } + writeFileSync(piece.path, pieceContent); + } +} + +function replacePieces(sourceFile, pieces) { + let sourceFileText = sourceFile.getFullText(); + let writtenCount = 0; + pieces.forEach((piece) => { + if (piece.generated || !existsSync(piece.path)) return; + const text = readFileSync(piece.path, 'utf-8') + .split('\n') + .filter((e) => !e.startsWith(ImportPrompt) && !e.startsWith(ExportPrompt)) + .join('\n') + .trim(); + sourceFileText = `${sourceFileText.slice(0, piece.start)}${text}${sourceFileText.slice(piece.end)}`; + writtenCount++; + }); + if (writtenCount > 0) { + sourceFile.replaceWithText(sourceFileText); + } +} + +module.exports = { split, writePiece, replacePieces }; diff --git a/script/update.js b/script/update.js index f944eb5..c7886f4 100644 --- a/script/update.js +++ b/script/update.js @@ -1,8 +1,8 @@ const { execSync } = require('child_process'); -const { readFileSync, writeFileSync, rmSync, mkdirSync, existsSync } = require('fs'); +const { readFileSync, writeFileSync, rmSync, existsSync } = require('fs'); const { resolve: resolvePath } = require('path'); const { build } = require('./build.js'); -const { split } = require('./split.js'); +const { split, writePiece } = require('./split.js'); const basePath = resolvePath(__dirname, '..'); const originalPath = resolvePath(basePath, 'original'); @@ -52,11 +52,7 @@ async function main() { rmSync(translatingPath, { recursive: true, force: true }); sourceFiles.forEach((sourceFile) => { const pieces = split(sourceFile); - const sourceFileText = sourceFile.getFullText(); - pieces.forEach((piece) => { - mkdirSync(resolvePath(piece.path, '..'), { recursive: true }); - writeFileSync(piece.path, sourceFileText.slice(piece.start, piece.end)); - }); + pieces.forEach((piece) => writePiece(sourceFile, piece)); }); // 生成 README.md diff --git a/translate-pieces/common/index.d.ts b/translate-pieces/common/index.d.ts new file mode 100644 index 0000000..d0ce3a3 --- /dev/null +++ b/translate-pieces/common/index.d.ts @@ -0,0 +1,4 @@ +export { NumberRange } from './interfaces/NumberRange'; +export { ArgumentOutOfBoundsError } from './classes/ArgumentOutOfBoundsError'; +export { EngineError } from './classes/EngineError'; +export { InvalidArgumentError } from './classes/InvalidArgumentError'; \ No newline at end of file diff --git a/translate-pieces/server-admin/classes/ServerSecrets.d.ts b/translate-pieces/server-admin/classes/ServerSecrets.d.ts index b8aa710..b93645f 100644 --- a/translate-pieces/server-admin/classes/ServerSecrets.d.ts +++ b/translate-pieces/server-admin/classes/ServerSecrets.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { SecretString } from '../index'; + /** * A collection of server secrets defined in dedicated server * configuration. diff --git a/translate-pieces/server-admin/index.d.ts b/translate-pieces/server-admin/index.d.ts new file mode 100644 index 0000000..001ac7f --- /dev/null +++ b/translate-pieces/server-admin/index.d.ts @@ -0,0 +1,7 @@ +import * as minecraftcommon from '../../translated/common'; +export { minecraftcommon }; +export { SecretString } from './classes/SecretString'; +export { ServerSecrets } from './classes/ServerSecrets'; +export { ServerVariables } from './classes/ServerVariables'; +export { secrets } from './variables/secrets'; +export { variables } from './variables/variables'; \ No newline at end of file diff --git a/translate-pieces/server-admin/variables/secrets.d.ts b/translate-pieces/server-admin/variables/secrets.d.ts index 8e28650..62f893b 100644 --- a/translate-pieces/server-admin/variables/secrets.d.ts +++ b/translate-pieces/server-admin/variables/secrets.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ServerSecrets } from '../index'; + /** * @remarks * A globally available object that returns a list of diff --git a/translate-pieces/server-admin/variables/variables.d.ts b/translate-pieces/server-admin/variables/variables.d.ts index 0c70987..27e3004 100644 --- a/translate-pieces/server-admin/variables/variables.d.ts +++ b/translate-pieces/server-admin/variables/variables.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ServerVariables } from '../index'; + /** * @remarks * A globally available object that returns a list of diff --git a/translate-pieces/server-editor/classes/BedrockEventSubscriptionCache.d.ts b/translate-pieces/server-editor/classes/BedrockEventSubscriptionCache.d.ts index f72dfbe..2767de4 100644 --- a/translate-pieces/server-editor/classes/BedrockEventSubscriptionCache.d.ts +++ b/translate-pieces/server-editor/classes/BedrockEventSubscriptionCache.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + /** * A cache for bedrock event subscriptions. Stores off a * subscription by event key, and upon teardown unregisters all diff --git a/translate-pieces/server-editor/classes/ClipboardItem.d.ts b/translate-pieces/server-editor/classes/ClipboardItem.d.ts index a8a0830..e7ff219 100644 --- a/translate-pieces/server-editor/classes/ClipboardItem.d.ts +++ b/translate-pieces/server-editor/classes/ClipboardItem.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ClipboardWriteOptions, Selection, minecraftserver } from '../index'; + /** * A ClipboardItem is a handle to an object which represents a * set of blocks in a contained bounding area (most likely diff --git a/translate-pieces/server-editor/classes/ClipboardManager.d.ts b/translate-pieces/server-editor/classes/ClipboardManager.d.ts index d5c8c6c..b463ca3 100644 --- a/translate-pieces/server-editor/classes/ClipboardManager.d.ts +++ b/translate-pieces/server-editor/classes/ClipboardManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ClipboardItem } from '../index'; + /** * The ClipboardManager (accessible from the {@link * ExtensionContext}) is responsible for the management of all diff --git a/translate-pieces/server-editor/classes/Cursor.d.ts b/translate-pieces/server-editor/classes/Cursor.d.ts index 03d1b8a..699d2f9 100644 --- a/translate-pieces/server-editor/classes/Cursor.d.ts +++ b/translate-pieces/server-editor/classes/Cursor.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CursorProperties, minecraftserver } from '../index'; + /** * The 3D block cursor is controlled through this read only * object and provides the Editor some control over the input diff --git a/translate-pieces/server-editor/classes/Extension.d.ts b/translate-pieces/server-editor/classes/Extension.d.ts index 937a9c2..d13ebf9 100644 --- a/translate-pieces/server-editor/classes/Extension.d.ts +++ b/translate-pieces/server-editor/classes/Extension.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ExtensionContext, registerEditorExtension } from '../index'; + /** * Editor Extensions are the basis for all player specific, * editor specific functionality within the game. Almost all diff --git a/translate-pieces/server-editor/classes/ExtensionContext.d.ts b/translate-pieces/server-editor/classes/ExtensionContext.d.ts index af23607..5def70c 100644 --- a/translate-pieces/server-editor/classes/ExtensionContext.d.ts +++ b/translate-pieces/server-editor/classes/ExtensionContext.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ClipboardManager, Cursor, ExtensionContextAfterEvents, PlaytestManager, SelectionManager, SettingsManager, TransactionManager, minecraftserver } from '../index'; + /** * The extension context is a native (C++) object created for * each registered Editor Extension, when a player connection diff --git a/translate-pieces/server-editor/classes/ExtensionContextAfterEvents.d.ts b/translate-pieces/server-editor/classes/ExtensionContextAfterEvents.d.ts index 52fb3e3..6acaff5 100644 --- a/translate-pieces/server-editor/classes/ExtensionContextAfterEvents.d.ts +++ b/translate-pieces/server-editor/classes/ExtensionContextAfterEvents.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ModeChangeAfterEventSignal } from '../index'; + /** * Contains a set of events that are available across the scope * of the ExtensionContext. diff --git a/translate-pieces/server-editor/classes/GraphicsSettings.d.ts b/translate-pieces/server-editor/classes/GraphicsSettings.d.ts index 0d5931c..fd09d50 100644 --- a/translate-pieces/server-editor/classes/GraphicsSettings.d.ts +++ b/translate-pieces/server-editor/classes/GraphicsSettings.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { GraphicsSettingsPropertyTypeMap } from '../index'; + /** * Settings category that manages {@link * GraphicsSettingsProperty} configurations. diff --git a/translate-pieces/server-editor/classes/Logger.d.ts b/translate-pieces/server-editor/classes/Logger.d.ts index c59dd2e..fba2351 100644 --- a/translate-pieces/server-editor/classes/Logger.d.ts +++ b/translate-pieces/server-editor/classes/Logger.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { LogProperties } from '../index'; + /** * The logger class is a utility class which allows editor * extensions to communicate with the player from the server to diff --git a/translate-pieces/server-editor/classes/MinecraftEditor.d.ts b/translate-pieces/server-editor/classes/MinecraftEditor.d.ts index 1271688..80ecdf4 100644 --- a/translate-pieces/server-editor/classes/MinecraftEditor.d.ts +++ b/translate-pieces/server-editor/classes/MinecraftEditor.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Extension, ExtensionContext, ExtensionOptionalParameters, Logger, SimulationState } from '../index'; + /** * The MinecraftEditor class is a namespace container for * Editor functionality which does not have any player context. diff --git a/translate-pieces/server-editor/classes/ModeChangeAfterEvent.d.ts b/translate-pieces/server-editor/classes/ModeChangeAfterEvent.d.ts index d5cb146..f8686ef 100644 --- a/translate-pieces/server-editor/classes/ModeChangeAfterEvent.d.ts +++ b/translate-pieces/server-editor/classes/ModeChangeAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EditorMode } from '../index'; + /** * Contains information related to changes in player editor * mode. diff --git a/translate-pieces/server-editor/classes/ModeChangeAfterEventSignal.d.ts b/translate-pieces/server-editor/classes/ModeChangeAfterEventSignal.d.ts index 21ef1f2..c3bdf9a 100644 --- a/translate-pieces/server-editor/classes/ModeChangeAfterEventSignal.d.ts +++ b/translate-pieces/server-editor/classes/ModeChangeAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ModeChangeAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a player editor * mode changes. diff --git a/translate-pieces/server-editor/classes/PlaytestManager.d.ts b/translate-pieces/server-editor/classes/PlaytestManager.d.ts index 2d82fa4..e3446d1 100644 --- a/translate-pieces/server-editor/classes/PlaytestManager.d.ts +++ b/translate-pieces/server-editor/classes/PlaytestManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlaytestGameOptions, PlaytestSessionResult } from '../index'; + export class PlaytestManager { private constructor(); /** diff --git a/translate-pieces/server-editor/classes/Selection.d.ts b/translate-pieces/server-editor/classes/Selection.d.ts index 38f8638..ce6a1db 100644 --- a/translate-pieces/server-editor/classes/Selection.d.ts +++ b/translate-pieces/server-editor/classes/Selection.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + /** * The Selection represents a volume in space, which may * potentially be made up of one or more block locations. diff --git a/translate-pieces/server-editor/classes/SelectionManager.d.ts b/translate-pieces/server-editor/classes/SelectionManager.d.ts index ddbf7b1..33461fe 100644 --- a/translate-pieces/server-editor/classes/SelectionManager.d.ts +++ b/translate-pieces/server-editor/classes/SelectionManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Selection } from '../index'; + /** * The SelectionManager (accessible from the {@link * ExtensionContext}) is responsible for the management of all diff --git a/translate-pieces/server-editor/classes/SettingsManager.d.ts b/translate-pieces/server-editor/classes/SettingsManager.d.ts index 015d760..05296d8 100644 --- a/translate-pieces/server-editor/classes/SettingsManager.d.ts +++ b/translate-pieces/server-editor/classes/SettingsManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { GraphicsSettings } from '../index'; + /** * The SettingsManager (accessible from the {@link * ExtensionContext}) is responsible for the management all diff --git a/translate-pieces/server-editor/classes/TransactionManager.d.ts b/translate-pieces/server-editor/classes/TransactionManager.d.ts index bb4725b..7acce12 100644 --- a/translate-pieces/server-editor/classes/TransactionManager.d.ts +++ b/translate-pieces/server-editor/classes/TransactionManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Selection, minecraftserver } from '../index'; + /** * The Transaction Manager is responsible for tracking and * managing all of the registered transaction operations which diff --git a/translate-pieces/server-editor/functions/bindDataSource.d.ts b/translate-pieces/server-editor/functions/bindDataSource.d.ts index 189ec0e..cf4efbb 100644 --- a/translate-pieces/server-editor/functions/bindDataSource.d.ts +++ b/translate-pieces/server-editor/functions/bindDataSource.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyPane, PropertyBag } from '../index'; + /** * @remarks * Takes the input object (a property bag of values) and bind diff --git a/translate-pieces/server-editor/functions/executeLargeOperation.d.ts b/translate-pieces/server-editor/functions/executeLargeOperation.d.ts index e637fa5..becddef 100644 --- a/translate-pieces/server-editor/functions/executeLargeOperation.d.ts +++ b/translate-pieces/server-editor/functions/executeLargeOperation.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Selection, minecraftserver } from '../index'; + /** * @remarks * Executes an operation over a selection via chunks to allow diff --git a/translate-pieces/server-editor/functions/registerEditorExtension.d.ts b/translate-pieces/server-editor/functions/registerEditorExtension.d.ts index a142239..c919e6d 100644 --- a/translate-pieces/server-editor/functions/registerEditorExtension.d.ts +++ b/translate-pieces/server-editor/functions/registerEditorExtension.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ActivationFunctionType, Extension, IRegisterExtensionOptionalParameters, ShutdownFunctionType } from '../index'; + /** * @remarks * Registers an editor extension into Minecraft. This function diff --git a/translate-pieces/server-editor/index.d.ts b/translate-pieces/server-editor/index.d.ts new file mode 100644 index 0000000..3a2a7b4 --- /dev/null +++ b/translate-pieces/server-editor/index.d.ts @@ -0,0 +1,98 @@ +import * as minecraftcommon from '../../translated/common'; +import * as minecraftserver from '../../translated/server'; +export { minecraftcommon }; +export { minecraftserver }; +export { ActionTypes } from './enums/ActionTypes'; +export { ClipboardMirrorAxis } from './enums/ClipboardMirrorAxis'; +export { ClipboardRotation } from './enums/ClipboardRotation'; +export { CursorControlMode } from './enums/CursorControlMode'; +export { CursorTargetMode } from './enums/CursorTargetMode'; +export { EDITOR_PANE_PROPERTY_ITEM_TYPE } from './enums/EDITOR_PANE_PROPERTY_ITEM_TYPE'; +export { EditorInputContext } from './enums/EditorInputContext'; +export { EditorMode } from './enums/EditorMode'; +export { EditorStatusBarAlignment } from './enums/EditorStatusBarAlignment'; +export { GraphicsSettingsProperty } from './enums/GraphicsSettingsProperty'; +export { InputModifier } from './enums/InputModifier'; +export { KeyboardKey } from './enums/KeyboardKey'; +export { KeyInputType } from './enums/KeyInputType'; +export { MouseActionCategory } from './enums/MouseActionCategory'; +export { MouseActionType } from './enums/MouseActionType'; +export { MouseInputType } from './enums/MouseInputType'; +export { PlaytestSessionResult } from './enums/PlaytestSessionResult'; +export { GraphicsSettingsPropertyTypeMap } from './types/GraphicsSettingsPropertyTypeMap'; +export { Action } from './types/Action'; +export { ActionID } from './types/ActionID'; +export { ActivationFunctionType } from './types/ActivationFunctionType'; +export { ButtonVariant } from './types/ButtonVariant'; +export { EventHandler } from './types/EventHandler'; +export { IActionPropertyItem } from './types/IActionPropertyItem'; +export { IPlayerUISession } from './types/IPlayerUISession'; +export { IVector3PropertyItem } from './types/IVector3PropertyItem'; +export { ModalToolLifecycleEventPayload } from './types/ModalToolLifecycleEventPayload'; +export { MouseModifiers } from './types/MouseModifiers'; +export { MouseProps } from './types/MouseProps'; +export { MouseRayCastAction } from './types/MouseRayCastAction'; +export { NoArgsAction } from './types/NoArgsAction'; +export { OnChangeCallback } from './types/OnChangeCallback'; +export { PropertyBag } from './types/PropertyBag'; +export { PropertyPaneVisibilityUpdate } from './types/PropertyPaneVisibilityUpdate'; +export { Ray } from './types/Ray'; +export { RegisteredAction } from './types/RegisteredAction'; +export { ShutdownFunctionType } from './types/ShutdownFunctionType'; +export { SupportedKeyboardActionTypes } from './types/SupportedKeyboardActionTypes'; +export { SupportedMouseActionTypes } from './types/SupportedMouseActionTypes'; +export { UnregisterInputBindingCallback } from './types/UnregisterInputBindingCallback'; +export { BedrockEventSubscriptionCache } from './classes/BedrockEventSubscriptionCache'; +export { ClipboardItem } from './classes/ClipboardItem'; +export { ClipboardManager } from './classes/ClipboardManager'; +export { Cursor } from './classes/Cursor'; +export { Extension } from './classes/Extension'; +export { ExtensionContext } from './classes/ExtensionContext'; +export { ExtensionContextAfterEvents } from './classes/ExtensionContextAfterEvents'; +export { GraphicsSettings } from './classes/GraphicsSettings'; +export { Logger } from './classes/Logger'; +export { MinecraftEditor } from './classes/MinecraftEditor'; +export { ModeChangeAfterEvent } from './classes/ModeChangeAfterEvent'; +export { ModeChangeAfterEventSignal } from './classes/ModeChangeAfterEventSignal'; +export { PlaytestManager } from './classes/PlaytestManager'; +export { Selection } from './classes/Selection'; +export { SelectionManager } from './classes/SelectionManager'; +export { SettingsManager } from './classes/SettingsManager'; +export { SimulationState } from './classes/SimulationState'; +export { TransactionManager } from './classes/TransactionManager'; +export { ClipboardWriteOptions } from './interfaces/ClipboardWriteOptions'; +export { CursorProperties } from './interfaces/CursorProperties'; +export { ExtensionOptionalParameters } from './interfaces/ExtensionOptionalParameters'; +export { LogProperties } from './interfaces/LogProperties'; +export { PlaytestGameOptions } from './interfaces/PlaytestGameOptions'; +export { ActionManager } from './interfaces/ActionManager'; +export { BuiltInUIManager } from './interfaces/BuiltInUIManager'; +export { EventSink } from './interfaces/EventSink'; +export { IDisposable } from './interfaces/IDisposable'; +export { IDropdownItem } from './interfaces/IDropdownItem'; +export { IEventToken } from './interfaces/IEventToken'; +export { IGlobalInputManager } from './interfaces/IGlobalInputManager'; +export { IMenu } from './interfaces/IMenu'; +export { IMenuCreationParams } from './interfaces/IMenuCreationParams'; +export { IModalTool } from './interfaces/IModalTool'; +export { IModalToolContainer } from './interfaces/IModalToolContainer'; +export { IPlayerLogger } from './interfaces/IPlayerLogger'; +export { IPropertyItem } from './interfaces/IPropertyItem'; +export { IPropertyItemOptions } from './interfaces/IPropertyItemOptions'; +export { IPropertyItemOptionsBlocks } from './interfaces/IPropertyItemOptionsBlocks'; +export { IPropertyItemOptionsButton } from './interfaces/IPropertyItemOptionsButton'; +export { IPropertyItemOptionsDropdown } from './interfaces/IPropertyItemOptionsDropdown'; +export { IPropertyItemOptionsNumber } from './interfaces/IPropertyItemOptionsNumber'; +export { IPropertyItemOptionsSubPane } from './interfaces/IPropertyItemOptionsSubPane'; +export { IPropertyItemOptionsVector3 } from './interfaces/IPropertyItemOptionsVector3'; +export { IPropertyPane } from './interfaces/IPropertyPane'; +export { IPropertyPaneOptions } from './interfaces/IPropertyPaneOptions'; +export { IRegisterExtensionOptionalParameters } from './interfaces/IRegisterExtensionOptionalParameters'; +export { IStatusBarItem } from './interfaces/IStatusBarItem'; +export { ModalToolCreationParameters } from './interfaces/ModalToolCreationParameters'; +export { bindDataSource } from './functions/bindDataSource'; +export { executeLargeOperation } from './functions/executeLargeOperation'; +export { getBlockPickerDefaultAllowBlockList } from './functions/getBlockPickerDefaultAllowBlockList'; +export { getLocalizationId } from './functions/getLocalizationId'; +export { registerEditorExtension } from './functions/registerEditorExtension'; +export { editor } from './variables/editor'; \ No newline at end of file diff --git a/translate-pieces/server-editor/interfaces/ActionManager.d.ts b/translate-pieces/server-editor/interfaces/ActionManager.d.ts index 94c8339..008144a 100644 --- a/translate-pieces/server-editor/interfaces/ActionManager.d.ts +++ b/translate-pieces/server-editor/interfaces/ActionManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Action, RegisteredAction } from '../index'; + /** * Binds actions to the client and manages their lifetime. * Action managers are managed on a per player basis since diff --git a/translate-pieces/server-editor/interfaces/ClipboardWriteOptions.d.ts b/translate-pieces/server-editor/interfaces/ClipboardWriteOptions.d.ts index fdacae0..9ba82ea 100644 --- a/translate-pieces/server-editor/interfaces/ClipboardWriteOptions.d.ts +++ b/translate-pieces/server-editor/interfaces/ClipboardWriteOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ClipboardMirrorAxis, ClipboardRotation, minecraftserver } from '../index'; + /** * Interface used to specify the options when a clipboard item * is being written to the world diff --git a/translate-pieces/server-editor/interfaces/CursorProperties.d.ts b/translate-pieces/server-editor/interfaces/CursorProperties.d.ts index 33e7a41..7a6e458 100644 --- a/translate-pieces/server-editor/interfaces/CursorProperties.d.ts +++ b/translate-pieces/server-editor/interfaces/CursorProperties.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CursorControlMode, CursorTargetMode, minecraftserver } from '../index'; + /** * The CursorProperties interface is used to describe the * properties of the Editor 3D block cursor construct. diff --git a/translate-pieces/server-editor/interfaces/EventSink.d.ts b/translate-pieces/server-editor/interfaces/EventSink.d.ts index 9d050ba..a4f234d 100644 --- a/translate-pieces/server-editor/interfaces/EventSink.d.ts +++ b/translate-pieces/server-editor/interfaces/EventSink.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EventHandler, IEventToken } from '../index'; + /** * An event that can be subscribed to. You can use the token, * returned from the subscribe method, to clean up handlers. diff --git a/translate-pieces/server-editor/interfaces/IGlobalInputManager.d.ts b/translate-pieces/server-editor/interfaces/IGlobalInputManager.d.ts index 7955f64..0df2768 100644 --- a/translate-pieces/server-editor/interfaces/IGlobalInputManager.d.ts +++ b/translate-pieces/server-editor/interfaces/IGlobalInputManager.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EditorInputContext, InputModifier, KeyboardKey, SupportedKeyboardActionTypes } from '../index'; + export interface IGlobalInputManager { registerKeyBinding( inputContextId: EditorInputContext, diff --git a/translate-pieces/server-editor/interfaces/IMenu.d.ts b/translate-pieces/server-editor/interfaces/IMenu.d.ts index 5fac8a1..ea7749f 100644 --- a/translate-pieces/server-editor/interfaces/IMenu.d.ts +++ b/translate-pieces/server-editor/interfaces/IMenu.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IMenuCreationParams, NoArgsAction, RegisteredAction } from '../index'; + export interface IMenu { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IModalTool.d.ts b/translate-pieces/server-editor/interfaces/IModalTool.d.ts index b81c318..6fe890f 100644 --- a/translate-pieces/server-editor/interfaces/IModalTool.d.ts +++ b/translate-pieces/server-editor/interfaces/IModalTool.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EventSink, IPropertyPane, InputModifier, KeyboardKey, ModalToolLifecycleEventPayload, SupportedKeyboardActionTypes, SupportedMouseActionTypes } from '../index'; + export interface IModalTool { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IModalToolContainer.d.ts b/translate-pieces/server-editor/interfaces/IModalToolContainer.d.ts index 428d642..4877100 100644 --- a/translate-pieces/server-editor/interfaces/IModalToolContainer.d.ts +++ b/translate-pieces/server-editor/interfaces/IModalToolContainer.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IModalTool, ModalToolCreationParameters } from '../index'; + export interface IModalToolContainer { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItem.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItem.d.ts index 7fa7541..ee6ed51 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItem.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItem.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EDITOR_PANE_PROPERTY_ITEM_TYPE, PropertyBag } from '../index'; + export interface IPropertyItem { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptions.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptions.d.ts index 99188a9..136476e 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptions.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { OnChangeCallback, PropertyBag } from '../index'; + export interface IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsBlocks.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsBlocks.d.ts index 46d877e..5e0f19b 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsBlocks.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsBlocks.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyItemOptions } from '../index'; + export interface IPropertyItemOptionsBlocks extends IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsButton.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsButton.d.ts index 064a453..a6093d5 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsButton.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsButton.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ButtonVariant, IPropertyItemOptions } from '../index'; + export interface IPropertyItemOptionsButton extends IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsDropdown.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsDropdown.d.ts index c8efadb..18e698a 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsDropdown.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsDropdown.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IDropdownItem, IPropertyItemOptions } from '../index'; + export interface IPropertyItemOptionsDropdown extends IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsNumber.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsNumber.d.ts index 0e055f4..0b41a63 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsNumber.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsNumber.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyItemOptions } from '../index'; + export interface IPropertyItemOptionsNumber extends IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsSubPane.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsSubPane.d.ts index 3416aae..c2d2cdc 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsSubPane.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsSubPane.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyItemOptions, IPropertyPane } from '../index'; + export interface IPropertyItemOptionsSubPane extends IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsVector3.d.ts b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsVector3.d.ts index a46a1b2..326e80e 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyItemOptionsVector3.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyItemOptionsVector3.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyItemOptions } from '../index'; + export interface IPropertyItemOptionsVector3 extends IPropertyItemOptions { /** * @remarks diff --git a/translate-pieces/server-editor/interfaces/IPropertyPane.d.ts b/translate-pieces/server-editor/interfaces/IPropertyPane.d.ts index a0ec0b4..3c9ec1c 100644 --- a/translate-pieces/server-editor/interfaces/IPropertyPane.d.ts +++ b/translate-pieces/server-editor/interfaces/IPropertyPane.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EventSink, IActionPropertyItem, IPropertyItem, IPropertyItemOptions, IPropertyItemOptionsBlocks, IPropertyItemOptionsButton, IPropertyItemOptionsDropdown, IPropertyItemOptionsNumber, IPropertyItemOptionsVector3, IPropertyPaneOptions, IVector3PropertyItem, NoArgsAction, PropertyBag, PropertyPaneVisibilityUpdate, RegisteredAction } from '../index'; + /** * Property pane present dynamic content. It can be associated * with an object and presented with different kind of diff --git a/translate-pieces/server-editor/interfaces/LogProperties.d.ts b/translate-pieces/server-editor/interfaces/LogProperties.d.ts index b1e4b00..4e722c3 100644 --- a/translate-pieces/server-editor/interfaces/LogProperties.d.ts +++ b/translate-pieces/server-editor/interfaces/LogProperties.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + /** * A properties class for the global instance of the logger * object. diff --git a/translate-pieces/server-editor/interfaces/PlaytestGameOptions.d.ts b/translate-pieces/server-editor/interfaces/PlaytestGameOptions.d.ts index 37d1f3c..b24f007 100644 --- a/translate-pieces/server-editor/interfaces/PlaytestGameOptions.d.ts +++ b/translate-pieces/server-editor/interfaces/PlaytestGameOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + export interface PlaytestGameOptions { alwaysDay?: boolean; difficulty?: minecraftserver.Difficulty; diff --git a/translate-pieces/server-editor/types/Action.d.ts b/translate-pieces/server-editor/types/Action.d.ts index 61dae1c..47f3433 100644 --- a/translate-pieces/server-editor/types/Action.d.ts +++ b/translate-pieces/server-editor/types/Action.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { MouseRayCastAction, NoArgsAction } from '../index'; + /** * Full set of all possible raw actions */ diff --git a/translate-pieces/server-editor/types/ActivationFunctionType.d.ts b/translate-pieces/server-editor/types/ActivationFunctionType.d.ts index bc82149..f7549a5 100644 --- a/translate-pieces/server-editor/types/ActivationFunctionType.d.ts +++ b/translate-pieces/server-editor/types/ActivationFunctionType.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IDisposable, IPlayerUISession } from '../index'; + /** * Callback type when an extension instance is activated for a * given player. It is expected to return an array of diff --git a/translate-pieces/server-editor/types/GraphicsSettingsPropertyTypeMap.d.ts b/translate-pieces/server-editor/types/GraphicsSettingsPropertyTypeMap.d.ts index 583051a..708a339 100644 --- a/translate-pieces/server-editor/types/GraphicsSettingsPropertyTypeMap.d.ts +++ b/translate-pieces/server-editor/types/GraphicsSettingsPropertyTypeMap.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { GraphicsSettingsProperty } from '../index'; + /** * Defines type information for graphics settings properties. */ diff --git a/translate-pieces/server-editor/types/IActionPropertyItem.d.ts b/translate-pieces/server-editor/types/IActionPropertyItem.d.ts index 537b836..91c704a 100644 --- a/translate-pieces/server-editor/types/IActionPropertyItem.d.ts +++ b/translate-pieces/server-editor/types/IActionPropertyItem.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyItem, NoArgsAction, PropertyBag, RegisteredAction } from '../index'; + /** * A property item which supports bound actions and replacing * the bound action diff --git a/translate-pieces/server-editor/types/IPlayerUISession.d.ts b/translate-pieces/server-editor/types/IPlayerUISession.d.ts index 13a2ef1..b6be83d 100644 --- a/translate-pieces/server-editor/types/IPlayerUISession.d.ts +++ b/translate-pieces/server-editor/types/IPlayerUISession.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ActionManager, BedrockEventSubscriptionCache, BuiltInUIManager, EditorStatusBarAlignment, ExtensionContext, IGlobalInputManager, IMenu, IMenuCreationParams, IModalToolContainer, IPlayerLogger, IPropertyPane, IPropertyPaneOptions, IStatusBarItem } from '../index'; + /** * The IPlayerUISession represents the editor user interface * for a given player and given extension. Extensions diff --git a/translate-pieces/server-editor/types/IVector3PropertyItem.d.ts b/translate-pieces/server-editor/types/IVector3PropertyItem.d.ts index 7f29d69..1953bd7 100644 --- a/translate-pieces/server-editor/types/IVector3PropertyItem.d.ts +++ b/translate-pieces/server-editor/types/IVector3PropertyItem.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPropertyItem, PropertyBag } from '../index'; + /** * A property item which supports Vector3 properties */ diff --git a/translate-pieces/server-editor/types/MouseProps.d.ts b/translate-pieces/server-editor/types/MouseProps.d.ts index 6a2d541..c37f03c 100644 --- a/translate-pieces/server-editor/types/MouseProps.d.ts +++ b/translate-pieces/server-editor/types/MouseProps.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { MouseActionType, MouseInputType, MouseModifiers } from '../index'; + /** * Mouse properties that provide additional information from * client event handling diff --git a/translate-pieces/server-editor/types/MouseRayCastAction.d.ts b/translate-pieces/server-editor/types/MouseRayCastAction.d.ts index 6f2df5f..5fc926e 100644 --- a/translate-pieces/server-editor/types/MouseRayCastAction.d.ts +++ b/translate-pieces/server-editor/types/MouseRayCastAction.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ActionTypes, MouseProps, Ray } from '../index'; + /** * An action which returns the ray corresponding to a vector * from the users mouse click in the viewport. diff --git a/translate-pieces/server-editor/types/NoArgsAction.d.ts b/translate-pieces/server-editor/types/NoArgsAction.d.ts index f2ef409..f34458d 100644 --- a/translate-pieces/server-editor/types/NoArgsAction.d.ts +++ b/translate-pieces/server-editor/types/NoArgsAction.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ActionTypes } from '../index'; + /** * An action which needs no additional client side arguments on * execute diff --git a/translate-pieces/server-editor/types/OnChangeCallback.d.ts b/translate-pieces/server-editor/types/OnChangeCallback.d.ts index 8d015f7..bcde27d 100644 --- a/translate-pieces/server-editor/types/OnChangeCallback.d.ts +++ b/translate-pieces/server-editor/types/OnChangeCallback.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PropertyBag } from '../index'; + /** * Callback to execute when a value of a property item is * updated. diff --git a/translate-pieces/server-editor/types/Ray.d.ts b/translate-pieces/server-editor/types/Ray.d.ts index b5a9665..1356fe5 100644 --- a/translate-pieces/server-editor/types/Ray.d.ts +++ b/translate-pieces/server-editor/types/Ray.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + /** * Ray representing a direction from a set location. This * location typically corresponds to the location of a mouse diff --git a/translate-pieces/server-editor/types/RegisteredAction.d.ts b/translate-pieces/server-editor/types/RegisteredAction.d.ts index 4da8c29..84c9044 100644 --- a/translate-pieces/server-editor/types/RegisteredAction.d.ts +++ b/translate-pieces/server-editor/types/RegisteredAction.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Action, ActionID } from '../index'; + /** * A registered action is an action that has been registered * with the action manager system and has a unique ID diff --git a/translate-pieces/server-editor/types/ShutdownFunctionType.d.ts b/translate-pieces/server-editor/types/ShutdownFunctionType.d.ts index 0f0976d..f4d86e2 100644 --- a/translate-pieces/server-editor/types/ShutdownFunctionType.d.ts +++ b/translate-pieces/server-editor/types/ShutdownFunctionType.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPlayerUISession } from '../index'; + /** * Callback type when an extension instance is shutdown for a * given player. Used for performing any final work or clean up diff --git a/translate-pieces/server-editor/types/SupportedKeyboardActionTypes.d.ts b/translate-pieces/server-editor/types/SupportedKeyboardActionTypes.d.ts index 81a21e0..7f2955a 100644 --- a/translate-pieces/server-editor/types/SupportedKeyboardActionTypes.d.ts +++ b/translate-pieces/server-editor/types/SupportedKeyboardActionTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { NoArgsAction, RegisteredAction } from '../index'; + /** * Full set of all possible keyboard actions */ diff --git a/translate-pieces/server-editor/types/SupportedMouseActionTypes.d.ts b/translate-pieces/server-editor/types/SupportedMouseActionTypes.d.ts index a0d90a4..e95e07b 100644 --- a/translate-pieces/server-editor/types/SupportedMouseActionTypes.d.ts +++ b/translate-pieces/server-editor/types/SupportedMouseActionTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { MouseRayCastAction, RegisteredAction } from '../index'; + /** * Full set of all possible mouse actions */ diff --git a/translate-pieces/server-editor/variables/editor.d.ts b/translate-pieces/server-editor/variables/editor.d.ts index 16ea625..29d61dc 100644 --- a/translate-pieces/server-editor/variables/editor.d.ts +++ b/translate-pieces/server-editor/variables/editor.d.ts @@ -1 +1,3 @@ +/* IMPORT */ import { MinecraftEditor } from '../index'; + export const editor: MinecraftEditor; \ No newline at end of file diff --git a/translate-pieces/server-gametest/classes/GameTestError.d.ts b/translate-pieces/server-gametest/classes/GameTestError.d.ts index 493d45f..94e378b 100644 --- a/translate-pieces/server-gametest/classes/GameTestError.d.ts +++ b/translate-pieces/server-gametest/classes/GameTestError.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { GameTestErrorContext, GameTestErrorType } from '../index'; + export class GameTestError extends Error { private constructor(); context?: GameTestErrorContext; diff --git a/translate-pieces/server-gametest/classes/SculkSpreader.d.ts b/translate-pieces/server-gametest/classes/SculkSpreader.d.ts index b22a8fa..171d425 100644 --- a/translate-pieces/server-gametest/classes/SculkSpreader.d.ts +++ b/translate-pieces/server-gametest/classes/SculkSpreader.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + /** * Implements a class that can be used for testing sculk * spreading behaviors. This sculk spreader class can drive the diff --git a/translate-pieces/server-gametest/classes/SimulatedPlayer.d.ts b/translate-pieces/server-gametest/classes/SimulatedPlayer.d.ts index 1b2b112..5e07ff7 100644 --- a/translate-pieces/server-gametest/classes/SimulatedPlayer.d.ts +++ b/translate-pieces/server-gametest/classes/SimulatedPlayer.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + /** * A simulated player can be used within GameTests to represent * how a player moves throughout the world and to support diff --git a/translate-pieces/server-gametest/classes/Test.d.ts b/translate-pieces/server-gametest/classes/Test.d.ts index bc79373..e895c22 100644 --- a/translate-pieces/server-gametest/classes/Test.d.ts +++ b/translate-pieces/server-gametest/classes/Test.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FenceConnectivity, GameTestError, GameTestSequence, SculkSpreader, SimulatedPlayer, minecraftserver } from '../index'; + /** * Main class for GameTest functions, with helpers and data for * manipulating the respective test. Note that all methods of diff --git a/translate-pieces/server-gametest/functions/register.d.ts b/translate-pieces/server-gametest/functions/register.d.ts index 697f5e1..613f1ae 100644 --- a/translate-pieces/server-gametest/functions/register.d.ts +++ b/translate-pieces/server-gametest/functions/register.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RegistrationBuilder, Test } from '../index'; + /** * @remarks * Registers a new GameTest function. This GameTest will become diff --git a/translate-pieces/server-gametest/functions/registerAsync.d.ts b/translate-pieces/server-gametest/functions/registerAsync.d.ts index 60d1cf5..bfb97f1 100644 --- a/translate-pieces/server-gametest/functions/registerAsync.d.ts +++ b/translate-pieces/server-gametest/functions/registerAsync.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RegistrationBuilder, Test } from '../index'; + /** * @remarks * Registers a new GameTest function that is designed for diff --git a/translate-pieces/server-gametest/index.d.ts b/translate-pieces/server-gametest/index.d.ts new file mode 100644 index 0000000..0bf157f --- /dev/null +++ b/translate-pieces/server-gametest/index.d.ts @@ -0,0 +1,16 @@ +import * as minecraftcommon from '../../translated/common'; +import * as minecraftserver from '../../translated/server'; +export { minecraftcommon }; +export { minecraftserver }; +export { GameTestErrorType } from './enums/GameTestErrorType'; +export { FenceConnectivity } from './classes/FenceConnectivity'; +export { GameTestSequence } from './classes/GameTestSequence'; +export { RegistrationBuilder } from './classes/RegistrationBuilder'; +export { SculkSpreader } from './classes/SculkSpreader'; +export { SimulatedPlayer } from './classes/SimulatedPlayer'; +export { Tags } from './classes/Tags'; +export { Test } from './classes/Test'; +export { GameTestErrorContext } from './interfaces/GameTestErrorContext'; +export { GameTestError } from './classes/GameTestError'; +export { register } from './functions/register'; +export { registerAsync } from './functions/registerAsync'; \ No newline at end of file diff --git a/translate-pieces/server-gametest/interfaces/GameTestErrorContext.d.ts b/translate-pieces/server-gametest/interfaces/GameTestErrorContext.d.ts index b1d543e..25910f3 100644 --- a/translate-pieces/server-gametest/interfaces/GameTestErrorContext.d.ts +++ b/translate-pieces/server-gametest/interfaces/GameTestErrorContext.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserver } from '../index'; + export interface GameTestErrorContext { absolutePosition: minecraftserver.Vector3; relativePosition: minecraftserver.Vector3; diff --git a/translate-pieces/server-net/classes/HttpClient.d.ts b/translate-pieces/server-net/classes/HttpClient.d.ts index 82837df..3d4fed3 100644 --- a/translate-pieces/server-net/classes/HttpClient.d.ts +++ b/translate-pieces/server-net/classes/HttpClient.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { HttpRequest, HttpResponse } from '../index'; + export class HttpClient { private constructor(); /** diff --git a/translate-pieces/server-net/classes/HttpHeader.d.ts b/translate-pieces/server-net/classes/HttpHeader.d.ts index 84e5c8d..d9a3fb0 100644 --- a/translate-pieces/server-net/classes/HttpHeader.d.ts +++ b/translate-pieces/server-net/classes/HttpHeader.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { minecraftserveradmin } from '../index'; + /** * Represents an HTTP header - a key/value pair of * meta-information about a request. diff --git a/translate-pieces/server-net/classes/HttpRequest.d.ts b/translate-pieces/server-net/classes/HttpRequest.d.ts index caa6f69..b7b73f5 100644 --- a/translate-pieces/server-net/classes/HttpRequest.d.ts +++ b/translate-pieces/server-net/classes/HttpRequest.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { HttpHeader, HttpRequestMethod, minecraftserveradmin } from '../index'; + /** * Main object for structuring a request. */ diff --git a/translate-pieces/server-net/classes/HttpResponse.d.ts b/translate-pieces/server-net/classes/HttpResponse.d.ts index f86ab9f..bc05183 100644 --- a/translate-pieces/server-net/classes/HttpResponse.d.ts +++ b/translate-pieces/server-net/classes/HttpResponse.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { HttpHeader, HttpRequest } from '../index'; + /** * Main object that contains result information from a request. */ diff --git a/translate-pieces/server-net/index.d.ts b/translate-pieces/server-net/index.d.ts new file mode 100644 index 0000000..09bb685 --- /dev/null +++ b/translate-pieces/server-net/index.d.ts @@ -0,0 +1,10 @@ +import * as minecraftcommon from '../../translated/common'; +import * as minecraftserveradmin from '../../translated/server-admin'; +export { minecraftcommon }; +export { minecraftserveradmin }; +export { HttpRequestMethod } from './enums/HttpRequestMethod'; +export { HttpClient } from './classes/HttpClient'; +export { HttpHeader } from './classes/HttpHeader'; +export { HttpRequest } from './classes/HttpRequest'; +export { HttpResponse } from './classes/HttpResponse'; +export { http } from './variables/http'; \ No newline at end of file diff --git a/translate-pieces/server-net/variables/http.d.ts b/translate-pieces/server-net/variables/http.d.ts index 6fe482c..6e4ad10 100644 --- a/translate-pieces/server-net/variables/http.d.ts +++ b/translate-pieces/server-net/variables/http.d.ts @@ -1 +1,3 @@ +/* IMPORT */ import { HttpClient } from '../index'; + export const http: HttpClient; \ No newline at end of file diff --git a/translate-pieces/server-ui/classes/ActionFormData.d.ts b/translate-pieces/server-ui/classes/ActionFormData.d.ts index 393e3a0..e49a5e9 100644 --- a/translate-pieces/server-ui/classes/ActionFormData.d.ts +++ b/translate-pieces/server-ui/classes/ActionFormData.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ActionFormResponse, minecraftserver } from '../index'; + /** * Builds a simple player form with buttons that let the player * take action. diff --git a/translate-pieces/server-ui/classes/ActionFormResponse.d.ts b/translate-pieces/server-ui/classes/ActionFormResponse.d.ts index da02b59..4c54c0a 100644 --- a/translate-pieces/server-ui/classes/ActionFormResponse.d.ts +++ b/translate-pieces/server-ui/classes/ActionFormResponse.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FormResponse } from '../index'; + /** * Returns data about the player results from a modal action * form. diff --git a/translate-pieces/server-ui/classes/FormRejectError.d.ts b/translate-pieces/server-ui/classes/FormRejectError.d.ts index e28406c..4e311c8 100644 --- a/translate-pieces/server-ui/classes/FormRejectError.d.ts +++ b/translate-pieces/server-ui/classes/FormRejectError.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FormRejectReason } from '../index'; + export class FormRejectError extends Error { private constructor(); reason: FormRejectReason; diff --git a/translate-pieces/server-ui/classes/FormResponse.d.ts b/translate-pieces/server-ui/classes/FormResponse.d.ts index 4167220..8352ba0 100644 --- a/translate-pieces/server-ui/classes/FormResponse.d.ts +++ b/translate-pieces/server-ui/classes/FormResponse.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FormCancelationReason } from '../index'; + /** * Base type for a form response. */ diff --git a/translate-pieces/server-ui/classes/MessageFormData.d.ts b/translate-pieces/server-ui/classes/MessageFormData.d.ts index 0f34c88..3a7eeda 100644 --- a/translate-pieces/server-ui/classes/MessageFormData.d.ts +++ b/translate-pieces/server-ui/classes/MessageFormData.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { MessageFormResponse, minecraftserver } from '../index'; + /** * Builds a simple two-button modal dialog. */ diff --git a/translate-pieces/server-ui/classes/MessageFormResponse.d.ts b/translate-pieces/server-ui/classes/MessageFormResponse.d.ts index 5860579..fb87a16 100644 --- a/translate-pieces/server-ui/classes/MessageFormResponse.d.ts +++ b/translate-pieces/server-ui/classes/MessageFormResponse.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FormResponse } from '../index'; + /** * Returns data about the player results from a modal message * form. diff --git a/translate-pieces/server-ui/classes/ModalFormData.d.ts b/translate-pieces/server-ui/classes/ModalFormData.d.ts index cc3d70a..c0429a4 100644 --- a/translate-pieces/server-ui/classes/ModalFormData.d.ts +++ b/translate-pieces/server-ui/classes/ModalFormData.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ModalFormResponse, minecraftserver } from '../index'; + /** * Used to create a fully customizable pop-up form for a * player. diff --git a/translate-pieces/server-ui/classes/ModalFormResponse.d.ts b/translate-pieces/server-ui/classes/ModalFormResponse.d.ts index 17cd68d..9a96a66 100644 --- a/translate-pieces/server-ui/classes/ModalFormResponse.d.ts +++ b/translate-pieces/server-ui/classes/ModalFormResponse.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FormResponse } from '../index'; + /** * Returns data about player responses to a modal form. */ diff --git a/translate-pieces/server-ui/index.d.ts b/translate-pieces/server-ui/index.d.ts new file mode 100644 index 0000000..89b41c9 --- /dev/null +++ b/translate-pieces/server-ui/index.d.ts @@ -0,0 +1,14 @@ +import * as minecraftcommon from '../../translated/common'; +import * as minecraftserver from '../../translated/server'; +export { minecraftcommon }; +export { minecraftserver }; +export { FormCancelationReason } from './enums/FormCancelationReason'; +export { FormRejectReason } from './enums/FormRejectReason'; +export { ActionFormData } from './classes/ActionFormData'; +export { ActionFormResponse } from './classes/ActionFormResponse'; +export { FormResponse } from './classes/FormResponse'; +export { MessageFormData } from './classes/MessageFormData'; +export { MessageFormResponse } from './classes/MessageFormResponse'; +export { ModalFormData } from './classes/ModalFormData'; +export { ModalFormResponse } from './classes/ModalFormResponse'; +export { FormRejectError } from './classes/FormRejectError'; \ No newline at end of file diff --git a/translate-pieces/server/classes/Block.d.ts b/translate-pieces/server/classes/Block.d.ts index 04635e4..69b94bf 100644 --- a/translate-pieces/server/classes/Block.d.ts +++ b/translate-pieces/server/classes/Block.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockComponentTypeMap, BlockComponentTypes, BlockPermutation, BlockType, Dimension, Direction, ItemStack, LocationInUnloadedChunkError, LocationOutOfWorldBoundariesError, Vector3 } from '../index'; + /** * Represents a block in a dimension. A block represents a * unique X, Y, and Z within a dimension and get/sets the state diff --git a/translate-pieces/server/classes/BlockComponent.d.ts b/translate-pieces/server/classes/BlockComponent.d.ts index 53dd3bb..e6ea407 100644 --- a/translate-pieces/server/classes/BlockComponent.d.ts +++ b/translate-pieces/server/classes/BlockComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Component } from '../index'; + /** * Base type for components associated with blocks. */ diff --git a/translate-pieces/server/classes/BlockEvent.d.ts b/translate-pieces/server/classes/BlockEvent.d.ts index e525bc1..889ee28 100644 --- a/translate-pieces/server/classes/BlockEvent.d.ts +++ b/translate-pieces/server/classes/BlockEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Dimension } from '../index'; + /** * Contains information regarding an event that impacts a * specific block. diff --git a/translate-pieces/server/classes/BlockExplodeAfterEvent.d.ts b/translate-pieces/server/classes/BlockExplodeAfterEvent.d.ts index 3fc3834..4703ead 100644 --- a/translate-pieces/server/classes/BlockExplodeAfterEvent.d.ts +++ b/translate-pieces/server/classes/BlockExplodeAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, BlockPermutation, Entity } from '../index'; + /** * @beta * Contains information regarding an explosion that has diff --git a/translate-pieces/server/classes/BlockExplodeAfterEventSignal.d.ts b/translate-pieces/server/classes/BlockExplodeAfterEventSignal.d.ts index 8875655..52e38bb 100644 --- a/translate-pieces/server/classes/BlockExplodeAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/BlockExplodeAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockExplodeAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to when an explosion diff --git a/translate-pieces/server/classes/BlockInventoryComponent.d.ts b/translate-pieces/server/classes/BlockInventoryComponent.d.ts index 8a4afc9..8af8566 100644 --- a/translate-pieces/server/classes/BlockInventoryComponent.d.ts +++ b/translate-pieces/server/classes/BlockInventoryComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockComponent, Container, ItemStack } from '../index'; + /** * Represents the inventory of a block in the world. Used with * blocks like chests. diff --git a/translate-pieces/server/classes/BlockLavaContainerComponent.d.ts b/translate-pieces/server/classes/BlockLavaContainerComponent.d.ts index fc0d85a..a408912 100644 --- a/translate-pieces/server/classes/BlockLavaContainerComponent.d.ts +++ b/translate-pieces/server/classes/BlockLavaContainerComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockLiquidContainerComponent } from '../index'; + /** * @beta * Represents a fluid container block that currently contains diff --git a/translate-pieces/server/classes/BlockLiquidContainerComponent.d.ts b/translate-pieces/server/classes/BlockLiquidContainerComponent.d.ts index 3d7f1a8..680ed1b 100644 --- a/translate-pieces/server/classes/BlockLiquidContainerComponent.d.ts +++ b/translate-pieces/server/classes/BlockLiquidContainerComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockComponent } from '../index'; + /** * @beta * For blocks that can contain a liquid (e.g., a cauldron), diff --git a/translate-pieces/server/classes/BlockLocationIterator.d.ts b/translate-pieces/server/classes/BlockLocationIterator.d.ts index 29f6762..4c1f619 100644 --- a/translate-pieces/server/classes/BlockLocationIterator.d.ts +++ b/translate-pieces/server/classes/BlockLocationIterator.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * @beta * A BlockLocationIterator returns the next block location of diff --git a/translate-pieces/server/classes/BlockPermutation.d.ts b/translate-pieces/server/classes/BlockPermutation.d.ts index e8b8c45..dcce339 100644 --- a/translate-pieces/server/classes/BlockPermutation.d.ts +++ b/translate-pieces/server/classes/BlockPermutation.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockType, ItemStack } from '../index'; + /** * Contains the combination of type {@link BlockType} and * properties (also sometimes called block state) which diff --git a/translate-pieces/server/classes/BlockPistonComponent.d.ts b/translate-pieces/server/classes/BlockPistonComponent.d.ts index aec1261..36ad785 100644 --- a/translate-pieces/server/classes/BlockPistonComponent.d.ts +++ b/translate-pieces/server/classes/BlockPistonComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockComponent, Vector3 } from '../index'; + /** * @beta * When present, this block has piston-like behavior. Contains diff --git a/translate-pieces/server/classes/BlockPotionContainerComponent.d.ts b/translate-pieces/server/classes/BlockPotionContainerComponent.d.ts index b20bc9c..6ba2b8a 100644 --- a/translate-pieces/server/classes/BlockPotionContainerComponent.d.ts +++ b/translate-pieces/server/classes/BlockPotionContainerComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockLiquidContainerComponent, ItemStack } from '../index'; + /** * @beta * Represents a fluid container block that currently contains a diff --git a/translate-pieces/server/classes/BlockRecordPlayerComponent.d.ts b/translate-pieces/server/classes/BlockRecordPlayerComponent.d.ts index 5d6b44a..00373f6 100644 --- a/translate-pieces/server/classes/BlockRecordPlayerComponent.d.ts +++ b/translate-pieces/server/classes/BlockRecordPlayerComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockComponent, ItemType } from '../index'; + /** * @beta * Represents a block that can play a record. diff --git a/translate-pieces/server/classes/BlockSignComponent.d.ts b/translate-pieces/server/classes/BlockSignComponent.d.ts index 9ece916..dcc350d 100644 --- a/translate-pieces/server/classes/BlockSignComponent.d.ts +++ b/translate-pieces/server/classes/BlockSignComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockComponent, DyeColor, RawMessage, RawText, SignSide } from '../index'; + /** * @beta * Represents a block that can display text on it. diff --git a/translate-pieces/server/classes/BlockSnowContainerComponent.d.ts b/translate-pieces/server/classes/BlockSnowContainerComponent.d.ts index ad85171..e0de709 100644 --- a/translate-pieces/server/classes/BlockSnowContainerComponent.d.ts +++ b/translate-pieces/server/classes/BlockSnowContainerComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockLiquidContainerComponent } from '../index'; + /** * @beta * Represents a fluid container block that currently contains diff --git a/translate-pieces/server/classes/BlockStates.d.ts b/translate-pieces/server/classes/BlockStates.d.ts index 00635fb..7dc4b04 100644 --- a/translate-pieces/server/classes/BlockStates.d.ts +++ b/translate-pieces/server/classes/BlockStates.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, BlockStateType } from '../index'; + /** * @beta * Enumerates all {@link BlockStateType}s. diff --git a/translate-pieces/server/classes/BlockTypes.d.ts b/translate-pieces/server/classes/BlockTypes.d.ts index 2498d37..972af03 100644 --- a/translate-pieces/server/classes/BlockTypes.d.ts +++ b/translate-pieces/server/classes/BlockTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockType } from '../index'; + /** * @beta * Contains a catalog of Minecraft Block Types that are diff --git a/translate-pieces/server/classes/BlockVolumeUtils.d.ts b/translate-pieces/server/classes/BlockVolumeUtils.d.ts index f993710..9aa9f3d 100644 --- a/translate-pieces/server/classes/BlockVolumeUtils.d.ts +++ b/translate-pieces/server/classes/BlockVolumeUtils.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockLocationIterator, BlockVolume, BlockVolumeIntersection, BoundingBox, Vector3 } from '../index'; + /** * @beta * Block Volume Utils is a utility class that provides a number diff --git a/translate-pieces/server/classes/BlockWaterContainerComponent.d.ts b/translate-pieces/server/classes/BlockWaterContainerComponent.d.ts index 5b23610..8cac3ec 100644 --- a/translate-pieces/server/classes/BlockWaterContainerComponent.d.ts +++ b/translate-pieces/server/classes/BlockWaterContainerComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockLiquidContainerComponent, ItemType, RGBA } from '../index'; + /** * @beta * Represents a fluid container block that currently contains diff --git a/translate-pieces/server/classes/BoundingBoxUtils.d.ts b/translate-pieces/server/classes/BoundingBoxUtils.d.ts index 036ff00..2e5393b 100644 --- a/translate-pieces/server/classes/BoundingBoxUtils.d.ts +++ b/translate-pieces/server/classes/BoundingBoxUtils.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BoundingBox, Vector3 } from '../index'; + /** * @beta * Bounding Box Utils is a utility class that provides a number diff --git a/translate-pieces/server/classes/ButtonPushAfterEvent.d.ts b/translate-pieces/server/classes/ButtonPushAfterEvent.d.ts index f3f4f7e..a20add9 100644 --- a/translate-pieces/server/classes/ButtonPushAfterEvent.d.ts +++ b/translate-pieces/server/classes/ButtonPushAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, Entity } from '../index'; + /** * Contains information related to changes to a button push. */ diff --git a/translate-pieces/server/classes/ButtonPushAfterEventSignal.d.ts b/translate-pieces/server/classes/ButtonPushAfterEventSignal.d.ts index be75757..e610464 100644 --- a/translate-pieces/server/classes/ButtonPushAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ButtonPushAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IButtonPushAfterEventSignal } from '../index'; + /** * Manages callbacks that are connected to when a button is * pushed. diff --git a/translate-pieces/server/classes/Camera.d.ts b/translate-pieces/server/classes/Camera.d.ts index b9ffd29..5eb9565 100644 --- a/translate-pieces/server/classes/Camera.d.ts +++ b/translate-pieces/server/classes/Camera.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraDefaultOptions, CameraFadeOptions, CameraSetFacingOptions, CameraSetLocationOptions, CameraSetPosOptions, CameraSetRotOptions } from '../index'; + /** * Contains methods relating to the active camera for the * specified player. diff --git a/translate-pieces/server/classes/ChatSendAfterEvent.d.ts b/translate-pieces/server/classes/ChatSendAfterEvent.d.ts index 4228aa6..9756d18 100644 --- a/translate-pieces/server/classes/ChatSendAfterEvent.d.ts +++ b/translate-pieces/server/classes/ChatSendAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Player } from '../index'; + /** * @beta * An event that fires as players enter chat messages. diff --git a/translate-pieces/server/classes/ChatSendAfterEventSignal.d.ts b/translate-pieces/server/classes/ChatSendAfterEventSignal.d.ts index 3c36f4b..537d2a0 100644 --- a/translate-pieces/server/classes/ChatSendAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ChatSendAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ChatSendAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to chat messages being diff --git a/translate-pieces/server/classes/ChatSendBeforeEvent.d.ts b/translate-pieces/server/classes/ChatSendBeforeEvent.d.ts index 220b169..b838624 100644 --- a/translate-pieces/server/classes/ChatSendBeforeEvent.d.ts +++ b/translate-pieces/server/classes/ChatSendBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ChatSendAfterEvent, Player } from '../index'; + /** * @beta * An event that fires as players enter chat messages. diff --git a/translate-pieces/server/classes/ChatSendBeforeEventSignal.d.ts b/translate-pieces/server/classes/ChatSendBeforeEventSignal.d.ts index 2ab70c0..beae618 100644 --- a/translate-pieces/server/classes/ChatSendBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/ChatSendBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ChatSendBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to an event that fires diff --git a/translate-pieces/server/classes/CompoundBlockVolume.d.ts b/translate-pieces/server/classes/CompoundBlockVolume.d.ts index 4e94600..ccca943 100644 --- a/translate-pieces/server/classes/CompoundBlockVolume.d.ts +++ b/translate-pieces/server/classes/CompoundBlockVolume.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockLocationIterator, BoundingBox, CompoundBlockVolumeItem, CompoundBlockVolumePositionRelativity, Vector3 } from '../index'; + /** * @beta * The Compound Block Volume is a collection of individual diff --git a/translate-pieces/server/classes/Container.d.ts b/translate-pieces/server/classes/Container.d.ts index 9042ca0..0f8dd66 100644 --- a/translate-pieces/server/classes/Container.d.ts +++ b/translate-pieces/server/classes/Container.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ContainerSlot, ItemStack } from '../index'; + /** * Represents a container that can hold sets of items. Used * with entities such as Players, Chest Minecarts, Llamas, and diff --git a/translate-pieces/server/classes/ContainerSlot.d.ts b/translate-pieces/server/classes/ContainerSlot.d.ts index f6e07ba..e406380 100644 --- a/translate-pieces/server/classes/ContainerSlot.d.ts +++ b/translate-pieces/server/classes/ContainerSlot.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemLockMode, ItemStack, ItemType } from '../index'; + /** * @beta * Represents a slot within a broader container (e.g., entity diff --git a/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEvent.d.ts b/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEvent.d.ts index 6db397d..7246d3d 100644 --- a/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEvent.d.ts +++ b/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { DefinitionModifier, Entity } from '../index'; + /** * @beta * Contains information related to firing of a data driven diff --git a/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEventSignal.d.ts b/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEventSignal.d.ts index d97e038..02cd24a 100644 --- a/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/DataDrivenEntityTriggerAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { DataDrivenEntityTriggerAfterEvent, EntityDataDrivenTriggerEventOptions } from '../index'; + /** * @beta * Contains event registration related to firing of a data diff --git a/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEvent.d.ts b/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEvent.d.ts index 9afe0bc..4d64c2d 100644 --- a/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEvent.d.ts +++ b/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { DefinitionModifier, Entity } from '../index'; + /** * @beta * Contains information related to firing of a data driven diff --git a/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEventSignal.d.ts b/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEventSignal.d.ts index 56be9fd..a7ba70d 100644 --- a/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/DataDrivenEntityTriggerBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { DataDrivenEntityTriggerBeforeEvent, EntityDataDrivenTriggerEventOptions } from '../index'; + /** * @beta * Contains information related to firing of a data driven diff --git a/translate-pieces/server/classes/Dimension.d.ts b/translate-pieces/server/classes/Dimension.d.ts index 6301bcc..f0a9de1 100644 --- a/translate-pieces/server/classes/Dimension.d.ts +++ b/translate-pieces/server/classes/Dimension.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, BlockFillOptions, BlockPermutation, BlockRaycastHit, BlockRaycastOptions, BlockType, CommandError, CommandResult, Entity, EntityQueryOptions, EntityRaycastHit, EntityRaycastOptions, ExplosionOptions, ItemStack, LocationInUnloadedChunkError, LocationOutOfWorldBoundariesError, MolangVariableMap, Player, Vector3, WeatherType, minecraftcommon } from '../index'; + /** * A class that represents a particular dimension (e.g., The * End) within a world. diff --git a/translate-pieces/server/classes/DimensionTypes.d.ts b/translate-pieces/server/classes/DimensionTypes.d.ts index 0ecc4a8..e7dcb75 100644 --- a/translate-pieces/server/classes/DimensionTypes.d.ts +++ b/translate-pieces/server/classes/DimensionTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { DimensionType } from '../index'; + /** * @beta * Used for accessing all available dimension types. diff --git a/translate-pieces/server/classes/EffectAddAfterEvent.d.ts b/translate-pieces/server/classes/EffectAddAfterEvent.d.ts index 51f985e..fed8c54 100644 --- a/translate-pieces/server/classes/EffectAddAfterEvent.d.ts +++ b/translate-pieces/server/classes/EffectAddAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Effect, Entity } from '../index'; + /** * @beta * Contains information related to changes to an effect - like diff --git a/translate-pieces/server/classes/EffectAddAfterEventSignal.d.ts b/translate-pieces/server/classes/EffectAddAfterEventSignal.d.ts index 3d8537b..c110fef 100644 --- a/translate-pieces/server/classes/EffectAddAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EffectAddAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EffectAddAfterEvent, EntityEventOptions } from '../index'; + /** * @beta * Manages callbacks that are connected to when an effect is diff --git a/translate-pieces/server/classes/EffectAddBeforeEvent.d.ts b/translate-pieces/server/classes/EffectAddBeforeEvent.d.ts index e4fed77..32f53c7 100644 --- a/translate-pieces/server/classes/EffectAddBeforeEvent.d.ts +++ b/translate-pieces/server/classes/EffectAddBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * @beta * Contains information related to changes to an effect - like diff --git a/translate-pieces/server/classes/EffectAddBeforeEventSignal.d.ts b/translate-pieces/server/classes/EffectAddBeforeEventSignal.d.ts index d352ae7..60def97 100644 --- a/translate-pieces/server/classes/EffectAddBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/EffectAddBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EffectAddBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to when an effect is diff --git a/translate-pieces/server/classes/EffectTypes.d.ts b/translate-pieces/server/classes/EffectTypes.d.ts index 599da4d..232c232 100644 --- a/translate-pieces/server/classes/EffectTypes.d.ts +++ b/translate-pieces/server/classes/EffectTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EffectType } from '../index'; + /** * @beta * Represents a type of effect - like poison - that can be diff --git a/translate-pieces/server/classes/Enchantment.d.ts b/translate-pieces/server/classes/Enchantment.d.ts index fa9b90e..b631b25 100644 --- a/translate-pieces/server/classes/Enchantment.d.ts +++ b/translate-pieces/server/classes/Enchantment.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EnchantmentType } from '../index'; + /** * @beta * This class represents a specific leveled enchantment that is diff --git a/translate-pieces/server/classes/EnchantmentList.d.ts b/translate-pieces/server/classes/EnchantmentList.d.ts index 6081502..c16f506 100644 --- a/translate-pieces/server/classes/EnchantmentList.d.ts +++ b/translate-pieces/server/classes/EnchantmentList.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Enchantment, EnchantmentType } from '../index'; + /** * @beta * This class represents a collection of enchantments that can diff --git a/translate-pieces/server/classes/EnchantmentTypes.d.ts b/translate-pieces/server/classes/EnchantmentTypes.d.ts index f7f6a5b..a2cb0d0 100644 --- a/translate-pieces/server/classes/EnchantmentTypes.d.ts +++ b/translate-pieces/server/classes/EnchantmentTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EnchantmentType } from '../index'; + /** * @beta * Provides a list of enchantment types. diff --git a/translate-pieces/server/classes/Entity.d.ts b/translate-pieces/server/classes/Entity.d.ts index 22cb3d7..844f705 100644 --- a/translate-pieces/server/classes/Entity.d.ts +++ b/translate-pieces/server/classes/Entity.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockRaycastHit, BlockRaycastOptions, CommandError, CommandResult, Dimension, Effect, EffectType, EntityApplyDamageByProjectileOptions, EntityApplyDamageOptions, EntityComponent, EntityComponentTypeMap, EntityComponentTypes, EntityEffectOptions, EntityLifetimeState, EntityQueryOptions, EntityRaycastHit, EntityRaycastOptions, PlayAnimationOptions, ScoreboardIdentity, TeleportOptions, TicksPerSecond, Vector2, Vector3, minecraftcommon } from '../index'; + /** * Represents the state of an entity (a mob, the player, or * other moving objects like minecarts) in the world. diff --git a/translate-pieces/server/classes/EntityAddRiderComponent.d.ts b/translate-pieces/server/classes/EntityAddRiderComponent.d.ts index 96579a2..ddc2c72 100644 --- a/translate-pieces/server/classes/EntityAddRiderComponent.d.ts +++ b/translate-pieces/server/classes/EntityAddRiderComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * When added, this component makes the entity spawn with a diff --git a/translate-pieces/server/classes/EntityAgeableComponent.d.ts b/translate-pieces/server/classes/EntityAgeableComponent.d.ts index 40dc888..c249311 100644 --- a/translate-pieces/server/classes/EntityAgeableComponent.d.ts +++ b/translate-pieces/server/classes/EntityAgeableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent, EntityDefinitionFeedItem, Trigger } from '../index'; + /** * @beta * Adds a timer for the entity to grow up. It can be diff --git a/translate-pieces/server/classes/EntityAttributeComponent.d.ts b/translate-pieces/server/classes/EntityAttributeComponent.d.ts index d7cc7d5..f188235 100644 --- a/translate-pieces/server/classes/EntityAttributeComponent.d.ts +++ b/translate-pieces/server/classes/EntityAttributeComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * This is a base abstract class for any entity component that * centers around a number and can have a minimum, maximum, and diff --git a/translate-pieces/server/classes/EntityBaseMovementComponent.d.ts b/translate-pieces/server/classes/EntityBaseMovementComponent.d.ts index 3556d3a..d436af1 100644 --- a/translate-pieces/server/classes/EntityBaseMovementComponent.d.ts +++ b/translate-pieces/server/classes/EntityBaseMovementComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Base class for a family of entity movement events. */ diff --git a/translate-pieces/server/classes/EntityBreathableComponent.d.ts b/translate-pieces/server/classes/EntityBreathableComponent.d.ts index 241583d..a11f110 100644 --- a/translate-pieces/server/classes/EntityBreathableComponent.d.ts +++ b/translate-pieces/server/classes/EntityBreathableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockPermutation, EntityComponent } from '../index'; + /** * @beta * Defines what blocks this entity can breathe in and gives diff --git a/translate-pieces/server/classes/EntityCanClimbComponent.d.ts b/translate-pieces/server/classes/EntityCanClimbComponent.d.ts index 6c1665d..cf70395 100644 --- a/translate-pieces/server/classes/EntityCanClimbComponent.d.ts +++ b/translate-pieces/server/classes/EntityCanClimbComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that the entity can * climb up ladders. diff --git a/translate-pieces/server/classes/EntityCanFlyComponent.d.ts b/translate-pieces/server/classes/EntityCanFlyComponent.d.ts index e3fc2f4..038a575 100644 --- a/translate-pieces/server/classes/EntityCanFlyComponent.d.ts +++ b/translate-pieces/server/classes/EntityCanFlyComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that the entity can * fly, and the pathfinder won't be restricted to paths where a diff --git a/translate-pieces/server/classes/EntityCanPowerJumpComponent.d.ts b/translate-pieces/server/classes/EntityCanPowerJumpComponent.d.ts index 835134b..0483e3e 100644 --- a/translate-pieces/server/classes/EntityCanPowerJumpComponent.d.ts +++ b/translate-pieces/server/classes/EntityCanPowerJumpComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that the entity can * power jump like the horse does within Minecraft. diff --git a/translate-pieces/server/classes/EntityColorComponent.d.ts b/translate-pieces/server/classes/EntityColorComponent.d.ts index f6aa2f5..141d15b 100644 --- a/translate-pieces/server/classes/EntityColorComponent.d.ts +++ b/translate-pieces/server/classes/EntityColorComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Defines the entity's color. Only works on certain entities * that have predefined color values (e.g., sheep, llama, diff --git a/translate-pieces/server/classes/EntityComponent.d.ts b/translate-pieces/server/classes/EntityComponent.d.ts index e98b427..5a298e4 100644 --- a/translate-pieces/server/classes/EntityComponent.d.ts +++ b/translate-pieces/server/classes/EntityComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Component, Entity } from '../index'; + /** * Base class for downstream entity components. */ diff --git a/translate-pieces/server/classes/EntityDieAfterEvent.d.ts b/translate-pieces/server/classes/EntityDieAfterEvent.d.ts index 7a946c8..db3964a 100644 --- a/translate-pieces/server/classes/EntityDieAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntityDieAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityDamageSource } from '../index'; + /** * Contains data related to the death of an entity in the game. */ diff --git a/translate-pieces/server/classes/EntityDieAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityDieAfterEventSignal.d.ts index 4a7fb54..6bdadf1 100644 --- a/translate-pieces/server/classes/EntityDieAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityDieAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityDieAfterEvent, EntityEventOptions } from '../index'; + /** * Supports registering for an event that fires after an entity * has died. diff --git a/translate-pieces/server/classes/EntityEquippableComponent.d.ts b/translate-pieces/server/classes/EntityEquippableComponent.d.ts index fb774f2..7a91f8a 100644 --- a/translate-pieces/server/classes/EntityEquippableComponent.d.ts +++ b/translate-pieces/server/classes/EntityEquippableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ContainerSlot, EntityComponent, EquipmentSlot, ItemStack } from '../index'; + /** * Provides access to a mob's equipment slots. This component * exists for all mob entities. diff --git a/translate-pieces/server/classes/EntityFireImmuneComponent.d.ts b/translate-pieces/server/classes/EntityFireImmuneComponent.d.ts index 8e7407d..62718fa 100644 --- a/translate-pieces/server/classes/EntityFireImmuneComponent.d.ts +++ b/translate-pieces/server/classes/EntityFireImmuneComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity * doesn't take damage from fire. diff --git a/translate-pieces/server/classes/EntityFloatsInLiquidComponent.d.ts b/translate-pieces/server/classes/EntityFloatsInLiquidComponent.d.ts index 0d7db87..74397a8 100644 --- a/translate-pieces/server/classes/EntityFloatsInLiquidComponent.d.ts +++ b/translate-pieces/server/classes/EntityFloatsInLiquidComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity can * float in liquid blocks. diff --git a/translate-pieces/server/classes/EntityFlyingSpeedComponent.d.ts b/translate-pieces/server/classes/EntityFlyingSpeedComponent.d.ts index 34f418c..457632b 100644 --- a/translate-pieces/server/classes/EntityFlyingSpeedComponent.d.ts +++ b/translate-pieces/server/classes/EntityFlyingSpeedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Represents the flying speed of an entity. */ diff --git a/translate-pieces/server/classes/EntityFrictionModifierComponent.d.ts b/translate-pieces/server/classes/EntityFrictionModifierComponent.d.ts index 2f6689a..caf6127 100644 --- a/translate-pieces/server/classes/EntityFrictionModifierComponent.d.ts +++ b/translate-pieces/server/classes/EntityFrictionModifierComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Defines how much friction affects this entity. */ diff --git a/translate-pieces/server/classes/EntityGroundOffsetComponent.d.ts b/translate-pieces/server/classes/EntityGroundOffsetComponent.d.ts index 1a079ad..cc6c482 100644 --- a/translate-pieces/server/classes/EntityGroundOffsetComponent.d.ts +++ b/translate-pieces/server/classes/EntityGroundOffsetComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Sets the offset from the ground that the entity is actually * at. diff --git a/translate-pieces/server/classes/EntityHealableComponent.d.ts b/translate-pieces/server/classes/EntityHealableComponent.d.ts index c3613d2..e0a0656 100644 --- a/translate-pieces/server/classes/EntityHealableComponent.d.ts +++ b/translate-pieces/server/classes/EntityHealableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent, FeedItem, FilterGroup } from '../index'; + /** * Defines the interactions with this entity for healing it. */ diff --git a/translate-pieces/server/classes/EntityHealthChangedAfterEvent.d.ts b/translate-pieces/server/classes/EntityHealthChangedAfterEvent.d.ts index e4fe719..cd58238 100644 --- a/translate-pieces/server/classes/EntityHealthChangedAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntityHealthChangedAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Contains information related to an entity when its health * changes. Warning: don't change the health of an entity in diff --git a/translate-pieces/server/classes/EntityHealthChangedAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityHealthChangedAfterEventSignal.d.ts index a735874..2a0ccf5 100644 --- a/translate-pieces/server/classes/EntityHealthChangedAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityHealthChangedAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityEventOptions, EntityHealthChangedAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when the health of * an entity changes. diff --git a/translate-pieces/server/classes/EntityHealthComponent.d.ts b/translate-pieces/server/classes/EntityHealthComponent.d.ts index 9cc2b9c..ad26a0f 100644 --- a/translate-pieces/server/classes/EntityHealthComponent.d.ts +++ b/translate-pieces/server/classes/EntityHealthComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityAttributeComponent } from '../index'; + /** * Defines the health properties of an entity. */ diff --git a/translate-pieces/server/classes/EntityHitBlockAfterEvent.d.ts b/translate-pieces/server/classes/EntityHitBlockAfterEvent.d.ts index d315880..8487104 100644 --- a/translate-pieces/server/classes/EntityHitBlockAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntityHitBlockAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, Entity } from '../index'; + /** * Contains information related to an entity hitting a block. */ diff --git a/translate-pieces/server/classes/EntityHitBlockAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityHitBlockAfterEventSignal.d.ts index 1fb3775..12e56b0 100644 --- a/translate-pieces/server/classes/EntityHitBlockAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityHitBlockAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityEventOptions, EntityHitBlockAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when an entity hits * a block. diff --git a/translate-pieces/server/classes/EntityHitEntityAfterEvent.d.ts b/translate-pieces/server/classes/EntityHitEntityAfterEvent.d.ts index b7b4a10..7f01773 100644 --- a/translate-pieces/server/classes/EntityHitEntityAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntityHitEntityAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Contains information related to an entity hitting (melee * attacking) another entity. diff --git a/translate-pieces/server/classes/EntityHitEntityAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityHitEntityAfterEventSignal.d.ts index e4303c9..a20f57a 100644 --- a/translate-pieces/server/classes/EntityHitEntityAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityHitEntityAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityEventOptions, EntityHitEntityAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when an entity makes * a melee attack on another entity. diff --git a/translate-pieces/server/classes/EntityHurtAfterEvent.d.ts b/translate-pieces/server/classes/EntityHurtAfterEvent.d.ts index 7cbb60d..8539691 100644 --- a/translate-pieces/server/classes/EntityHurtAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntityHurtAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityDamageSource } from '../index'; + /** * Contains information related to an entity getting hurt. */ diff --git a/translate-pieces/server/classes/EntityHurtAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityHurtAfterEventSignal.d.ts index 6877013..7fe9e99 100644 --- a/translate-pieces/server/classes/EntityHurtAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityHurtAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityEventOptions, EntityHurtAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when an entity is * hurt. diff --git a/translate-pieces/server/classes/EntityInventoryComponent.d.ts b/translate-pieces/server/classes/EntityInventoryComponent.d.ts index ee919e4..c41bea8 100644 --- a/translate-pieces/server/classes/EntityInventoryComponent.d.ts +++ b/translate-pieces/server/classes/EntityInventoryComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Container, EntityComponent } from '../index'; + /** * Defines this entity's inventory properties. */ diff --git a/translate-pieces/server/classes/EntityIsBabyComponent.d.ts b/translate-pieces/server/classes/EntityIsBabyComponent.d.ts index 596f773..561089a 100644 --- a/translate-pieces/server/classes/EntityIsBabyComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsBabyComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is a * baby. diff --git a/translate-pieces/server/classes/EntityIsChargedComponent.d.ts b/translate-pieces/server/classes/EntityIsChargedComponent.d.ts index 8a1b43c..bc8bd66 100644 --- a/translate-pieces/server/classes/EntityIsChargedComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsChargedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * charged. diff --git a/translate-pieces/server/classes/EntityIsChestedComponent.d.ts b/translate-pieces/server/classes/EntityIsChestedComponent.d.ts index a14f7e9..cbfb6b8 100644 --- a/translate-pieces/server/classes/EntityIsChestedComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsChestedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * currently carrying a chest. diff --git a/translate-pieces/server/classes/EntityIsDyeableComponent.d.ts b/translate-pieces/server/classes/EntityIsDyeableComponent.d.ts index 6ab302d..bda61ca 100644 --- a/translate-pieces/server/classes/EntityIsDyeableComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsDyeableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that dyes can be used * on this entity to change its color. diff --git a/translate-pieces/server/classes/EntityIsHiddenWhenInvisibleComponent.d.ts b/translate-pieces/server/classes/EntityIsHiddenWhenInvisibleComponent.d.ts index 17361b9..4e6c39d 100644 --- a/translate-pieces/server/classes/EntityIsHiddenWhenInvisibleComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsHiddenWhenInvisibleComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity can * hide from hostile mobs while invisible. diff --git a/translate-pieces/server/classes/EntityIsIgnitedComponent.d.ts b/translate-pieces/server/classes/EntityIsIgnitedComponent.d.ts index ed57610..64a07c4 100644 --- a/translate-pieces/server/classes/EntityIsIgnitedComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsIgnitedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity this * currently on fire. diff --git a/translate-pieces/server/classes/EntityIsIllagerCaptainComponent.d.ts b/translate-pieces/server/classes/EntityIsIllagerCaptainComponent.d.ts index 17d4317..28f409d 100644 --- a/translate-pieces/server/classes/EntityIsIllagerCaptainComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsIllagerCaptainComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is an * illager captain. diff --git a/translate-pieces/server/classes/EntityIsSaddledComponent.d.ts b/translate-pieces/server/classes/EntityIsSaddledComponent.d.ts index 7c95b2e..d50235d 100644 --- a/translate-pieces/server/classes/EntityIsSaddledComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsSaddledComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * currently saddled. diff --git a/translate-pieces/server/classes/EntityIsShakingComponent.d.ts b/translate-pieces/server/classes/EntityIsShakingComponent.d.ts index b976133..b947694 100644 --- a/translate-pieces/server/classes/EntityIsShakingComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsShakingComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * currently shaking. diff --git a/translate-pieces/server/classes/EntityIsShearedComponent.d.ts b/translate-pieces/server/classes/EntityIsShearedComponent.d.ts index 052a137..e914d25 100644 --- a/translate-pieces/server/classes/EntityIsShearedComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsShearedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * currently sheared. diff --git a/translate-pieces/server/classes/EntityIsStackableComponent.d.ts b/translate-pieces/server/classes/EntityIsStackableComponent.d.ts index f5f5f15..0bb4042 100644 --- a/translate-pieces/server/classes/EntityIsStackableComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsStackableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity can be * stacked. diff --git a/translate-pieces/server/classes/EntityIsStunnedComponent.d.ts b/translate-pieces/server/classes/EntityIsStunnedComponent.d.ts index 0cd1b84..fdd2f72 100644 --- a/translate-pieces/server/classes/EntityIsStunnedComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsStunnedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * currently stunned. diff --git a/translate-pieces/server/classes/EntityIsTamedComponent.d.ts b/translate-pieces/server/classes/EntityIsTamedComponent.d.ts index 9afaf2b..2cb82a8 100644 --- a/translate-pieces/server/classes/EntityIsTamedComponent.d.ts +++ b/translate-pieces/server/classes/EntityIsTamedComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity is * currently tamed. diff --git a/translate-pieces/server/classes/EntityItemComponent.d.ts b/translate-pieces/server/classes/EntityItemComponent.d.ts index 20d734d..889ee07 100644 --- a/translate-pieces/server/classes/EntityItemComponent.d.ts +++ b/translate-pieces/server/classes/EntityItemComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent, ItemStack } from '../index'; + /** * If added onto the entity, this indicates that the entity * represents a free-floating item in the world. Lets you diff --git a/translate-pieces/server/classes/EntityIterator.d.ts b/translate-pieces/server/classes/EntityIterator.d.ts index 06a51bb..cd62d8b 100644 --- a/translate-pieces/server/classes/EntityIterator.d.ts +++ b/translate-pieces/server/classes/EntityIterator.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * @beta * This type is usable for iterating over a set of entities. diff --git a/translate-pieces/server/classes/EntityLavaMovementComponent.d.ts b/translate-pieces/server/classes/EntityLavaMovementComponent.d.ts index d4a906c..c3d3f12 100644 --- a/translate-pieces/server/classes/EntityLavaMovementComponent.d.ts +++ b/translate-pieces/server/classes/EntityLavaMovementComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityAttributeComponent } from '../index'; + /** * @beta * Defines the base movement speed in lava of this entity. diff --git a/translate-pieces/server/classes/EntityLeashableComponent.d.ts b/translate-pieces/server/classes/EntityLeashableComponent.d.ts index 44bb338..5ff0231 100644 --- a/translate-pieces/server/classes/EntityLeashableComponent.d.ts +++ b/translate-pieces/server/classes/EntityLeashableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityComponent } from '../index'; + /** * @beta * Allows this entity to be leashed and defines the conditions diff --git a/translate-pieces/server/classes/EntityLoadAfterEvent.d.ts b/translate-pieces/server/classes/EntityLoadAfterEvent.d.ts index 307d21d..c1bb802 100644 --- a/translate-pieces/server/classes/EntityLoadAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntityLoadAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Contains data related to an entity loaded within the world. * This could happen when an unloaded chunk is reloaded, or diff --git a/translate-pieces/server/classes/EntityLoadAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityLoadAfterEventSignal.d.ts index 86ac529..4dbb406 100644 --- a/translate-pieces/server/classes/EntityLoadAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityLoadAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityLoadAfterEvent } from '../index'; + /** * Registers a script-based event handler for handling what * happens when an entity loads. diff --git a/translate-pieces/server/classes/EntityMarkVariantComponent.d.ts b/translate-pieces/server/classes/EntityMarkVariantComponent.d.ts index 86b50ac..7d50966 100644 --- a/translate-pieces/server/classes/EntityMarkVariantComponent.d.ts +++ b/translate-pieces/server/classes/EntityMarkVariantComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Additional variant value. Can be used to further * differentiate variants. diff --git a/translate-pieces/server/classes/EntityMountTamingComponent.d.ts b/translate-pieces/server/classes/EntityMountTamingComponent.d.ts index 5e44a62..526c3d6 100644 --- a/translate-pieces/server/classes/EntityMountTamingComponent.d.ts +++ b/translate-pieces/server/classes/EntityMountTamingComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * Contains options for taming a rideable entity based on the diff --git a/translate-pieces/server/classes/EntityMovementAmphibiousComponent.d.ts b/translate-pieces/server/classes/EntityMovementAmphibiousComponent.d.ts index 647c4dd..0967f93 100644 --- a/translate-pieces/server/classes/EntityMovementAmphibiousComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementAmphibiousComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * When added, this movement control allows the mob to swim in * water and walk on land. diff --git a/translate-pieces/server/classes/EntityMovementBasicComponent.d.ts b/translate-pieces/server/classes/EntityMovementBasicComponent.d.ts index ec49fe0..9b2d9b9 100644 --- a/translate-pieces/server/classes/EntityMovementBasicComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementBasicComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * This component accents the movement of an entity. */ diff --git a/translate-pieces/server/classes/EntityMovementComponent.d.ts b/translate-pieces/server/classes/EntityMovementComponent.d.ts index 38c9481..8c7b704 100644 --- a/translate-pieces/server/classes/EntityMovementComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityAttributeComponent } from '../index'; + /** * @beta * Defines the general movement speed of this entity. diff --git a/translate-pieces/server/classes/EntityMovementFlyComponent.d.ts b/translate-pieces/server/classes/EntityMovementFlyComponent.d.ts index b0c2c1d..f28cd18 100644 --- a/translate-pieces/server/classes/EntityMovementFlyComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementFlyComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * When added, this move control causes the mob to fly. */ diff --git a/translate-pieces/server/classes/EntityMovementGenericComponent.d.ts b/translate-pieces/server/classes/EntityMovementGenericComponent.d.ts index 8cd94c3..22c976a 100644 --- a/translate-pieces/server/classes/EntityMovementGenericComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementGenericComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * When added, this move control allows a mob to fly, swim, * climb, etc. diff --git a/translate-pieces/server/classes/EntityMovementGlideComponent.d.ts b/translate-pieces/server/classes/EntityMovementGlideComponent.d.ts index 7149e58..9ea5313 100644 --- a/translate-pieces/server/classes/EntityMovementGlideComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementGlideComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * @beta * When added, this movement control allows the mob to glide. diff --git a/translate-pieces/server/classes/EntityMovementHoverComponent.d.ts b/translate-pieces/server/classes/EntityMovementHoverComponent.d.ts index bb3f68f..2c55702 100644 --- a/translate-pieces/server/classes/EntityMovementHoverComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementHoverComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * When added, this move control causes the mob to hover. */ diff --git a/translate-pieces/server/classes/EntityMovementJumpComponent.d.ts b/translate-pieces/server/classes/EntityMovementJumpComponent.d.ts index 6e0033d..108c497 100644 --- a/translate-pieces/server/classes/EntityMovementJumpComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementJumpComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * Move control that causes the mob to jump as it moves with a * specified delay between jumps. diff --git a/translate-pieces/server/classes/EntityMovementSkipComponent.d.ts b/translate-pieces/server/classes/EntityMovementSkipComponent.d.ts index 93fd3e6..aed8e68 100644 --- a/translate-pieces/server/classes/EntityMovementSkipComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementSkipComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * When added, this move control causes the mob to hop as it * moves. diff --git a/translate-pieces/server/classes/EntityMovementSwayComponent.d.ts b/translate-pieces/server/classes/EntityMovementSwayComponent.d.ts index 31d3f9f..e1f38b8 100644 --- a/translate-pieces/server/classes/EntityMovementSwayComponent.d.ts +++ b/translate-pieces/server/classes/EntityMovementSwayComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityBaseMovementComponent } from '../index'; + /** * @beta * When added, this move control causes the mob to sway side to diff --git a/translate-pieces/server/classes/EntityNavigationClimbComponent.d.ts b/translate-pieces/server/classes/EntityNavigationClimbComponent.d.ts index 288c083..f74bcec 100644 --- a/translate-pieces/server/classes/EntityNavigationClimbComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationClimbComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityNavigationComponent } from '../index'; + /** * @beta * Allows this entity to generate paths that include vertical diff --git a/translate-pieces/server/classes/EntityNavigationComponent.d.ts b/translate-pieces/server/classes/EntityNavigationComponent.d.ts index 431c718..076dd47 100644 --- a/translate-pieces/server/classes/EntityNavigationComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * Allows this entity to generate paths that include vertical diff --git a/translate-pieces/server/classes/EntityNavigationFloatComponent.d.ts b/translate-pieces/server/classes/EntityNavigationFloatComponent.d.ts index d9a05f6..261730c 100644 --- a/translate-pieces/server/classes/EntityNavigationFloatComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationFloatComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityNavigationComponent } from '../index'; + /** * @beta * Allows this entity to generate paths by flying around the diff --git a/translate-pieces/server/classes/EntityNavigationFlyComponent.d.ts b/translate-pieces/server/classes/EntityNavigationFlyComponent.d.ts index d674330..eb1edf1 100644 --- a/translate-pieces/server/classes/EntityNavigationFlyComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationFlyComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityNavigationComponent } from '../index'; + /** * @beta * Allows this entity to generate paths in the air (for diff --git a/translate-pieces/server/classes/EntityNavigationGenericComponent.d.ts b/translate-pieces/server/classes/EntityNavigationGenericComponent.d.ts index d325534..9c2faae 100644 --- a/translate-pieces/server/classes/EntityNavigationGenericComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationGenericComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityNavigationComponent } from '../index'; + /** * @beta * Allows this entity to generate paths by walking, swimming, diff --git a/translate-pieces/server/classes/EntityNavigationHoverComponent.d.ts b/translate-pieces/server/classes/EntityNavigationHoverComponent.d.ts index 5656314..47ee16c 100644 --- a/translate-pieces/server/classes/EntityNavigationHoverComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationHoverComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityNavigationComponent } from '../index'; + /** * @beta * Allows this entity to generate paths in the air (for diff --git a/translate-pieces/server/classes/EntityNavigationWalkComponent.d.ts b/translate-pieces/server/classes/EntityNavigationWalkComponent.d.ts index fa9df0c..c3df98d 100644 --- a/translate-pieces/server/classes/EntityNavigationWalkComponent.d.ts +++ b/translate-pieces/server/classes/EntityNavigationWalkComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityNavigationComponent } from '../index'; + /** * @beta * Allows this entity to generate paths by walking around and diff --git a/translate-pieces/server/classes/EntityNpcComponent.d.ts b/translate-pieces/server/classes/EntityNpcComponent.d.ts index ed2d0eb..275d3b0 100644 --- a/translate-pieces/server/classes/EntityNpcComponent.d.ts +++ b/translate-pieces/server/classes/EntityNpcComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * Adds NPC capabilities to an entity such as custom skin, diff --git a/translate-pieces/server/classes/EntityOnFireComponent.d.ts b/translate-pieces/server/classes/EntityOnFireComponent.d.ts index 155c306..3b01324 100644 --- a/translate-pieces/server/classes/EntityOnFireComponent.d.ts +++ b/translate-pieces/server/classes/EntityOnFireComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * When present on an entity, this entity is on fire. diff --git a/translate-pieces/server/classes/EntityPushThroughComponent.d.ts b/translate-pieces/server/classes/EntityPushThroughComponent.d.ts index bdcf439..835adee 100644 --- a/translate-pieces/server/classes/EntityPushThroughComponent.d.ts +++ b/translate-pieces/server/classes/EntityPushThroughComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Sets the distance through which the entity can push through. */ diff --git a/translate-pieces/server/classes/EntityRemoveAfterEventSignal.d.ts b/translate-pieces/server/classes/EntityRemoveAfterEventSignal.d.ts index 206452d..49dec76 100644 --- a/translate-pieces/server/classes/EntityRemoveAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityRemoveAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityEventOptions, EntityRemoveAfterEvent } from '../index'; + /** * Allows registration for an event that fires when an entity * is removed from the game (for example, unloaded, or a few diff --git a/translate-pieces/server/classes/EntityRemoveBeforeEvent.d.ts b/translate-pieces/server/classes/EntityRemoveBeforeEvent.d.ts index c6580b7..12c01c3 100644 --- a/translate-pieces/server/classes/EntityRemoveBeforeEvent.d.ts +++ b/translate-pieces/server/classes/EntityRemoveBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Data for an event that happens when an entity is being * removed from the world (for example, the entity is unloaded diff --git a/translate-pieces/server/classes/EntityRemoveBeforeEventSignal.d.ts b/translate-pieces/server/classes/EntityRemoveBeforeEventSignal.d.ts index 7d948d4..e5bc975 100644 --- a/translate-pieces/server/classes/EntityRemoveBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/EntityRemoveBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityRemoveBeforeEvent } from '../index'; + /** * Allows registration for an event that fires when an entity * is being removed from the game (for example, unloaded, or a diff --git a/translate-pieces/server/classes/EntityRideableComponent.d.ts b/translate-pieces/server/classes/EntityRideableComponent.d.ts index c58393c..26b15f7 100644 --- a/translate-pieces/server/classes/EntityRideableComponent.d.ts +++ b/translate-pieces/server/classes/EntityRideableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityComponent, Seat } from '../index'; + /** * @beta * When added, this component adds the capability that an diff --git a/translate-pieces/server/classes/EntityRidingComponent.d.ts b/translate-pieces/server/classes/EntityRidingComponent.d.ts index 65fd79a..6be2ad2 100644 --- a/translate-pieces/server/classes/EntityRidingComponent.d.ts +++ b/translate-pieces/server/classes/EntityRidingComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityComponent } from '../index'; + /** * @beta * This component is added to any entity when it is riding diff --git a/translate-pieces/server/classes/EntityScaleComponent.d.ts b/translate-pieces/server/classes/EntityScaleComponent.d.ts index 5edb626..0e4b2e7 100644 --- a/translate-pieces/server/classes/EntityScaleComponent.d.ts +++ b/translate-pieces/server/classes/EntityScaleComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Sets the entity's visual size. */ diff --git a/translate-pieces/server/classes/EntitySkinIdComponent.d.ts b/translate-pieces/server/classes/EntitySkinIdComponent.d.ts index b92f5d1..33b8979 100644 --- a/translate-pieces/server/classes/EntitySkinIdComponent.d.ts +++ b/translate-pieces/server/classes/EntitySkinIdComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Skin Id value. Can be used to differentiate skins, such as * base skins for villagers. diff --git a/translate-pieces/server/classes/EntitySpawnAfterEvent.d.ts b/translate-pieces/server/classes/EntitySpawnAfterEvent.d.ts index dbc6f07..4da5666 100644 --- a/translate-pieces/server/classes/EntitySpawnAfterEvent.d.ts +++ b/translate-pieces/server/classes/EntitySpawnAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityInitializationCause } from '../index'; + /** * Contains data related to an entity spawning within the * world. diff --git a/translate-pieces/server/classes/EntitySpawnAfterEventSignal.d.ts b/translate-pieces/server/classes/EntitySpawnAfterEventSignal.d.ts index 18c7e04..0034ff4 100644 --- a/translate-pieces/server/classes/EntitySpawnAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/EntitySpawnAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntitySpawnAfterEvent } from '../index'; + /** * Registers a script-based event handler for handling what * happens when an entity spawns. diff --git a/translate-pieces/server/classes/EntityStrengthComponent.d.ts b/translate-pieces/server/classes/EntityStrengthComponent.d.ts index 2c0445f..451c9b7 100644 --- a/translate-pieces/server/classes/EntityStrengthComponent.d.ts +++ b/translate-pieces/server/classes/EntityStrengthComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * Defines the entity's strength to carry items. diff --git a/translate-pieces/server/classes/EntityTameableComponent.d.ts b/translate-pieces/server/classes/EntityTameableComponent.d.ts index 1485d6a..ccf82ea 100644 --- a/translate-pieces/server/classes/EntityTameableComponent.d.ts +++ b/translate-pieces/server/classes/EntityTameableComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * @beta * Defines the rules for an entity to be tamed by the player. diff --git a/translate-pieces/server/classes/EntityTypeIterator.d.ts b/translate-pieces/server/classes/EntityTypeIterator.d.ts index af50066..e0a86a3 100644 --- a/translate-pieces/server/classes/EntityTypeIterator.d.ts +++ b/translate-pieces/server/classes/EntityTypeIterator.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityType } from '../index'; + /** * @beta * An iterator that loops through available entity types. diff --git a/translate-pieces/server/classes/EntityTypes.d.ts b/translate-pieces/server/classes/EntityTypes.d.ts index fe7cfe5..0444271 100644 --- a/translate-pieces/server/classes/EntityTypes.d.ts +++ b/translate-pieces/server/classes/EntityTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityType, EntityTypeIterator } from '../index'; + /** * @beta * Used for accessing all entity types currently available for diff --git a/translate-pieces/server/classes/EntityUnderwaterMovementComponent.d.ts b/translate-pieces/server/classes/EntityUnderwaterMovementComponent.d.ts index cd441f2..7001736 100644 --- a/translate-pieces/server/classes/EntityUnderwaterMovementComponent.d.ts +++ b/translate-pieces/server/classes/EntityUnderwaterMovementComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityAttributeComponent } from '../index'; + /** * @beta * Defines the general movement speed underwater of this diff --git a/translate-pieces/server/classes/EntityVariantComponent.d.ts b/translate-pieces/server/classes/EntityVariantComponent.d.ts index 4048e17..acbe908 100644 --- a/translate-pieces/server/classes/EntityVariantComponent.d.ts +++ b/translate-pieces/server/classes/EntityVariantComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * Used to differentiate the component group of a variant of an * entity from others. (e.g. ocelot, villager). diff --git a/translate-pieces/server/classes/EntityWantsJockeyComponent.d.ts b/translate-pieces/server/classes/EntityWantsJockeyComponent.d.ts index c894d04..882ccda 100644 --- a/translate-pieces/server/classes/EntityWantsJockeyComponent.d.ts +++ b/translate-pieces/server/classes/EntityWantsJockeyComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityComponent } from '../index'; + /** * When added, this component signifies that this entity wants * to become a jockey. diff --git a/translate-pieces/server/classes/ExplosionAfterEvent.d.ts b/translate-pieces/server/classes/ExplosionAfterEvent.d.ts index 4bdf958..8974144 100644 --- a/translate-pieces/server/classes/ExplosionAfterEvent.d.ts +++ b/translate-pieces/server/classes/ExplosionAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Dimension, Entity } from '../index'; + /** * @beta * Contains information regarding an explosion that has diff --git a/translate-pieces/server/classes/ExplosionAfterEventSignal.d.ts b/translate-pieces/server/classes/ExplosionAfterEventSignal.d.ts index e28de79..95ca48a 100644 --- a/translate-pieces/server/classes/ExplosionAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ExplosionAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ExplosionAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to when an explosion diff --git a/translate-pieces/server/classes/ExplosionBeforeEvent.d.ts b/translate-pieces/server/classes/ExplosionBeforeEvent.d.ts index 0981894..8826df3 100644 --- a/translate-pieces/server/classes/ExplosionBeforeEvent.d.ts +++ b/translate-pieces/server/classes/ExplosionBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, ExplosionAfterEvent } from '../index'; + /** * @beta * Contains information regarding an explosion that has diff --git a/translate-pieces/server/classes/ExplosionBeforeEventSignal.d.ts b/translate-pieces/server/classes/ExplosionBeforeEventSignal.d.ts index b9250fa..aab1b3a 100644 --- a/translate-pieces/server/classes/ExplosionBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/ExplosionBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ExplosionBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to before an explosion diff --git a/translate-pieces/server/classes/FeedItem.d.ts b/translate-pieces/server/classes/FeedItem.d.ts index fee2486..e89b937 100644 --- a/translate-pieces/server/classes/FeedItem.d.ts +++ b/translate-pieces/server/classes/FeedItem.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { FeedItemEffect } from '../index'; + /** * As part of the Healable component, represents a specific * item that can be fed to an entity to cause health effects. diff --git a/translate-pieces/server/classes/IButtonPushAfterEventSignal.d.ts b/translate-pieces/server/classes/IButtonPushAfterEventSignal.d.ts index 79a6901..d5019da 100644 --- a/translate-pieces/server/classes/IButtonPushAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/IButtonPushAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ButtonPushAfterEvent } from '../index'; + /** * Provides an adaptable interface for callers to subscribe to * an event that fires when a button is pushed. diff --git a/translate-pieces/server/classes/ILeverActionAfterEventSignal.d.ts b/translate-pieces/server/classes/ILeverActionAfterEventSignal.d.ts index 8cccb56..d0f927e 100644 --- a/translate-pieces/server/classes/ILeverActionAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ILeverActionAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { LeverActionAfterEvent } from '../index'; + /** * Provides an adaptable interface for callers to subscribe to * an event that fires after a lever is used. diff --git a/translate-pieces/server/classes/IPlayerJoinAfterEventSignal.d.ts b/translate-pieces/server/classes/IPlayerJoinAfterEventSignal.d.ts index bbd6e86..6a8e6bc 100644 --- a/translate-pieces/server/classes/IPlayerJoinAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/IPlayerJoinAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerJoinAfterEvent } from '../index'; + /** * Provides an adaptable interface for callers to subscribe to * an event that fires after a player joins a world. diff --git a/translate-pieces/server/classes/IPlayerLeaveAfterEventSignal.d.ts b/translate-pieces/server/classes/IPlayerLeaveAfterEventSignal.d.ts index c4db4fd..b6f602c 100644 --- a/translate-pieces/server/classes/IPlayerLeaveAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/IPlayerLeaveAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerLeaveAfterEvent } from '../index'; + /** * Provides an adaptable interface for callers to subscribe to * an event that fires after a player leaves a world. diff --git a/translate-pieces/server/classes/IPlayerSpawnAfterEventSignal.d.ts b/translate-pieces/server/classes/IPlayerSpawnAfterEventSignal.d.ts index 2309fd1..e53798c 100644 --- a/translate-pieces/server/classes/IPlayerSpawnAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/IPlayerSpawnAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerSpawnAfterEvent } from '../index'; + /** * Provides an adaptable interface for callers to subscribe to * an event that fires after a player spawns. diff --git a/translate-pieces/server/classes/ItemCompleteUseAfterEvent.d.ts b/translate-pieces/server/classes/ItemCompleteUseAfterEvent.d.ts index ee3b843..6a3fe4a 100644 --- a/translate-pieces/server/classes/ItemCompleteUseAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemCompleteUseAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStack, Player } from '../index'; + /** * Contains information related to a chargeable item completing * being charged. diff --git a/translate-pieces/server/classes/ItemCompleteUseAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemCompleteUseAfterEventSignal.d.ts index d460ecb..1a9ae97 100644 --- a/translate-pieces/server/classes/ItemCompleteUseAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemCompleteUseAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemCompleteUseAfterEvent } from '../index'; + /** * Manages callbacks that are connected to the completion of * charging for a chargeable item. diff --git a/translate-pieces/server/classes/ItemComponent.d.ts b/translate-pieces/server/classes/ItemComponent.d.ts index 714cbdb..1beea8c 100644 --- a/translate-pieces/server/classes/ItemComponent.d.ts +++ b/translate-pieces/server/classes/ItemComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Component } from '../index'; + /** * Base class for item components. */ diff --git a/translate-pieces/server/classes/ItemCooldownComponent.d.ts b/translate-pieces/server/classes/ItemCooldownComponent.d.ts index 068ed70..538618c 100644 --- a/translate-pieces/server/classes/ItemCooldownComponent.d.ts +++ b/translate-pieces/server/classes/ItemCooldownComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemComponent, Player } from '../index'; + /** * @beta * When present on an item, this item has a cooldown effect diff --git a/translate-pieces/server/classes/ItemDefinitionAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemDefinitionAfterEventSignal.d.ts index 1fac417..17fed4a 100644 --- a/translate-pieces/server/classes/ItemDefinitionAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemDefinitionAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemDefinitionTriggeredAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to an item's definition diff --git a/translate-pieces/server/classes/ItemDefinitionBeforeEventSignal.d.ts b/translate-pieces/server/classes/ItemDefinitionBeforeEventSignal.d.ts index ac4db09..e2a7f7f 100644 --- a/translate-pieces/server/classes/ItemDefinitionBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemDefinitionBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemDefinitionTriggeredBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to an item's definition diff --git a/translate-pieces/server/classes/ItemDefinitionTriggeredAfterEvent.d.ts b/translate-pieces/server/classes/ItemDefinitionTriggeredAfterEvent.d.ts index 40362a9..01c67d1 100644 --- a/translate-pieces/server/classes/ItemDefinitionTriggeredAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemDefinitionTriggeredAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStack, Player } from '../index'; + /** * @beta * Contains information related to a custom item having a data diff --git a/translate-pieces/server/classes/ItemDefinitionTriggeredBeforeEvent.d.ts b/translate-pieces/server/classes/ItemDefinitionTriggeredBeforeEvent.d.ts index 34391f6..c080af0 100644 --- a/translate-pieces/server/classes/ItemDefinitionTriggeredBeforeEvent.d.ts +++ b/translate-pieces/server/classes/ItemDefinitionTriggeredBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemDefinitionTriggeredAfterEvent } from '../index'; + /** * @beta * Contains information related to a triggering of a custom diff --git a/translate-pieces/server/classes/ItemDurabilityComponent.d.ts b/translate-pieces/server/classes/ItemDurabilityComponent.d.ts index e4a7ec4..4f8201f 100644 --- a/translate-pieces/server/classes/ItemDurabilityComponent.d.ts +++ b/translate-pieces/server/classes/ItemDurabilityComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemComponent, minecraftcommon } from '../index'; + /** * @beta * When present on an item, this item can take damage in the diff --git a/translate-pieces/server/classes/ItemEnchantsComponent.d.ts b/translate-pieces/server/classes/ItemEnchantsComponent.d.ts index 5163ef0..212b9e1 100644 --- a/translate-pieces/server/classes/ItemEnchantsComponent.d.ts +++ b/translate-pieces/server/classes/ItemEnchantsComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EnchantmentList, ItemComponent } from '../index'; + /** * @beta * When present on an item, this item has applied enchantment diff --git a/translate-pieces/server/classes/ItemFoodComponent.d.ts b/translate-pieces/server/classes/ItemFoodComponent.d.ts index 9568a37..6b7408d 100644 --- a/translate-pieces/server/classes/ItemFoodComponent.d.ts +++ b/translate-pieces/server/classes/ItemFoodComponent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemComponent } from '../index'; + /** * @beta * When present on an item, this item is consumable by diff --git a/translate-pieces/server/classes/ItemReleaseUseAfterEvent.d.ts b/translate-pieces/server/classes/ItemReleaseUseAfterEvent.d.ts index 7833dd9..b592840 100644 --- a/translate-pieces/server/classes/ItemReleaseUseAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemReleaseUseAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStack, Player } from '../index'; + /** * Contains information related to a chargeable item when the * player has finished using the item and released the build diff --git a/translate-pieces/server/classes/ItemReleaseUseAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemReleaseUseAfterEventSignal.d.ts index c5bef7d..30e8d31 100644 --- a/translate-pieces/server/classes/ItemReleaseUseAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemReleaseUseAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemReleaseUseAfterEvent } from '../index'; + /** * Manages callbacks that are connected to the releasing of * charging for a chargeable item. diff --git a/translate-pieces/server/classes/ItemStack.d.ts b/translate-pieces/server/classes/ItemStack.d.ts index a093c16..cbbed27 100644 --- a/translate-pieces/server/classes/ItemStack.d.ts +++ b/translate-pieces/server/classes/ItemStack.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemComponent, ItemComponentTypeMap, ItemLockMode, ItemType } from '../index'; + /** * Defines a collection of items. */ diff --git a/translate-pieces/server/classes/ItemStartUseAfterEvent.d.ts b/translate-pieces/server/classes/ItemStartUseAfterEvent.d.ts index ac73fef..337308b 100644 --- a/translate-pieces/server/classes/ItemStartUseAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemStartUseAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStack, Player } from '../index'; + /** * Contains information related to a chargeable item starting * to be charged. diff --git a/translate-pieces/server/classes/ItemStartUseAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemStartUseAfterEventSignal.d.ts index 92e3484..beafce4 100644 --- a/translate-pieces/server/classes/ItemStartUseAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemStartUseAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStartUseAfterEvent } from '../index'; + /** * Manages callbacks that are connected to the start of * charging for a chargeable item. diff --git a/translate-pieces/server/classes/ItemStartUseOnAfterEvent.d.ts b/translate-pieces/server/classes/ItemStartUseOnAfterEvent.d.ts index af3782f..58418d5 100644 --- a/translate-pieces/server/classes/ItemStartUseOnAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemStartUseOnAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, ItemStack, Player } from '../index'; + /** * Contains information related to an item being used on a * block. This event fires when a player presses the the Use diff --git a/translate-pieces/server/classes/ItemStartUseOnAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemStartUseOnAfterEventSignal.d.ts index 29abc48..3b69657 100644 --- a/translate-pieces/server/classes/ItemStartUseOnAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemStartUseOnAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStartUseOnAfterEvent } from '../index'; + /** * Manages callbacks that are connected to an item starting * being used on a block event. diff --git a/translate-pieces/server/classes/ItemStopUseAfterEvent.d.ts b/translate-pieces/server/classes/ItemStopUseAfterEvent.d.ts index 0797554..54dfb33 100644 --- a/translate-pieces/server/classes/ItemStopUseAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemStopUseAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStack, Player } from '../index'; + /** * Contains information related to a chargeable item has * finished an items use cycle, or when the player has released diff --git a/translate-pieces/server/classes/ItemStopUseAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemStopUseAfterEventSignal.d.ts index d8666da..69d8ca7 100644 --- a/translate-pieces/server/classes/ItemStopUseAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemStopUseAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStopUseAfterEvent } from '../index'; + /** * Manages callbacks that are connected to the stopping of * charging for an item that has a registered diff --git a/translate-pieces/server/classes/ItemStopUseOnAfterEvent.d.ts b/translate-pieces/server/classes/ItemStopUseOnAfterEvent.d.ts index f76bb99..ada579e 100644 --- a/translate-pieces/server/classes/ItemStopUseOnAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemStopUseOnAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, ItemStack, Player } from '../index'; + /** * Contains information related to an item that has stopped * being used on a block. This event fires when a player diff --git a/translate-pieces/server/classes/ItemStopUseOnAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemStopUseOnAfterEventSignal.d.ts index 34feb50..5c48dba 100644 --- a/translate-pieces/server/classes/ItemStopUseOnAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemStopUseOnAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStopUseOnAfterEvent } from '../index'; + /** * Manages callbacks that are connected to an item stops used * on a block event. diff --git a/translate-pieces/server/classes/ItemTypes.d.ts b/translate-pieces/server/classes/ItemTypes.d.ts index b78190f..fa80f5f 100644 --- a/translate-pieces/server/classes/ItemTypes.d.ts +++ b/translate-pieces/server/classes/ItemTypes.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemType } from '../index'; + /** * @beta * Returns the set of item types registered within Minecraft. diff --git a/translate-pieces/server/classes/ItemUseAfterEvent.d.ts b/translate-pieces/server/classes/ItemUseAfterEvent.d.ts index 48c6e2b..25b0c38 100644 --- a/translate-pieces/server/classes/ItemUseAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemUseAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemStack, Player } from '../index'; + /** * Contains information related to an item being used on a * block. This event fires when an item used by a player diff --git a/translate-pieces/server/classes/ItemUseAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemUseAfterEventSignal.d.ts index ba76fe4..446ba95 100644 --- a/translate-pieces/server/classes/ItemUseAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemUseAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemUseAfterEvent } from '../index'; + /** * Manages callbacks that are connected to an item use event. */ diff --git a/translate-pieces/server/classes/ItemUseBeforeEvent.d.ts b/translate-pieces/server/classes/ItemUseBeforeEvent.d.ts index 41e452a..9570beb 100644 --- a/translate-pieces/server/classes/ItemUseBeforeEvent.d.ts +++ b/translate-pieces/server/classes/ItemUseBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemUseAfterEvent } from '../index'; + /** * Contains information related to an item being used. */ diff --git a/translate-pieces/server/classes/ItemUseBeforeEventSignal.d.ts b/translate-pieces/server/classes/ItemUseBeforeEventSignal.d.ts index e7cdab7..76cc874 100644 --- a/translate-pieces/server/classes/ItemUseBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemUseBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemUseBeforeEvent } from '../index'; + /** * Manages callbacks that fire before an item is used. */ diff --git a/translate-pieces/server/classes/ItemUseOnAfterEvent.d.ts b/translate-pieces/server/classes/ItemUseOnAfterEvent.d.ts index 3d95ab2..716866e 100644 --- a/translate-pieces/server/classes/ItemUseOnAfterEvent.d.ts +++ b/translate-pieces/server/classes/ItemUseOnAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, ItemStack, Player, Vector3 } from '../index'; + /** * Contains information related to an item being used on a * block. This event fires when an item used by a player diff --git a/translate-pieces/server/classes/ItemUseOnAfterEventSignal.d.ts b/translate-pieces/server/classes/ItemUseOnAfterEventSignal.d.ts index 60377be..104e2e2 100644 --- a/translate-pieces/server/classes/ItemUseOnAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemUseOnAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemUseOnAfterEvent } from '../index'; + /** * Manages callbacks that are connected to an item being used * on a block event. diff --git a/translate-pieces/server/classes/ItemUseOnBeforeEvent.d.ts b/translate-pieces/server/classes/ItemUseOnBeforeEvent.d.ts index 74e39d9..3021990 100644 --- a/translate-pieces/server/classes/ItemUseOnBeforeEvent.d.ts +++ b/translate-pieces/server/classes/ItemUseOnBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemUseOnAfterEvent } from '../index'; + /** * Contains information related to an item being used on a * block. diff --git a/translate-pieces/server/classes/ItemUseOnBeforeEventSignal.d.ts b/translate-pieces/server/classes/ItemUseOnBeforeEventSignal.d.ts index ff88936..e0a3a96 100644 --- a/translate-pieces/server/classes/ItemUseOnBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/ItemUseOnBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemUseOnBeforeEvent } from '../index'; + /** * Manages callbacks that fire before an item being used on a * block event. diff --git a/translate-pieces/server/classes/LeverActionAfterEvent.d.ts b/translate-pieces/server/classes/LeverActionAfterEvent.d.ts index 77e3cf8..11c71bd 100644 --- a/translate-pieces/server/classes/LeverActionAfterEvent.d.ts +++ b/translate-pieces/server/classes/LeverActionAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, Player } from '../index'; + /** * Contains information related to changes to a lever * activating or deactivating. diff --git a/translate-pieces/server/classes/LeverActionAfterEventSignal.d.ts b/translate-pieces/server/classes/LeverActionAfterEventSignal.d.ts index 4aa2af8..8c846a1 100644 --- a/translate-pieces/server/classes/LeverActionAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/LeverActionAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ILeverActionAfterEventSignal } from '../index'; + /** * Manages callbacks that are connected to lever moves * (activates or deactivates). diff --git a/translate-pieces/server/classes/MessageReceiveAfterEvent.d.ts b/translate-pieces/server/classes/MessageReceiveAfterEvent.d.ts index 83ff2da..5ae1a33 100644 --- a/translate-pieces/server/classes/MessageReceiveAfterEvent.d.ts +++ b/translate-pieces/server/classes/MessageReceiveAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Player } from '../index'; + /** * @beta * A specific currently-internal event used for passing diff --git a/translate-pieces/server/classes/MolangVariableMap.d.ts b/translate-pieces/server/classes/MolangVariableMap.d.ts index 446e315..80c1259 100644 --- a/translate-pieces/server/classes/MolangVariableMap.d.ts +++ b/translate-pieces/server/classes/MolangVariableMap.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RGB, RGBA, Vector3 } from '../index'; + /** * Contains a set of additional variable values for further * defining how rendering and animations function. diff --git a/translate-pieces/server/classes/NavigationResult.d.ts b/translate-pieces/server/classes/NavigationResult.d.ts index 1d2919e..3466a13 100644 --- a/translate-pieces/server/classes/NavigationResult.d.ts +++ b/translate-pieces/server/classes/NavigationResult.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * @beta * Contains data resulting from a navigation operation, diff --git a/translate-pieces/server/classes/PistonActivateAfterEvent.d.ts b/translate-pieces/server/classes/PistonActivateAfterEvent.d.ts index f46c023..21c64d3 100644 --- a/translate-pieces/server/classes/PistonActivateAfterEvent.d.ts +++ b/translate-pieces/server/classes/PistonActivateAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, BlockPistonComponent } from '../index'; + /** * @beta * Contains information related to changes to a piston diff --git a/translate-pieces/server/classes/PistonActivateAfterEventSignal.d.ts b/translate-pieces/server/classes/PistonActivateAfterEventSignal.d.ts index ce2939c..e55bcfd 100644 --- a/translate-pieces/server/classes/PistonActivateAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PistonActivateAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PistonActivateAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to piston activations. diff --git a/translate-pieces/server/classes/PistonActivateBeforeEvent.d.ts b/translate-pieces/server/classes/PistonActivateBeforeEvent.d.ts index 671eab3..db7bcb0 100644 --- a/translate-pieces/server/classes/PistonActivateBeforeEvent.d.ts +++ b/translate-pieces/server/classes/PistonActivateBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, BlockPistonComponent } from '../index'; + /** * @beta * Contains information related to changes before a piston diff --git a/translate-pieces/server/classes/PistonActivateBeforeEventSignal.d.ts b/translate-pieces/server/classes/PistonActivateBeforeEventSignal.d.ts index 15aa333..dcc2d6d 100644 --- a/translate-pieces/server/classes/PistonActivateBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/PistonActivateBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PistonActivateBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to an event that fires diff --git a/translate-pieces/server/classes/Player.d.ts b/translate-pieces/server/classes/Player.d.ts index f41ef19..71a08ba 100644 --- a/translate-pieces/server/classes/Player.d.ts +++ b/translate-pieces/server/classes/Player.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Camera, DimensionLocation, Entity, LocationInUnloadedChunkError, LocationOutOfWorldBoundariesError, MolangVariableMap, MusicOptions, PlayerSoundOptions, RawMessage, ScreenDisplay, Vector3 } from '../index'; + /** * Represents a player within the world. */ diff --git a/translate-pieces/server/classes/PlayerBreakBlockAfterEvent.d.ts b/translate-pieces/server/classes/PlayerBreakBlockAfterEvent.d.ts index 8af0221..6eb637e 100644 --- a/translate-pieces/server/classes/PlayerBreakBlockAfterEvent.d.ts +++ b/translate-pieces/server/classes/PlayerBreakBlockAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, BlockPermutation, ItemStack, Player } from '../index'; + /** * Contains information regarding an event after a player * breaks a block. diff --git a/translate-pieces/server/classes/PlayerBreakBlockAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerBreakBlockAfterEventSignal.d.ts index 0675130..42d2a67 100644 --- a/translate-pieces/server/classes/PlayerBreakBlockAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerBreakBlockAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEventOptions, PlayerBreakBlockAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a player breaks * a block. diff --git a/translate-pieces/server/classes/PlayerBreakBlockBeforeEvent.d.ts b/translate-pieces/server/classes/PlayerBreakBlockBeforeEvent.d.ts index c99e78c..e796d67 100644 --- a/translate-pieces/server/classes/PlayerBreakBlockBeforeEvent.d.ts +++ b/translate-pieces/server/classes/PlayerBreakBlockBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, ItemStack, Player } from '../index'; + /** * Contains information regarding an event before a player * breaks a block. diff --git a/translate-pieces/server/classes/PlayerBreakBlockBeforeEventSignal.d.ts b/translate-pieces/server/classes/PlayerBreakBlockBeforeEventSignal.d.ts index 691528d..1fd28d5 100644 --- a/translate-pieces/server/classes/PlayerBreakBlockBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerBreakBlockBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEventOptions, PlayerBreakBlockBeforeEvent } from '../index'; + /** * Manages callbacks that are connected to before a player * breaks a block. diff --git a/translate-pieces/server/classes/PlayerDimensionChangeAfterEvent.d.ts b/translate-pieces/server/classes/PlayerDimensionChangeAfterEvent.d.ts index 1640dde..f2605e9 100644 --- a/translate-pieces/server/classes/PlayerDimensionChangeAfterEvent.d.ts +++ b/translate-pieces/server/classes/PlayerDimensionChangeAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Dimension, Player, Vector3 } from '../index'; + /** * Contains information related to changes to a player's * dimension having been changed. diff --git a/translate-pieces/server/classes/PlayerDimensionChangeAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerDimensionChangeAfterEventSignal.d.ts index ef478eb..656e240 100644 --- a/translate-pieces/server/classes/PlayerDimensionChangeAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerDimensionChangeAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerDimensionChangeAfterEvent } from '../index'; + /** * Manages callbacks that are connected to successful player * dimension changes. diff --git a/translate-pieces/server/classes/PlayerInteractWithBlockAfterEvent.d.ts b/translate-pieces/server/classes/PlayerInteractWithBlockAfterEvent.d.ts index a7f77df..59be90f 100644 --- a/translate-pieces/server/classes/PlayerInteractWithBlockAfterEvent.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithBlockAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, ItemStack, Player, Vector3 } from '../index'; + /** * @beta * Contains information regarding an event after a player diff --git a/translate-pieces/server/classes/PlayerInteractWithBlockAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerInteractWithBlockAfterEventSignal.d.ts index 2c72356..4fa7cd0 100644 --- a/translate-pieces/server/classes/PlayerInteractWithBlockAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithBlockAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerInteractWithBlockAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to after a player diff --git a/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEvent.d.ts b/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEvent.d.ts index 759a2a4..062f402 100644 --- a/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEvent.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, ItemStack, Player, Vector3 } from '../index'; + /** * @beta * Contains information regarding an event before a player diff --git a/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEventSignal.d.ts b/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEventSignal.d.ts index 181dbc1..1bb36b2 100644 --- a/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithBlockBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerInteractWithBlockBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to before a player diff --git a/translate-pieces/server/classes/PlayerInteractWithEntityAfterEvent.d.ts b/translate-pieces/server/classes/PlayerInteractWithEntityAfterEvent.d.ts index e4d1412..c78121f 100644 --- a/translate-pieces/server/classes/PlayerInteractWithEntityAfterEvent.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithEntityAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, ItemStack, Player } from '../index'; + /** * @beta * Contains information regarding an event after a player diff --git a/translate-pieces/server/classes/PlayerInteractWithEntityAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerInteractWithEntityAfterEventSignal.d.ts index f3b604e..19b7b30 100644 --- a/translate-pieces/server/classes/PlayerInteractWithEntityAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithEntityAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerInteractWithEntityAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to after a player diff --git a/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEvent.d.ts b/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEvent.d.ts index 21e6b12..2b5e8f1 100644 --- a/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEvent.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, ItemStack, Player } from '../index'; + /** * @beta * Contains information regarding an event before a player diff --git a/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEventSignal.d.ts b/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEventSignal.d.ts index 11772fb..ed91bb2 100644 --- a/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerInteractWithEntityBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerInteractWithEntityBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to before a player diff --git a/translate-pieces/server/classes/PlayerIterator.d.ts b/translate-pieces/server/classes/PlayerIterator.d.ts index 68df9dd..2849f56 100644 --- a/translate-pieces/server/classes/PlayerIterator.d.ts +++ b/translate-pieces/server/classes/PlayerIterator.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Player } from '../index'; + /** * @beta * This type is usable for iterating over a set of players. diff --git a/translate-pieces/server/classes/PlayerJoinAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerJoinAfterEventSignal.d.ts index 48535a2..6cd42ab 100644 --- a/translate-pieces/server/classes/PlayerJoinAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerJoinAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPlayerJoinAfterEventSignal } from '../index'; + /** * Manages callbacks that are connected to a player joining the * world. diff --git a/translate-pieces/server/classes/PlayerLeaveAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerLeaveAfterEventSignal.d.ts index c37457f..d6abf3b 100644 --- a/translate-pieces/server/classes/PlayerLeaveAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerLeaveAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPlayerLeaveAfterEventSignal } from '../index'; + /** * Manages callbacks that are connected to a player leaving the * world. diff --git a/translate-pieces/server/classes/PlayerLeaveBeforeEvent.d.ts b/translate-pieces/server/classes/PlayerLeaveBeforeEvent.d.ts index 9ea8914..c150935 100644 --- a/translate-pieces/server/classes/PlayerLeaveBeforeEvent.d.ts +++ b/translate-pieces/server/classes/PlayerLeaveBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Player } from '../index'; + /** * @beta */ diff --git a/translate-pieces/server/classes/PlayerLeaveBeforeEventSignal.d.ts b/translate-pieces/server/classes/PlayerLeaveBeforeEventSignal.d.ts index dee0ac3..a46954b 100644 --- a/translate-pieces/server/classes/PlayerLeaveBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerLeaveBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PlayerLeaveBeforeEvent } from '../index'; + /** * @beta */ diff --git a/translate-pieces/server/classes/PlayerPlaceBlockAfterEvent.d.ts b/translate-pieces/server/classes/PlayerPlaceBlockAfterEvent.d.ts index e4149dc..ba08f8d 100644 --- a/translate-pieces/server/classes/PlayerPlaceBlockAfterEvent.d.ts +++ b/translate-pieces/server/classes/PlayerPlaceBlockAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, Player } from '../index'; + /** * Contains information regarding an event where a player * places a block. diff --git a/translate-pieces/server/classes/PlayerPlaceBlockAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerPlaceBlockAfterEventSignal.d.ts index 26bab49..195be70 100644 --- a/translate-pieces/server/classes/PlayerPlaceBlockAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerPlaceBlockAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEventOptions, PlayerPlaceBlockAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a block is * placed by a player. diff --git a/translate-pieces/server/classes/PlayerPlaceBlockBeforeEvent.d.ts b/translate-pieces/server/classes/PlayerPlaceBlockBeforeEvent.d.ts index 4a1994d..6aae6b4 100644 --- a/translate-pieces/server/classes/PlayerPlaceBlockBeforeEvent.d.ts +++ b/translate-pieces/server/classes/PlayerPlaceBlockBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, BlockPermutation, Direction, Player, Vector3 } from '../index'; + /** * @beta * Contains information regarding an event before a player diff --git a/translate-pieces/server/classes/PlayerPlaceBlockBeforeEventSignal.d.ts b/translate-pieces/server/classes/PlayerPlaceBlockBeforeEventSignal.d.ts index dbcc6bf..5ea2e23 100644 --- a/translate-pieces/server/classes/PlayerPlaceBlockBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerPlaceBlockBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEventOptions, PlayerPlaceBlockBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to before a block is diff --git a/translate-pieces/server/classes/PlayerSpawnAfterEvent.d.ts b/translate-pieces/server/classes/PlayerSpawnAfterEvent.d.ts index 83338c4..8576131 100644 --- a/translate-pieces/server/classes/PlayerSpawnAfterEvent.d.ts +++ b/translate-pieces/server/classes/PlayerSpawnAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Player } from '../index'; + /** * An event that contains more information about a player * spawning. diff --git a/translate-pieces/server/classes/PlayerSpawnAfterEventSignal.d.ts b/translate-pieces/server/classes/PlayerSpawnAfterEventSignal.d.ts index 33a06b5..d7d79b0 100644 --- a/translate-pieces/server/classes/PlayerSpawnAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PlayerSpawnAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { IPlayerSpawnAfterEventSignal } from '../index'; + /** * Registers an event when a player is spawned (or re-spawned * after death) and fully ready within the world. diff --git a/translate-pieces/server/classes/PressurePlatePopAfterEvent.d.ts b/translate-pieces/server/classes/PressurePlatePopAfterEvent.d.ts index 5d804dc..936a847 100644 --- a/translate-pieces/server/classes/PressurePlatePopAfterEvent.d.ts +++ b/translate-pieces/server/classes/PressurePlatePopAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent } from '../index'; + /** * Contains information related to changes to a pressure plate * pop. diff --git a/translate-pieces/server/classes/PressurePlatePopAfterEventSignal.d.ts b/translate-pieces/server/classes/PressurePlatePopAfterEventSignal.d.ts index 58be880..a580d7b 100644 --- a/translate-pieces/server/classes/PressurePlatePopAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PressurePlatePopAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PressurePlatePopAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a pressure * plate is popped. diff --git a/translate-pieces/server/classes/PressurePlatePushAfterEvent.d.ts b/translate-pieces/server/classes/PressurePlatePushAfterEvent.d.ts index 37a05f5..c870d8a 100644 --- a/translate-pieces/server/classes/PressurePlatePushAfterEvent.d.ts +++ b/translate-pieces/server/classes/PressurePlatePushAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, Entity } from '../index'; + /** * Contains information related to changes to a pressure plate * push. diff --git a/translate-pieces/server/classes/PressurePlatePushAfterEventSignal.d.ts b/translate-pieces/server/classes/PressurePlatePushAfterEventSignal.d.ts index 4553bdb..d000fbe 100644 --- a/translate-pieces/server/classes/PressurePlatePushAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/PressurePlatePushAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { PressurePlatePushAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a pressure * plate is pushed. diff --git a/translate-pieces/server/classes/ProjectileHitBlockAfterEvent.d.ts b/translate-pieces/server/classes/ProjectileHitBlockAfterEvent.d.ts index ac1c70e..0fead22 100644 --- a/translate-pieces/server/classes/ProjectileHitBlockAfterEvent.d.ts +++ b/translate-pieces/server/classes/ProjectileHitBlockAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockHitInformation, Dimension, Entity, Vector3 } from '../index'; + /** * Contains information related to a projectile hitting a * block. diff --git a/translate-pieces/server/classes/ProjectileHitBlockAfterEventSignal.d.ts b/translate-pieces/server/classes/ProjectileHitBlockAfterEventSignal.d.ts index da00dc5..7386548 100644 --- a/translate-pieces/server/classes/ProjectileHitBlockAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ProjectileHitBlockAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ProjectileHitBlockAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a projectile * hits a block. diff --git a/translate-pieces/server/classes/ProjectileHitEntityAfterEvent.d.ts b/translate-pieces/server/classes/ProjectileHitEntityAfterEvent.d.ts index 9438173..1e2931a 100644 --- a/translate-pieces/server/classes/ProjectileHitEntityAfterEvent.d.ts +++ b/translate-pieces/server/classes/ProjectileHitEntityAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Dimension, Entity, EntityHitInformation, Vector3 } from '../index'; + /** * Contains information related to a projectile hitting an * entity. diff --git a/translate-pieces/server/classes/ProjectileHitEntityAfterEventSignal.d.ts b/translate-pieces/server/classes/ProjectileHitEntityAfterEventSignal.d.ts index e8f6313..dd4019c 100644 --- a/translate-pieces/server/classes/ProjectileHitEntityAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ProjectileHitEntityAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ProjectileHitEntityAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a projectile * hits an entity. diff --git a/translate-pieces/server/classes/Scoreboard.d.ts b/translate-pieces/server/classes/Scoreboard.d.ts index 672a490..a33aaf3 100644 --- a/translate-pieces/server/classes/Scoreboard.d.ts +++ b/translate-pieces/server/classes/Scoreboard.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { DisplaySlotId, ScoreboardIdentity, ScoreboardObjective, ScoreboardObjectiveDisplayOptions } from '../index'; + /** * Contains objectives and participants for the scoreboard. */ diff --git a/translate-pieces/server/classes/ScoreboardIdentity.d.ts b/translate-pieces/server/classes/ScoreboardIdentity.d.ts index 6a2f3e0..05fb68f 100644 --- a/translate-pieces/server/classes/ScoreboardIdentity.d.ts +++ b/translate-pieces/server/classes/ScoreboardIdentity.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, ScoreboardIdentityType } from '../index'; + /** * Contains an identity of the scoreboard item. */ diff --git a/translate-pieces/server/classes/ScoreboardObjective.d.ts b/translate-pieces/server/classes/ScoreboardObjective.d.ts index 093a4ab..1cff798 100644 --- a/translate-pieces/server/classes/ScoreboardObjective.d.ts +++ b/translate-pieces/server/classes/ScoreboardObjective.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, ScoreboardIdentity, ScoreboardScoreInfo } from '../index'; + /** * Contains objectives and participants for the scoreboard. */ diff --git a/translate-pieces/server/classes/ScoreboardScoreInfo.d.ts b/translate-pieces/server/classes/ScoreboardScoreInfo.d.ts index 9aa0f57..fbd0765 100644 --- a/translate-pieces/server/classes/ScoreboardScoreInfo.d.ts +++ b/translate-pieces/server/classes/ScoreboardScoreInfo.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ScoreboardIdentity } from '../index'; + /** * Contains a pair of a scoreboard participant and its * respective score. diff --git a/translate-pieces/server/classes/ScreenDisplay.d.ts b/translate-pieces/server/classes/ScreenDisplay.d.ts index 4d722df..620b3b1 100644 --- a/translate-pieces/server/classes/ScreenDisplay.d.ts +++ b/translate-pieces/server/classes/ScreenDisplay.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RawMessage, TitleDisplayOptions } from '../index'; + /** * Contains information about user interface elements that are * showing up on the screen. diff --git a/translate-pieces/server/classes/ScriptEventCommandMessageAfterEvent.d.ts b/translate-pieces/server/classes/ScriptEventCommandMessageAfterEvent.d.ts index 177fa9d..314872c 100644 --- a/translate-pieces/server/classes/ScriptEventCommandMessageAfterEvent.d.ts +++ b/translate-pieces/server/classes/ScriptEventCommandMessageAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Entity, ScriptEventSource } from '../index'; + /** * Returns additional data about a /scriptevent command * invocation. diff --git a/translate-pieces/server/classes/ScriptEventCommandMessageAfterEventSignal.d.ts b/translate-pieces/server/classes/ScriptEventCommandMessageAfterEventSignal.d.ts index ba6cdd7..801d899 100644 --- a/translate-pieces/server/classes/ScriptEventCommandMessageAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ScriptEventCommandMessageAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ScriptEventCommandMessageAfterEvent, ScriptEventMessageFilterOptions } from '../index'; + /** * Allows for registering an event handler that responds to * inbound /scriptevent commands. diff --git a/translate-pieces/server/classes/Seat.d.ts b/translate-pieces/server/classes/Seat.d.ts index 865d672..a84fe11 100644 --- a/translate-pieces/server/classes/Seat.d.ts +++ b/translate-pieces/server/classes/Seat.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * @beta * Describes a particular seating position on this rideable diff --git a/translate-pieces/server/classes/ServerMessageAfterEventSignal.d.ts b/translate-pieces/server/classes/ServerMessageAfterEventSignal.d.ts index c60c328..20e2f3e 100644 --- a/translate-pieces/server/classes/ServerMessageAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/ServerMessageAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { MessageReceiveAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are message passing to a server. This diff --git a/translate-pieces/server/classes/System.d.ts b/translate-pieces/server/classes/System.d.ts index 8b170c2..556ff0e 100644 --- a/translate-pieces/server/classes/System.d.ts +++ b/translate-pieces/server/classes/System.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { SystemAfterEvents, SystemBeforeEvents } from '../index'; + /** * A class that provides system-level events and functions. */ diff --git a/translate-pieces/server/classes/SystemAfterEvents.d.ts b/translate-pieces/server/classes/SystemAfterEvents.d.ts index 61988cd..d291cf3 100644 --- a/translate-pieces/server/classes/SystemAfterEvents.d.ts +++ b/translate-pieces/server/classes/SystemAfterEvents.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ScriptEventCommandMessageAfterEventSignal } from '../index'; + /** * Provides a set of events that fire within the broader * scripting system within Minecraft. diff --git a/translate-pieces/server/classes/SystemBeforeEvents.d.ts b/translate-pieces/server/classes/SystemBeforeEvents.d.ts index 383348d..3fb56da 100644 --- a/translate-pieces/server/classes/SystemBeforeEvents.d.ts +++ b/translate-pieces/server/classes/SystemBeforeEvents.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { WatchdogTerminateBeforeEventSignal } from '../index'; + /** * @beta * A set of events that fire before an actual action occurs. In diff --git a/translate-pieces/server/classes/TargetBlockHitAfterEvent.d.ts b/translate-pieces/server/classes/TargetBlockHitAfterEvent.d.ts index e779123..accdb20 100644 --- a/translate-pieces/server/classes/TargetBlockHitAfterEvent.d.ts +++ b/translate-pieces/server/classes/TargetBlockHitAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, Entity, Vector3 } from '../index'; + /** * Contains information related to changes to a target block * hit. diff --git a/translate-pieces/server/classes/TargetBlockHitAfterEventSignal.d.ts b/translate-pieces/server/classes/TargetBlockHitAfterEventSignal.d.ts index d6be471..642e640 100644 --- a/translate-pieces/server/classes/TargetBlockHitAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/TargetBlockHitAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { TargetBlockHitAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a target block * is hit. diff --git a/translate-pieces/server/classes/TripWireTripAfterEvent.d.ts b/translate-pieces/server/classes/TripWireTripAfterEvent.d.ts index ee8c107..2bb215a 100644 --- a/translate-pieces/server/classes/TripWireTripAfterEvent.d.ts +++ b/translate-pieces/server/classes/TripWireTripAfterEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockEvent, Entity } from '../index'; + /** * Contains information related to changes to a trip wire trip. */ diff --git a/translate-pieces/server/classes/TripWireTripAfterEventSignal.d.ts b/translate-pieces/server/classes/TripWireTripAfterEventSignal.d.ts index bb7fcb7..5a18509 100644 --- a/translate-pieces/server/classes/TripWireTripAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/TripWireTripAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { TripWireTripAfterEvent } from '../index'; + /** * Manages callbacks that are connected to when a trip wire is * tripped. diff --git a/translate-pieces/server/classes/Vector.d.ts b/translate-pieces/server/classes/Vector.d.ts index e36d576..9fbf923 100644 --- a/translate-pieces/server/classes/Vector.d.ts +++ b/translate-pieces/server/classes/Vector.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * @beta * Contains a description of a vector. diff --git a/translate-pieces/server/classes/WatchdogTerminateBeforeEvent.d.ts b/translate-pieces/server/classes/WatchdogTerminateBeforeEvent.d.ts index 6422002..58be347 100644 --- a/translate-pieces/server/classes/WatchdogTerminateBeforeEvent.d.ts +++ b/translate-pieces/server/classes/WatchdogTerminateBeforeEvent.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { WatchdogTerminateReason } from '../index'; + /** * @beta * Contains information related to a script watchdog diff --git a/translate-pieces/server/classes/WatchdogTerminateBeforeEventSignal.d.ts b/translate-pieces/server/classes/WatchdogTerminateBeforeEventSignal.d.ts index 9456db7..4304167 100644 --- a/translate-pieces/server/classes/WatchdogTerminateBeforeEventSignal.d.ts +++ b/translate-pieces/server/classes/WatchdogTerminateBeforeEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { WatchdogTerminateBeforeEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to a callback that will diff --git a/translate-pieces/server/classes/WeatherChangeAfterEventSignal.d.ts b/translate-pieces/server/classes/WeatherChangeAfterEventSignal.d.ts index f8ffa60..b0a1341 100644 --- a/translate-pieces/server/classes/WeatherChangeAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/WeatherChangeAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { WeatherChangeAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are connected to weather changing. diff --git a/translate-pieces/server/classes/World.d.ts b/translate-pieces/server/classes/World.d.ts index 4b4cca8..19f6658 100644 --- a/translate-pieces/server/classes/World.d.ts +++ b/translate-pieces/server/classes/World.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Dimension, Entity, EntityQueryOptions, LocationOutOfWorldBoundariesError, MoonPhase, MusicOptions, Player, RawMessage, Scoreboard, TimeOfDay, Vector3, WorldAfterEvents, WorldBeforeEvents, WorldSoundOptions } from '../index'; + /** * A class that wraps the state of a world - a set of * dimensions and the environment of Minecraft. diff --git a/translate-pieces/server/classes/WorldAfterEvents.d.ts b/translate-pieces/server/classes/WorldAfterEvents.d.ts index b73f764..2d14b3f 100644 --- a/translate-pieces/server/classes/WorldAfterEvents.d.ts +++ b/translate-pieces/server/classes/WorldAfterEvents.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockExplodeAfterEventSignal, ButtonPushAfterEventSignal, ChatSendAfterEventSignal, DataDrivenEntityTriggerAfterEventSignal, EffectAddAfterEventSignal, EntityDieAfterEventSignal, EntityHealthChangedAfterEventSignal, EntityHitBlockAfterEventSignal, EntityHitEntityAfterEventSignal, EntityHurtAfterEventSignal, EntityLoadAfterEventSignal, EntityRemoveAfterEventSignal, EntitySpawnAfterEventSignal, ExplosionAfterEventSignal, ItemCompleteUseAfterEventSignal, ItemDefinitionAfterEventSignal, ItemReleaseUseAfterEventSignal, ItemStartUseAfterEventSignal, ItemStartUseOnAfterEventSignal, ItemStopUseAfterEventSignal, ItemStopUseOnAfterEventSignal, ItemUseAfterEventSignal, ItemUseOnAfterEventSignal, LeverActionAfterEventSignal, PistonActivateAfterEventSignal, PlayerBreakBlockAfterEventSignal, PlayerDimensionChangeAfterEventSignal, PlayerInteractWithBlockAfterEventSignal, PlayerInteractWithEntityAfterEventSignal, PlayerJoinAfterEventSignal, PlayerLeaveAfterEventSignal, PlayerPlaceBlockAfterEventSignal, PlayerSpawnAfterEventSignal, PressurePlatePopAfterEventSignal, PressurePlatePushAfterEventSignal, ProjectileHitBlockAfterEventSignal, ProjectileHitEntityAfterEventSignal, ServerMessageAfterEventSignal, TargetBlockHitAfterEventSignal, TripWireTripAfterEventSignal, WeatherChangeAfterEventSignal, WorldInitializeAfterEventSignal } from '../index'; + /** * Contains a set of events that are available across the scope * of the World. diff --git a/translate-pieces/server/classes/WorldBeforeEvents.d.ts b/translate-pieces/server/classes/WorldBeforeEvents.d.ts index e6e6df8..1d11b28 100644 --- a/translate-pieces/server/classes/WorldBeforeEvents.d.ts +++ b/translate-pieces/server/classes/WorldBeforeEvents.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ChatSendBeforeEventSignal, DataDrivenEntityTriggerBeforeEventSignal, EffectAddBeforeEventSignal, EntityRemoveBeforeEventSignal, ExplosionBeforeEventSignal, ItemDefinitionBeforeEventSignal, ItemUseBeforeEventSignal, ItemUseOnBeforeEventSignal, PistonActivateBeforeEventSignal, PlayerBreakBlockBeforeEventSignal, PlayerInteractWithBlockBeforeEventSignal, PlayerInteractWithEntityBeforeEventSignal, PlayerLeaveBeforeEventSignal, PlayerPlaceBlockBeforeEventSignal } from '../index'; + /** * A set of events that fire before an actual action occurs. In * most cases, you can potentially cancel or modify the diff --git a/translate-pieces/server/classes/WorldInitializeAfterEventSignal.d.ts b/translate-pieces/server/classes/WorldInitializeAfterEventSignal.d.ts index 98b53c9..ddaa394 100644 --- a/translate-pieces/server/classes/WorldInitializeAfterEventSignal.d.ts +++ b/translate-pieces/server/classes/WorldInitializeAfterEventSignal.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { WorldInitializeAfterEvent } from '../index'; + /** * @beta * Manages callbacks that are run at the initialization of the diff --git a/translate-pieces/server/enums/Direction.d.ts b/translate-pieces/server/enums/Direction.d.ts index e9aba6e..180a5c1 100644 --- a/translate-pieces/server/enums/Direction.d.ts +++ b/translate-pieces/server/enums/Direction.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block } from '../index'; + /** * A general purpose relative direction enumeration. */ diff --git a/translate-pieces/server/index.d.ts b/translate-pieces/server/index.d.ts new file mode 100644 index 0000000..5eae7a0 --- /dev/null +++ b/translate-pieces/server/index.d.ts @@ -0,0 +1,346 @@ +import * as minecraftcommon from '../../translated/common'; +export { minecraftcommon }; +export { BlockComponentTypes } from './enums/BlockComponentTypes'; +export { BlockVolumeIntersection } from './enums/BlockVolumeIntersection'; +export { CompoundBlockVolumeAction } from './enums/CompoundBlockVolumeAction'; +export { CompoundBlockVolumePositionRelativity } from './enums/CompoundBlockVolumePositionRelativity'; +export { Difficulty } from './enums/Difficulty'; +export { Direction } from './enums/Direction'; +export { DisplaySlotId } from './enums/DisplaySlotId'; +export { DyeColor } from './enums/DyeColor'; +export { EasingType } from './enums/EasingType'; +export { EntityComponentTypes } from './enums/EntityComponentTypes'; +export { EntityDamageCause } from './enums/EntityDamageCause'; +export { EntityInitializationCause } from './enums/EntityInitializationCause'; +export { EntityLifetimeState } from './enums/EntityLifetimeState'; +export { EquipmentSlot } from './enums/EquipmentSlot'; +export { FluidType } from './enums/FluidType'; +export { GameMode } from './enums/GameMode'; +export { ItemComponentTypes } from './enums/ItemComponentTypes'; +export { ItemLockMode } from './enums/ItemLockMode'; +export { MoonPhase } from './enums/MoonPhase'; +export { ObjectiveSortOrder } from './enums/ObjectiveSortOrder'; +export { ScoreboardIdentityType } from './enums/ScoreboardIdentityType'; +export { ScriptEventSource } from './enums/ScriptEventSource'; +export { SignSide } from './enums/SignSide'; +export { TimeOfDay } from './enums/TimeOfDay'; +export { WatchdogTerminateReason } from './enums/WatchdogTerminateReason'; +export { WeatherType } from './enums/WeatherType'; +export { BlockComponentTypeMap } from './types/BlockComponentTypeMap'; +export { EntityComponentTypeMap } from './types/EntityComponentTypeMap'; +export { ItemComponentTypeMap } from './types/ItemComponentTypeMap'; +export { Block } from './classes/Block'; +export { BlockAreaSize } from './classes/BlockAreaSize'; +export { BlockComponent } from './classes/BlockComponent'; +export { BlockEvent } from './classes/BlockEvent'; +export { BlockExplodeAfterEvent } from './classes/BlockExplodeAfterEvent'; +export { BlockExplodeAfterEventSignal } from './classes/BlockExplodeAfterEventSignal'; +export { BlockInventoryComponent } from './classes/BlockInventoryComponent'; +export { BlockLavaContainerComponent } from './classes/BlockLavaContainerComponent'; +export { BlockLiquidContainerComponent } from './classes/BlockLiquidContainerComponent'; +export { BlockLocationIterator } from './classes/BlockLocationIterator'; +export { BlockPermutation } from './classes/BlockPermutation'; +export { BlockPistonComponent } from './classes/BlockPistonComponent'; +export { BlockPotionContainerComponent } from './classes/BlockPotionContainerComponent'; +export { BlockRecordPlayerComponent } from './classes/BlockRecordPlayerComponent'; +export { BlockSignComponent } from './classes/BlockSignComponent'; +export { BlockSnowContainerComponent } from './classes/BlockSnowContainerComponent'; +export { BlockStates } from './classes/BlockStates'; +export { BlockStateType } from './classes/BlockStateType'; +export { BlockType } from './classes/BlockType'; +export { BlockTypes } from './classes/BlockTypes'; +export { BlockVolumeUtils } from './classes/BlockVolumeUtils'; +export { BlockWaterContainerComponent } from './classes/BlockWaterContainerComponent'; +export { BoundingBoxUtils } from './classes/BoundingBoxUtils'; +export { ButtonPushAfterEvent } from './classes/ButtonPushAfterEvent'; +export { ButtonPushAfterEventSignal } from './classes/ButtonPushAfterEventSignal'; +export { Camera } from './classes/Camera'; +export { ChatSendAfterEvent } from './classes/ChatSendAfterEvent'; +export { ChatSendAfterEventSignal } from './classes/ChatSendAfterEventSignal'; +export { ChatSendBeforeEvent } from './classes/ChatSendBeforeEvent'; +export { ChatSendBeforeEventSignal } from './classes/ChatSendBeforeEventSignal'; +export { CommandResult } from './classes/CommandResult'; +export { Component } from './classes/Component'; +export { CompoundBlockVolume } from './classes/CompoundBlockVolume'; +export { Container } from './classes/Container'; +export { ContainerSlot } from './classes/ContainerSlot'; +export { DataDrivenEntityTriggerAfterEvent } from './classes/DataDrivenEntityTriggerAfterEvent'; +export { DataDrivenEntityTriggerAfterEventSignal } from './classes/DataDrivenEntityTriggerAfterEventSignal'; +export { DataDrivenEntityTriggerBeforeEvent } from './classes/DataDrivenEntityTriggerBeforeEvent'; +export { DataDrivenEntityTriggerBeforeEventSignal } from './classes/DataDrivenEntityTriggerBeforeEventSignal'; +export { Dimension } from './classes/Dimension'; +export { DimensionType } from './classes/DimensionType'; +export { DimensionTypes } from './classes/DimensionTypes'; +export { Effect } from './classes/Effect'; +export { EffectAddAfterEvent } from './classes/EffectAddAfterEvent'; +export { EffectAddAfterEventSignal } from './classes/EffectAddAfterEventSignal'; +export { EffectAddBeforeEvent } from './classes/EffectAddBeforeEvent'; +export { EffectAddBeforeEventSignal } from './classes/EffectAddBeforeEventSignal'; +export { EffectType } from './classes/EffectType'; +export { EffectTypes } from './classes/EffectTypes'; +export { Enchantment } from './classes/Enchantment'; +export { EnchantmentList } from './classes/EnchantmentList'; +export { EnchantmentSlot } from './classes/EnchantmentSlot'; +export { EnchantmentType } from './classes/EnchantmentType'; +export { EnchantmentTypes } from './classes/EnchantmentTypes'; +export { Entity } from './classes/Entity'; +export { EntityAddRiderComponent } from './classes/EntityAddRiderComponent'; +export { EntityAgeableComponent } from './classes/EntityAgeableComponent'; +export { EntityAttributeComponent } from './classes/EntityAttributeComponent'; +export { EntityBaseMovementComponent } from './classes/EntityBaseMovementComponent'; +export { EntityBreathableComponent } from './classes/EntityBreathableComponent'; +export { EntityCanClimbComponent } from './classes/EntityCanClimbComponent'; +export { EntityCanFlyComponent } from './classes/EntityCanFlyComponent'; +export { EntityCanPowerJumpComponent } from './classes/EntityCanPowerJumpComponent'; +export { EntityColorComponent } from './classes/EntityColorComponent'; +export { EntityComponent } from './classes/EntityComponent'; +export { EntityDefinitionFeedItem } from './classes/EntityDefinitionFeedItem'; +export { EntityDieAfterEvent } from './classes/EntityDieAfterEvent'; +export { EntityDieAfterEventSignal } from './classes/EntityDieAfterEventSignal'; +export { EntityEquippableComponent } from './classes/EntityEquippableComponent'; +export { EntityFireImmuneComponent } from './classes/EntityFireImmuneComponent'; +export { EntityFloatsInLiquidComponent } from './classes/EntityFloatsInLiquidComponent'; +export { EntityFlyingSpeedComponent } from './classes/EntityFlyingSpeedComponent'; +export { EntityFrictionModifierComponent } from './classes/EntityFrictionModifierComponent'; +export { EntityGroundOffsetComponent } from './classes/EntityGroundOffsetComponent'; +export { EntityHealableComponent } from './classes/EntityHealableComponent'; +export { EntityHealthChangedAfterEvent } from './classes/EntityHealthChangedAfterEvent'; +export { EntityHealthChangedAfterEventSignal } from './classes/EntityHealthChangedAfterEventSignal'; +export { EntityHealthComponent } from './classes/EntityHealthComponent'; +export { EntityHitBlockAfterEvent } from './classes/EntityHitBlockAfterEvent'; +export { EntityHitBlockAfterEventSignal } from './classes/EntityHitBlockAfterEventSignal'; +export { EntityHitEntityAfterEvent } from './classes/EntityHitEntityAfterEvent'; +export { EntityHitEntityAfterEventSignal } from './classes/EntityHitEntityAfterEventSignal'; +export { EntityHurtAfterEvent } from './classes/EntityHurtAfterEvent'; +export { EntityHurtAfterEventSignal } from './classes/EntityHurtAfterEventSignal'; +export { EntityInventoryComponent } from './classes/EntityInventoryComponent'; +export { EntityIsBabyComponent } from './classes/EntityIsBabyComponent'; +export { EntityIsChargedComponent } from './classes/EntityIsChargedComponent'; +export { EntityIsChestedComponent } from './classes/EntityIsChestedComponent'; +export { EntityIsDyeableComponent } from './classes/EntityIsDyeableComponent'; +export { EntityIsHiddenWhenInvisibleComponent } from './classes/EntityIsHiddenWhenInvisibleComponent'; +export { EntityIsIgnitedComponent } from './classes/EntityIsIgnitedComponent'; +export { EntityIsIllagerCaptainComponent } from './classes/EntityIsIllagerCaptainComponent'; +export { EntityIsSaddledComponent } from './classes/EntityIsSaddledComponent'; +export { EntityIsShakingComponent } from './classes/EntityIsShakingComponent'; +export { EntityIsShearedComponent } from './classes/EntityIsShearedComponent'; +export { EntityIsStackableComponent } from './classes/EntityIsStackableComponent'; +export { EntityIsStunnedComponent } from './classes/EntityIsStunnedComponent'; +export { EntityIsTamedComponent } from './classes/EntityIsTamedComponent'; +export { EntityItemComponent } from './classes/EntityItemComponent'; +export { EntityIterator } from './classes/EntityIterator'; +export { EntityLavaMovementComponent } from './classes/EntityLavaMovementComponent'; +export { EntityLeashableComponent } from './classes/EntityLeashableComponent'; +export { EntityLoadAfterEvent } from './classes/EntityLoadAfterEvent'; +export { EntityLoadAfterEventSignal } from './classes/EntityLoadAfterEventSignal'; +export { EntityMarkVariantComponent } from './classes/EntityMarkVariantComponent'; +export { EntityMountTamingComponent } from './classes/EntityMountTamingComponent'; +export { EntityMovementAmphibiousComponent } from './classes/EntityMovementAmphibiousComponent'; +export { EntityMovementBasicComponent } from './classes/EntityMovementBasicComponent'; +export { EntityMovementComponent } from './classes/EntityMovementComponent'; +export { EntityMovementFlyComponent } from './classes/EntityMovementFlyComponent'; +export { EntityMovementGenericComponent } from './classes/EntityMovementGenericComponent'; +export { EntityMovementGlideComponent } from './classes/EntityMovementGlideComponent'; +export { EntityMovementHoverComponent } from './classes/EntityMovementHoverComponent'; +export { EntityMovementJumpComponent } from './classes/EntityMovementJumpComponent'; +export { EntityMovementSkipComponent } from './classes/EntityMovementSkipComponent'; +export { EntityMovementSwayComponent } from './classes/EntityMovementSwayComponent'; +export { EntityNavigationClimbComponent } from './classes/EntityNavigationClimbComponent'; +export { EntityNavigationComponent } from './classes/EntityNavigationComponent'; +export { EntityNavigationFloatComponent } from './classes/EntityNavigationFloatComponent'; +export { EntityNavigationFlyComponent } from './classes/EntityNavigationFlyComponent'; +export { EntityNavigationGenericComponent } from './classes/EntityNavigationGenericComponent'; +export { EntityNavigationHoverComponent } from './classes/EntityNavigationHoverComponent'; +export { EntityNavigationWalkComponent } from './classes/EntityNavigationWalkComponent'; +export { EntityNpcComponent } from './classes/EntityNpcComponent'; +export { EntityOnFireComponent } from './classes/EntityOnFireComponent'; +export { EntityPushThroughComponent } from './classes/EntityPushThroughComponent'; +export { EntityRemoveAfterEvent } from './classes/EntityRemoveAfterEvent'; +export { EntityRemoveAfterEventSignal } from './classes/EntityRemoveAfterEventSignal'; +export { EntityRemoveBeforeEvent } from './classes/EntityRemoveBeforeEvent'; +export { EntityRemoveBeforeEventSignal } from './classes/EntityRemoveBeforeEventSignal'; +export { EntityRideableComponent } from './classes/EntityRideableComponent'; +export { EntityRidingComponent } from './classes/EntityRidingComponent'; +export { EntityScaleComponent } from './classes/EntityScaleComponent'; +export { EntitySkinIdComponent } from './classes/EntitySkinIdComponent'; +export { EntitySpawnAfterEvent } from './classes/EntitySpawnAfterEvent'; +export { EntitySpawnAfterEventSignal } from './classes/EntitySpawnAfterEventSignal'; +export { EntityStrengthComponent } from './classes/EntityStrengthComponent'; +export { EntityTameableComponent } from './classes/EntityTameableComponent'; +export { EntityType } from './classes/EntityType'; +export { EntityTypeIterator } from './classes/EntityTypeIterator'; +export { EntityTypes } from './classes/EntityTypes'; +export { EntityUnderwaterMovementComponent } from './classes/EntityUnderwaterMovementComponent'; +export { EntityVariantComponent } from './classes/EntityVariantComponent'; +export { EntityWantsJockeyComponent } from './classes/EntityWantsJockeyComponent'; +export { ExplosionAfterEvent } from './classes/ExplosionAfterEvent'; +export { ExplosionAfterEventSignal } from './classes/ExplosionAfterEventSignal'; +export { ExplosionBeforeEvent } from './classes/ExplosionBeforeEvent'; +export { ExplosionBeforeEventSignal } from './classes/ExplosionBeforeEventSignal'; +export { FeedItem } from './classes/FeedItem'; +export { FeedItemEffect } from './classes/FeedItemEffect'; +export { FilterGroup } from './classes/FilterGroup'; +export { FluidContainer } from './classes/FluidContainer'; +export { IButtonPushAfterEventSignal } from './classes/IButtonPushAfterEventSignal'; +export { ILeverActionAfterEventSignal } from './classes/ILeverActionAfterEventSignal'; +export { IPlayerJoinAfterEventSignal } from './classes/IPlayerJoinAfterEventSignal'; +export { IPlayerLeaveAfterEventSignal } from './classes/IPlayerLeaveAfterEventSignal'; +export { IPlayerSpawnAfterEventSignal } from './classes/IPlayerSpawnAfterEventSignal'; +export { ItemCompleteUseAfterEvent } from './classes/ItemCompleteUseAfterEvent'; +export { ItemCompleteUseAfterEventSignal } from './classes/ItemCompleteUseAfterEventSignal'; +export { ItemComponent } from './classes/ItemComponent'; +export { ItemCooldownComponent } from './classes/ItemCooldownComponent'; +export { ItemDefinitionAfterEventSignal } from './classes/ItemDefinitionAfterEventSignal'; +export { ItemDefinitionBeforeEventSignal } from './classes/ItemDefinitionBeforeEventSignal'; +export { ItemDefinitionTriggeredAfterEvent } from './classes/ItemDefinitionTriggeredAfterEvent'; +export { ItemDefinitionTriggeredBeforeEvent } from './classes/ItemDefinitionTriggeredBeforeEvent'; +export { ItemDurabilityComponent } from './classes/ItemDurabilityComponent'; +export { ItemEnchantsComponent } from './classes/ItemEnchantsComponent'; +export { ItemFoodComponent } from './classes/ItemFoodComponent'; +export { ItemReleaseUseAfterEvent } from './classes/ItemReleaseUseAfterEvent'; +export { ItemReleaseUseAfterEventSignal } from './classes/ItemReleaseUseAfterEventSignal'; +export { ItemStack } from './classes/ItemStack'; +export { ItemStartUseAfterEvent } from './classes/ItemStartUseAfterEvent'; +export { ItemStartUseAfterEventSignal } from './classes/ItemStartUseAfterEventSignal'; +export { ItemStartUseOnAfterEvent } from './classes/ItemStartUseOnAfterEvent'; +export { ItemStartUseOnAfterEventSignal } from './classes/ItemStartUseOnAfterEventSignal'; +export { ItemStopUseAfterEvent } from './classes/ItemStopUseAfterEvent'; +export { ItemStopUseAfterEventSignal } from './classes/ItemStopUseAfterEventSignal'; +export { ItemStopUseOnAfterEvent } from './classes/ItemStopUseOnAfterEvent'; +export { ItemStopUseOnAfterEventSignal } from './classes/ItemStopUseOnAfterEventSignal'; +export { ItemType } from './classes/ItemType'; +export { ItemTypes } from './classes/ItemTypes'; +export { ItemUseAfterEvent } from './classes/ItemUseAfterEvent'; +export { ItemUseAfterEventSignal } from './classes/ItemUseAfterEventSignal'; +export { ItemUseBeforeEvent } from './classes/ItemUseBeforeEvent'; +export { ItemUseBeforeEventSignal } from './classes/ItemUseBeforeEventSignal'; +export { ItemUseOnAfterEvent } from './classes/ItemUseOnAfterEvent'; +export { ItemUseOnAfterEventSignal } from './classes/ItemUseOnAfterEventSignal'; +export { ItemUseOnBeforeEvent } from './classes/ItemUseOnBeforeEvent'; +export { ItemUseOnBeforeEventSignal } from './classes/ItemUseOnBeforeEventSignal'; +export { LeverActionAfterEvent } from './classes/LeverActionAfterEvent'; +export { LeverActionAfterEventSignal } from './classes/LeverActionAfterEventSignal'; +export { MessageReceiveAfterEvent } from './classes/MessageReceiveAfterEvent'; +export { MinecraftDimensionTypes } from './classes/MinecraftDimensionTypes'; +export { MolangVariableMap } from './classes/MolangVariableMap'; +export { NavigationResult } from './classes/NavigationResult'; +export { PistonActivateAfterEvent } from './classes/PistonActivateAfterEvent'; +export { PistonActivateAfterEventSignal } from './classes/PistonActivateAfterEventSignal'; +export { PistonActivateBeforeEvent } from './classes/PistonActivateBeforeEvent'; +export { PistonActivateBeforeEventSignal } from './classes/PistonActivateBeforeEventSignal'; +export { Player } from './classes/Player'; +export { PlayerBreakBlockAfterEvent } from './classes/PlayerBreakBlockAfterEvent'; +export { PlayerBreakBlockAfterEventSignal } from './classes/PlayerBreakBlockAfterEventSignal'; +export { PlayerBreakBlockBeforeEvent } from './classes/PlayerBreakBlockBeforeEvent'; +export { PlayerBreakBlockBeforeEventSignal } from './classes/PlayerBreakBlockBeforeEventSignal'; +export { PlayerDimensionChangeAfterEvent } from './classes/PlayerDimensionChangeAfterEvent'; +export { PlayerDimensionChangeAfterEventSignal } from './classes/PlayerDimensionChangeAfterEventSignal'; +export { PlayerInteractWithBlockAfterEvent } from './classes/PlayerInteractWithBlockAfterEvent'; +export { PlayerInteractWithBlockAfterEventSignal } from './classes/PlayerInteractWithBlockAfterEventSignal'; +export { PlayerInteractWithBlockBeforeEvent } from './classes/PlayerInteractWithBlockBeforeEvent'; +export { PlayerInteractWithBlockBeforeEventSignal } from './classes/PlayerInteractWithBlockBeforeEventSignal'; +export { PlayerInteractWithEntityAfterEvent } from './classes/PlayerInteractWithEntityAfterEvent'; +export { PlayerInteractWithEntityAfterEventSignal } from './classes/PlayerInteractWithEntityAfterEventSignal'; +export { PlayerInteractWithEntityBeforeEvent } from './classes/PlayerInteractWithEntityBeforeEvent'; +export { PlayerInteractWithEntityBeforeEventSignal } from './classes/PlayerInteractWithEntityBeforeEventSignal'; +export { PlayerIterator } from './classes/PlayerIterator'; +export { PlayerJoinAfterEvent } from './classes/PlayerJoinAfterEvent'; +export { PlayerJoinAfterEventSignal } from './classes/PlayerJoinAfterEventSignal'; +export { PlayerLeaveAfterEvent } from './classes/PlayerLeaveAfterEvent'; +export { PlayerLeaveAfterEventSignal } from './classes/PlayerLeaveAfterEventSignal'; +export { PlayerLeaveBeforeEvent } from './classes/PlayerLeaveBeforeEvent'; +export { PlayerLeaveBeforeEventSignal } from './classes/PlayerLeaveBeforeEventSignal'; +export { PlayerPlaceBlockAfterEvent } from './classes/PlayerPlaceBlockAfterEvent'; +export { PlayerPlaceBlockAfterEventSignal } from './classes/PlayerPlaceBlockAfterEventSignal'; +export { PlayerPlaceBlockBeforeEvent } from './classes/PlayerPlaceBlockBeforeEvent'; +export { PlayerPlaceBlockBeforeEventSignal } from './classes/PlayerPlaceBlockBeforeEventSignal'; +export { PlayerSpawnAfterEvent } from './classes/PlayerSpawnAfterEvent'; +export { PlayerSpawnAfterEventSignal } from './classes/PlayerSpawnAfterEventSignal'; +export { PressurePlatePopAfterEvent } from './classes/PressurePlatePopAfterEvent'; +export { PressurePlatePopAfterEventSignal } from './classes/PressurePlatePopAfterEventSignal'; +export { PressurePlatePushAfterEvent } from './classes/PressurePlatePushAfterEvent'; +export { PressurePlatePushAfterEventSignal } from './classes/PressurePlatePushAfterEventSignal'; +export { ProjectileHitBlockAfterEvent } from './classes/ProjectileHitBlockAfterEvent'; +export { ProjectileHitBlockAfterEventSignal } from './classes/ProjectileHitBlockAfterEventSignal'; +export { ProjectileHitEntityAfterEvent } from './classes/ProjectileHitEntityAfterEvent'; +export { ProjectileHitEntityAfterEventSignal } from './classes/ProjectileHitEntityAfterEventSignal'; +export { Scoreboard } from './classes/Scoreboard'; +export { ScoreboardIdentity } from './classes/ScoreboardIdentity'; +export { ScoreboardObjective } from './classes/ScoreboardObjective'; +export { ScoreboardScoreInfo } from './classes/ScoreboardScoreInfo'; +export { ScreenDisplay } from './classes/ScreenDisplay'; +export { ScriptEventCommandMessageAfterEvent } from './classes/ScriptEventCommandMessageAfterEvent'; +export { ScriptEventCommandMessageAfterEventSignal } from './classes/ScriptEventCommandMessageAfterEventSignal'; +export { Seat } from './classes/Seat'; +export { ServerMessageAfterEventSignal } from './classes/ServerMessageAfterEventSignal'; +export { System } from './classes/System'; +export { SystemAfterEvents } from './classes/SystemAfterEvents'; +export { SystemBeforeEvents } from './classes/SystemBeforeEvents'; +export { TargetBlockHitAfterEvent } from './classes/TargetBlockHitAfterEvent'; +export { TargetBlockHitAfterEventSignal } from './classes/TargetBlockHitAfterEventSignal'; +export { Trigger } from './classes/Trigger'; +export { TripWireTripAfterEvent } from './classes/TripWireTripAfterEvent'; +export { TripWireTripAfterEventSignal } from './classes/TripWireTripAfterEventSignal'; +export { Vector } from './classes/Vector'; +export { WatchdogTerminateBeforeEvent } from './classes/WatchdogTerminateBeforeEvent'; +export { WatchdogTerminateBeforeEventSignal } from './classes/WatchdogTerminateBeforeEventSignal'; +export { WeatherChangeAfterEvent } from './classes/WeatherChangeAfterEvent'; +export { WeatherChangeAfterEventSignal } from './classes/WeatherChangeAfterEventSignal'; +export { World } from './classes/World'; +export { WorldAfterEvents } from './classes/WorldAfterEvents'; +export { WorldBeforeEvents } from './classes/WorldBeforeEvents'; +export { WorldInitializeAfterEvent } from './classes/WorldInitializeAfterEvent'; +export { WorldInitializeAfterEventSignal } from './classes/WorldInitializeAfterEventSignal'; +export { BlockEventOptions } from './interfaces/BlockEventOptions'; +export { BlockFillOptions } from './interfaces/BlockFillOptions'; +export { BlockHitInformation } from './interfaces/BlockHitInformation'; +export { BlockRaycastHit } from './interfaces/BlockRaycastHit'; +export { BlockRaycastOptions } from './interfaces/BlockRaycastOptions'; +export { BlockVolume } from './interfaces/BlockVolume'; +export { BoundingBox } from './interfaces/BoundingBox'; +export { CameraDefaultOptions } from './interfaces/CameraDefaultOptions'; +export { CameraEaseOptions } from './interfaces/CameraEaseOptions'; +export { CameraFadeOptions } from './interfaces/CameraFadeOptions'; +export { CameraFadeTimeOptions } from './interfaces/CameraFadeTimeOptions'; +export { CameraSetFacingOptions } from './interfaces/CameraSetFacingOptions'; +export { CameraSetLocationOptions } from './interfaces/CameraSetLocationOptions'; +export { CameraSetPosOptions } from './interfaces/CameraSetPosOptions'; +export { CameraSetRotOptions } from './interfaces/CameraSetRotOptions'; +export { CompoundBlockVolumeItem } from './interfaces/CompoundBlockVolumeItem'; +export { DefinitionModifier } from './interfaces/DefinitionModifier'; +export { DimensionLocation } from './interfaces/DimensionLocation'; +export { EntityApplyDamageByProjectileOptions } from './interfaces/EntityApplyDamageByProjectileOptions'; +export { EntityApplyDamageOptions } from './interfaces/EntityApplyDamageOptions'; +export { EntityDamageSource } from './interfaces/EntityDamageSource'; +export { EntityDataDrivenTriggerEventOptions } from './interfaces/EntityDataDrivenTriggerEventOptions'; +export { EntityEffectOptions } from './interfaces/EntityEffectOptions'; +export { EntityEventOptions } from './interfaces/EntityEventOptions'; +export { EntityHitInformation } from './interfaces/EntityHitInformation'; +export { EntityQueryOptions } from './interfaces/EntityQueryOptions'; +export { EntityQueryScoreOptions } from './interfaces/EntityQueryScoreOptions'; +export { EntityRaycastHit } from './interfaces/EntityRaycastHit'; +export { EntityRaycastOptions } from './interfaces/EntityRaycastOptions'; +export { ExplosionOptions } from './interfaces/ExplosionOptions'; +export { MusicOptions } from './interfaces/MusicOptions'; +export { PlayAnimationOptions } from './interfaces/PlayAnimationOptions'; +export { PlayerSoundOptions } from './interfaces/PlayerSoundOptions'; +export { RawMessage } from './interfaces/RawMessage'; +export { RawMessageScore } from './interfaces/RawMessageScore'; +export { RawText } from './interfaces/RawText'; +export { RGB } from './interfaces/RGB'; +export { RGBA } from './interfaces/RGBA'; +export { ScoreboardObjectiveDisplayOptions } from './interfaces/ScoreboardObjectiveDisplayOptions'; +export { ScriptEventMessageFilterOptions } from './interfaces/ScriptEventMessageFilterOptions'; +export { TeleportOptions } from './interfaces/TeleportOptions'; +export { TitleDisplayOptions } from './interfaces/TitleDisplayOptions'; +export { Vector2 } from './interfaces/Vector2'; +export { Vector3 } from './interfaces/Vector3'; +export { WorldSoundOptions } from './interfaces/WorldSoundOptions'; +export { CommandError } from './classes/CommandError'; +export { LocationInUnloadedChunkError } from './classes/LocationInUnloadedChunkError'; +export { LocationOutOfWorldBoundariesError } from './classes/LocationOutOfWorldBoundariesError'; +export { MoonPhaseCount } from './variables/MoonPhaseCount'; +export { TicksPerDay } from './variables/TicksPerDay'; +export { TicksPerSecond } from './variables/TicksPerSecond'; +export { system } from './variables/system'; +export { world } from './variables/world'; \ No newline at end of file diff --git a/translate-pieces/server/interfaces/BlockEventOptions.d.ts b/translate-pieces/server/interfaces/BlockEventOptions.d.ts index 68b07e4..b3c15d0 100644 --- a/translate-pieces/server/interfaces/BlockEventOptions.d.ts +++ b/translate-pieces/server/interfaces/BlockEventOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockPermutation } from '../index'; + /** * Contains optional parameters for registering a block event. */ diff --git a/translate-pieces/server/interfaces/BlockFillOptions.d.ts b/translate-pieces/server/interfaces/BlockFillOptions.d.ts index c2b0bf1..a5ea0f0 100644 --- a/translate-pieces/server/interfaces/BlockFillOptions.d.ts +++ b/translate-pieces/server/interfaces/BlockFillOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockPermutation } from '../index'; + /** * @beta * Contains additional options for a block fill operation. diff --git a/translate-pieces/server/interfaces/BlockHitInformation.d.ts b/translate-pieces/server/interfaces/BlockHitInformation.d.ts index f87ad7f..cf58a82 100644 --- a/translate-pieces/server/interfaces/BlockHitInformation.d.ts +++ b/translate-pieces/server/interfaces/BlockHitInformation.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, Vector3 } from '../index'; + /** * Contains more information for events where a block is hit. */ diff --git a/translate-pieces/server/interfaces/BlockRaycastHit.d.ts b/translate-pieces/server/interfaces/BlockRaycastHit.d.ts index c39e798..5de2bbb 100644 --- a/translate-pieces/server/interfaces/BlockRaycastHit.d.ts +++ b/translate-pieces/server/interfaces/BlockRaycastHit.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Block, Direction, Vector3 } from '../index'; + /** * Contains information for block raycast hit results. */ diff --git a/translate-pieces/server/interfaces/BlockVolume.d.ts b/translate-pieces/server/interfaces/BlockVolume.d.ts index 1983d88..92dd608 100644 --- a/translate-pieces/server/interfaces/BlockVolume.d.ts +++ b/translate-pieces/server/interfaces/BlockVolume.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * @beta * A BlockVolume is a simple interface to an object which diff --git a/translate-pieces/server/interfaces/BoundingBox.d.ts b/translate-pieces/server/interfaces/BoundingBox.d.ts index 75f23f1..3037120 100644 --- a/translate-pieces/server/interfaces/BoundingBox.d.ts +++ b/translate-pieces/server/interfaces/BoundingBox.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * @beta * A BoundingBox is an interface to an object which represents diff --git a/translate-pieces/server/interfaces/CameraDefaultOptions.d.ts b/translate-pieces/server/interfaces/CameraDefaultOptions.d.ts index 92b4b6a..cd2eedb 100644 --- a/translate-pieces/server/interfaces/CameraDefaultOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraDefaultOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraEaseOptions } from '../index'; + export interface CameraDefaultOptions { easeOptions: CameraEaseOptions; } \ No newline at end of file diff --git a/translate-pieces/server/interfaces/CameraEaseOptions.d.ts b/translate-pieces/server/interfaces/CameraEaseOptions.d.ts index b429748..9ae0b0b 100644 --- a/translate-pieces/server/interfaces/CameraEaseOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraEaseOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EasingType } from '../index'; + /** * Contains options associated with a camera ease operation. */ diff --git a/translate-pieces/server/interfaces/CameraFadeOptions.d.ts b/translate-pieces/server/interfaces/CameraFadeOptions.d.ts index 7a27335..7529576 100644 --- a/translate-pieces/server/interfaces/CameraFadeOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraFadeOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraFadeTimeOptions, RGB } from '../index'; + /** * Used to initiate a full-screen color fade. */ diff --git a/translate-pieces/server/interfaces/CameraSetFacingOptions.d.ts b/translate-pieces/server/interfaces/CameraSetFacingOptions.d.ts index 934e3d8..4b97bbf 100644 --- a/translate-pieces/server/interfaces/CameraSetFacingOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraSetFacingOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraEaseOptions, Entity, Vector3 } from '../index'; + export interface CameraSetFacingOptions { easeOptions?: CameraEaseOptions; facingEntity: Entity; diff --git a/translate-pieces/server/interfaces/CameraSetLocationOptions.d.ts b/translate-pieces/server/interfaces/CameraSetLocationOptions.d.ts index 7e245d5..f2283d1 100644 --- a/translate-pieces/server/interfaces/CameraSetLocationOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraSetLocationOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraEaseOptions, Vector3 } from '../index'; + export interface CameraSetLocationOptions { easeOptions?: CameraEaseOptions; location: Vector3; diff --git a/translate-pieces/server/interfaces/CameraSetPosOptions.d.ts b/translate-pieces/server/interfaces/CameraSetPosOptions.d.ts index 7281148..e34ef65 100644 --- a/translate-pieces/server/interfaces/CameraSetPosOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraSetPosOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraEaseOptions, Vector3 } from '../index'; + export interface CameraSetPosOptions { easeOptions?: CameraEaseOptions; facingLocation: Vector3; diff --git a/translate-pieces/server/interfaces/CameraSetRotOptions.d.ts b/translate-pieces/server/interfaces/CameraSetRotOptions.d.ts index b3d5e95..a892936 100644 --- a/translate-pieces/server/interfaces/CameraSetRotOptions.d.ts +++ b/translate-pieces/server/interfaces/CameraSetRotOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { CameraEaseOptions, Vector2, Vector3 } from '../index'; + export interface CameraSetRotOptions { easeOptions?: CameraEaseOptions; location?: Vector3; diff --git a/translate-pieces/server/interfaces/CompoundBlockVolumeItem.d.ts b/translate-pieces/server/interfaces/CompoundBlockVolumeItem.d.ts index f87e3c9..f732ea4 100644 --- a/translate-pieces/server/interfaces/CompoundBlockVolumeItem.d.ts +++ b/translate-pieces/server/interfaces/CompoundBlockVolumeItem.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockVolume, CompoundBlockVolumeAction, CompoundBlockVolumePositionRelativity } from '../index'; + /** * @beta * This interface defines an entry into the {@link diff --git a/translate-pieces/server/interfaces/DefinitionModifier.d.ts b/translate-pieces/server/interfaces/DefinitionModifier.d.ts index a44c155..30e3dbc 100644 --- a/translate-pieces/server/interfaces/DefinitionModifier.d.ts +++ b/translate-pieces/server/interfaces/DefinitionModifier.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Trigger } from '../index'; + /** * @beta * Contains a set of updates to the component definition state diff --git a/translate-pieces/server/interfaces/DimensionLocation.d.ts b/translate-pieces/server/interfaces/DimensionLocation.d.ts index 5b3dc39..8965ec9 100644 --- a/translate-pieces/server/interfaces/DimensionLocation.d.ts +++ b/translate-pieces/server/interfaces/DimensionLocation.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Dimension } from '../index'; + /** * An exact coordinate within the world, including its * dimension and location. diff --git a/translate-pieces/server/interfaces/EntityApplyDamageByProjectileOptions.d.ts b/translate-pieces/server/interfaces/EntityApplyDamageByProjectileOptions.d.ts index 7f05b4f..04a9c70 100644 --- a/translate-pieces/server/interfaces/EntityApplyDamageByProjectileOptions.d.ts +++ b/translate-pieces/server/interfaces/EntityApplyDamageByProjectileOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Additional options for when damage has been applied via a * projectile. diff --git a/translate-pieces/server/interfaces/EntityApplyDamageOptions.d.ts b/translate-pieces/server/interfaces/EntityApplyDamageOptions.d.ts index af9ff4e..c14b06a 100644 --- a/translate-pieces/server/interfaces/EntityApplyDamageOptions.d.ts +++ b/translate-pieces/server/interfaces/EntityApplyDamageOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityDamageCause } from '../index'; + /** * Additional descriptions and metadata for a damage event. */ diff --git a/translate-pieces/server/interfaces/EntityDamageSource.d.ts b/translate-pieces/server/interfaces/EntityDamageSource.d.ts index 7373481..6a51433 100644 --- a/translate-pieces/server/interfaces/EntityDamageSource.d.ts +++ b/translate-pieces/server/interfaces/EntityDamageSource.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity, EntityDamageCause } from '../index'; + /** * Provides information about how damage has been applied to an * entity. diff --git a/translate-pieces/server/interfaces/EntityDataDrivenTriggerEventOptions.d.ts b/translate-pieces/server/interfaces/EntityDataDrivenTriggerEventOptions.d.ts index 780e870..328c52a 100644 --- a/translate-pieces/server/interfaces/EntityDataDrivenTriggerEventOptions.d.ts +++ b/translate-pieces/server/interfaces/EntityDataDrivenTriggerEventOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * @beta * Specifies additional filters that are used in registering a diff --git a/translate-pieces/server/interfaces/EntityEventOptions.d.ts b/translate-pieces/server/interfaces/EntityEventOptions.d.ts index 6f6f4bd..91d5105 100644 --- a/translate-pieces/server/interfaces/EntityEventOptions.d.ts +++ b/translate-pieces/server/interfaces/EntityEventOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Contains optional parameters for registering an entity * event. diff --git a/translate-pieces/server/interfaces/EntityHitInformation.d.ts b/translate-pieces/server/interfaces/EntityHitInformation.d.ts index f08ba3a..2b3da42 100644 --- a/translate-pieces/server/interfaces/EntityHitInformation.d.ts +++ b/translate-pieces/server/interfaces/EntityHitInformation.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Contains additional information about an entity that was * hit. diff --git a/translate-pieces/server/interfaces/EntityQueryOptions.d.ts b/translate-pieces/server/interfaces/EntityQueryOptions.d.ts index f3c41c5..ac84be5 100644 --- a/translate-pieces/server/interfaces/EntityQueryOptions.d.ts +++ b/translate-pieces/server/interfaces/EntityQueryOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockAreaSize, EntityQueryScoreOptions, GameMode, Vector3 } from '../index'; + /** * Contains options for selecting entities within an area. */ diff --git a/translate-pieces/server/interfaces/EntityRaycastHit.d.ts b/translate-pieces/server/interfaces/EntityRaycastHit.d.ts index 9f42ef5..5301336 100644 --- a/translate-pieces/server/interfaces/EntityRaycastHit.d.ts +++ b/translate-pieces/server/interfaces/EntityRaycastHit.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * Contains information for entity raycast hit results. */ diff --git a/translate-pieces/server/interfaces/ExplosionOptions.d.ts b/translate-pieces/server/interfaces/ExplosionOptions.d.ts index 5c3905a..115dadc 100644 --- a/translate-pieces/server/interfaces/ExplosionOptions.d.ts +++ b/translate-pieces/server/interfaces/ExplosionOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Entity } from '../index'; + /** * @beta * Additional configuration options for the {@link diff --git a/translate-pieces/server/interfaces/MusicOptions.d.ts b/translate-pieces/server/interfaces/MusicOptions.d.ts index 9a4ee38..daec07a 100644 --- a/translate-pieces/server/interfaces/MusicOptions.d.ts +++ b/translate-pieces/server/interfaces/MusicOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { World } from '../index'; + /** * Additional configuration options for {@link * World.playMusic}/{@link World.queueMusic} methods. diff --git a/translate-pieces/server/interfaces/PlayerSoundOptions.d.ts b/translate-pieces/server/interfaces/PlayerSoundOptions.d.ts index 5cb9aa5..2dbdc06 100644 --- a/translate-pieces/server/interfaces/PlayerSoundOptions.d.ts +++ b/translate-pieces/server/interfaces/PlayerSoundOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Vector3 } from '../index'; + /** * Additional options for how a sound plays for a player. */ diff --git a/translate-pieces/server/interfaces/RawMessage.d.ts b/translate-pieces/server/interfaces/RawMessage.d.ts index 3f6ae18..bf14121 100644 --- a/translate-pieces/server/interfaces/RawMessage.d.ts +++ b/translate-pieces/server/interfaces/RawMessage.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RawMessageScore } from '../index'; + /** * Defines a JSON structure that is used for more flexible. */ diff --git a/translate-pieces/server/interfaces/RawText.d.ts b/translate-pieces/server/interfaces/RawText.d.ts index 6247544..7a14f18 100644 --- a/translate-pieces/server/interfaces/RawText.d.ts +++ b/translate-pieces/server/interfaces/RawText.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RawMessage } from '../index'; + /** * @beta * A `RawMessage` with only the `rawtext` property. When a diff --git a/translate-pieces/server/interfaces/ScoreboardObjectiveDisplayOptions.d.ts b/translate-pieces/server/interfaces/ScoreboardObjectiveDisplayOptions.d.ts index e247c82..193fbfd 100644 --- a/translate-pieces/server/interfaces/ScoreboardObjectiveDisplayOptions.d.ts +++ b/translate-pieces/server/interfaces/ScoreboardObjectiveDisplayOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ObjectiveSortOrder, ScoreboardObjective } from '../index'; + /** * Contains additional options for how a scoreboard should be * displayed within its display slot. diff --git a/translate-pieces/server/interfaces/TeleportOptions.d.ts b/translate-pieces/server/interfaces/TeleportOptions.d.ts index 61522bc..711312e 100644 --- a/translate-pieces/server/interfaces/TeleportOptions.d.ts +++ b/translate-pieces/server/interfaces/TeleportOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { Dimension, Vector2, Vector3 } from '../index'; + /** * Contains additional options for teleporting an entity. */ diff --git a/translate-pieces/server/interfaces/TitleDisplayOptions.d.ts b/translate-pieces/server/interfaces/TitleDisplayOptions.d.ts index f744302..563c735 100644 --- a/translate-pieces/server/interfaces/TitleDisplayOptions.d.ts +++ b/translate-pieces/server/interfaces/TitleDisplayOptions.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { RawMessage, TicksPerSecond } from '../index'; + /** * Contains additional options for displaying a title and * optional subtitle. diff --git a/translate-pieces/server/types/BlockComponentTypeMap.d.ts b/translate-pieces/server/types/BlockComponentTypeMap.d.ts index d35265f..8192e1c 100644 --- a/translate-pieces/server/types/BlockComponentTypeMap.d.ts +++ b/translate-pieces/server/types/BlockComponentTypeMap.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { BlockInventoryComponent, BlockLavaContainerComponent, BlockPistonComponent, BlockPotionContainerComponent, BlockRecordPlayerComponent, BlockSignComponent, BlockSnowContainerComponent, BlockWaterContainerComponent } from '../index'; + /** * @beta */ diff --git a/translate-pieces/server/types/EntityComponentTypeMap.d.ts b/translate-pieces/server/types/EntityComponentTypeMap.d.ts index 6f3830a..b64ca32 100644 --- a/translate-pieces/server/types/EntityComponentTypeMap.d.ts +++ b/translate-pieces/server/types/EntityComponentTypeMap.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { EntityAddRiderComponent, EntityAgeableComponent, EntityBreathableComponent, EntityCanClimbComponent, EntityCanFlyComponent, EntityCanPowerJumpComponent, EntityColorComponent, EntityEquippableComponent, EntityFireImmuneComponent, EntityFloatsInLiquidComponent, EntityFlyingSpeedComponent, EntityFrictionModifierComponent, EntityGroundOffsetComponent, EntityHealableComponent, EntityHealthComponent, EntityInventoryComponent, EntityIsBabyComponent, EntityIsChargedComponent, EntityIsChestedComponent, EntityIsDyeableComponent, EntityIsHiddenWhenInvisibleComponent, EntityIsIgnitedComponent, EntityIsIllagerCaptainComponent, EntityIsSaddledComponent, EntityIsShakingComponent, EntityIsShearedComponent, EntityIsStackableComponent, EntityIsStunnedComponent, EntityIsTamedComponent, EntityItemComponent, EntityLavaMovementComponent, EntityLeashableComponent, EntityMarkVariantComponent, EntityMountTamingComponent, EntityMovementAmphibiousComponent, EntityMovementBasicComponent, EntityMovementComponent, EntityMovementFlyComponent, EntityMovementGenericComponent, EntityMovementGlideComponent, EntityMovementHoverComponent, EntityMovementJumpComponent, EntityMovementSkipComponent, EntityMovementSwayComponent, EntityNavigationClimbComponent, EntityNavigationFloatComponent, EntityNavigationFlyComponent, EntityNavigationGenericComponent, EntityNavigationHoverComponent, EntityNavigationWalkComponent, EntityNpcComponent, EntityOnFireComponent, EntityPushThroughComponent, EntityRideableComponent, EntityRidingComponent, EntityScaleComponent, EntitySkinIdComponent, EntityStrengthComponent, EntityTameableComponent, EntityUnderwaterMovementComponent, EntityVariantComponent, EntityWantsJockeyComponent } from '../index'; + /** * @beta */ diff --git a/translate-pieces/server/types/ItemComponentTypeMap.d.ts b/translate-pieces/server/types/ItemComponentTypeMap.d.ts index 4e4e423..225b72f 100644 --- a/translate-pieces/server/types/ItemComponentTypeMap.d.ts +++ b/translate-pieces/server/types/ItemComponentTypeMap.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { ItemCooldownComponent, ItemDurabilityComponent, ItemEnchantsComponent, ItemFoodComponent } from '../index'; + /** * @beta */ diff --git a/translate-pieces/server/variables/system.d.ts b/translate-pieces/server/variables/system.d.ts index 79aacd4..b650ba0 100644 --- a/translate-pieces/server/variables/system.d.ts +++ b/translate-pieces/server/variables/system.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { System } from '../index'; + /** * @remarks * A class that provides system-level events and functions. diff --git a/translate-pieces/server/variables/world.d.ts b/translate-pieces/server/variables/world.d.ts index d82bbe7..462d41a 100644 --- a/translate-pieces/server/variables/world.d.ts +++ b/translate-pieces/server/variables/world.d.ts @@ -1,3 +1,5 @@ +/* IMPORT */ import { World } from '../index'; + /** * @remarks * A class that wraps the state of a world - a set of