@minecraft

Minecraft Script API

Minecraft 脚本 API 文档。

NPM 包:

包名 版本
@minecraft/common 1.2.0
@minecraft/debug-utilities 1.0.0-beta
@minecraft/math 1.3.5
@minecraft/server 1.12.0-beta
@minecraft/server-admin 1.0.0-beta
@minecraft/server-editor 0.1.0-beta
@minecraft/server-gametest 1.0.0-beta
@minecraft/server-net 1.0.0-beta
@minecraft/server-ui 1.2.0-beta
@minecraft/vanilla-data 1.21.0-preview.26

游戏版本号:1.21.0.26

通过 TypeDoc 基于 d.ts 生成。

目前正在翻译中。欢迎参与翻译

不喜欢译文?您也可以直接查看原文

参与翻译

项目地址:XeroAlpha/sapi-typedoc

欢迎通过 Fork & Pull Request 参与此项目!

[!TIP] 在 Fork 仓库中,GitHub Actions 会默认开启,用于在每次 Push 时构建对应的网页版本。如果您不需要,请 禁用工作流

TSDoc 例子:

/**
* 在给定的范围内随机一个整数并返回。
*
* Return a ranged random integer.
* @param min 范围的下限(含)。
* @param max
* 范围的上限(含)。
*
* Maxinum of range.
* @returns 范围内的随机数。
* @throws
* 若 `min > max`,则报错 `"Illegal range"`。
*/
random(min: number, max: number): number;

上述例子中 @param@returns 称为“标签”。标签后面可以空一格后接文本,也可以换行。

单个标签与之后的文本组成的整体称为“块”。

翻译规则

  • 所有翻译均在 translate-pieces 目录中进行。translated 目录下的 d.ts 文件由构建脚本跟随 translate-pieces 目录更新。
  • 保留所有英文原文,即使原文有误。但不保留 @throws 中出现的 “This function can throw errors.”、“This property can throw when used.”。
  • 翻译不必遵守与英文原文句意相同的规则。能描述清楚即可。原文中的错误可在翻译中进行修正。
  • 对于原文中出现的专有术语,优先使用 Minecraft Wiki 上的表述。存疑或不确定的表述可在 Pull Request 时提出。
  • 对于每个块,先中文翻译后英文原文,中间需要空一行。只有一行的块,标签后可不换行。多行的块,标签后必须直接换行。
  • 翻译文本是 Markdown 格式,换行需要空一行。包含代码的部分需要使用反引号括起。英文与中文间需要添加空格(英文与中文标点间不需要)。
  • 块中的文本都是完整的句子。都需要以句号或者其他标点符号作为结尾。
  • 保留所有标签,但如果在提供参数类型正确的情况下不会出错,则可以移除 @throws 标签。
  • 所有函数的每个参数均需要 @param 标签来描述参数的作用。需要对 @param 标签中参数的描述进行翻译或补充。
  • 所有有返回值的函数(返回值类型不为 void)都需要 @returns 标签来描述返回值的作用,即使已在描述中给出。需要对 @returns 标签中参数的描述进行翻译或补充。
  • 函数可能的报错与发生条件应在 @throws 中详细列出。若参数类型正确的情况下不会出错,则可以省略或移除。@throws 后面需换行。
  • 标签顺序需按照 @param(按参数顺序)、@returns@throws 的顺序。
  • 不翻译 @example 块。
  • 特殊情况:若子类/代理的某一方法对外部表现的参数、返回类型和实际功能与父类一致,则可以不翻译描述、@remarks@param@typeParam@returns 块,改用 {@inheritDoc ParentClass.classMember} 来代替描述的中文翻译部分。@throws 块仍然需要翻译与补充。
  • 特殊情况:This function/property can't be called/edited in read-only mode. 视作成员标识,无需进行翻译。会在构建时统一进行替换。
常见用语 翻译 备注
Represents/Describes/Specifies ... 表示…… 出现在描述开头,用一个短语来描述功能时,统一翻译为“表示”
Contains information ... 描述了…… 尽可能在之前加入“表示……”。
if true/if set to true 若为 true(,则表示……) 仅用于布尔型属性描述
identifier 标识符/ID 如果是字符串,使用“标识符”,其他情况使用“ID”。

翻译状态

状态 描述
未翻译 尚未翻译,欢迎为这部分条目贡献翻译
不翻译 尚未翻译且不开放贡献
翻译中 正在翻译中
待检查 已经翻译的部分的原文本已经更新,尚未进行确认
暂停中 未完成翻译,因为译名讨论等原因暂停
已完成 已完成此部分的翻译

模块一览:

模块 进度 翻译中 待检查
@minecraft/common 40% (2/5) 0 0
@minecraft/debug-utilities 0% (0/1) 0 0
@minecraft/math 0% (0/17) 0 0
@minecraft/server 2.7% (11/415) 0 6
@minecraft/server-admin 60% (3/5) 0 2
@minecraft/server-editor 0% (0/147) 0 0
@minecraft/server-gametest 0% (0/15) 0 0
@minecraft/server-net 33.3% (2/6) 0 3
@minecraft/server-ui 0% (0/10) 0 0

@minecraft/common

名称 类型 状态
ArgumentOutOfBoundsError 已完成
EngineError 未翻译
InvalidArgumentError 未翻译
PropertyOutOfBoundsError 未翻译
NumberRange 接口 已完成

@minecraft/debug-utilities

名称 类型 状态
disableWatchdogTimingWarnings 函数 未翻译

@minecraft/math

名称 类型 状态
Vector2Builder 未翻译
Vector2Utils 未翻译
Vector3Builder 未翻译
Vector3Utils 未翻译
VECTOR3_BACK 变量 未翻译
VECTOR3_DOWN 变量 未翻译
VECTOR3_EAST 变量 未翻译
VECTOR3_FORWARD 变量 未翻译
VECTOR3_LEFT 变量 未翻译
VECTOR3_NORTH 变量 未翻译
VECTOR3_ONE 变量 未翻译
VECTOR3_RIGHT 变量 未翻译
VECTOR3_SOUTH 变量 未翻译
VECTOR3_UP 变量 未翻译
VECTOR3_WEST 变量 未翻译
VECTOR3_ZERO 变量 未翻译
clampNumber 函数 未翻译

@minecraft/server

名称 类型 状态
BlockComponentTypes 枚举 未翻译
BlockPistonState 枚举 未翻译
BlockVolumeIntersection 枚举 未翻译
CompoundBlockVolumeAction 枚举 未翻译
CompoundBlockVolumePositionRelativity 枚举 未翻译
Difficulty 枚举 未翻译
Direction 枚举 已完成
DisplaySlotId 枚举 已完成
DyeColor 枚举 未翻译
EasingType 枚举 未翻译
EnchantmentSlot 枚举 未翻译
EntityComponentTypes 枚举 未翻译
EntityDamageCause 枚举 未翻译
EntityInitializationCause 枚举 未翻译
EntityLifetimeState 枚举 未翻译
EquipmentSlot 枚举 未翻译
FluidType 枚举 未翻译
GameMode 枚举 未翻译
GameRule 枚举 未翻译
HudElement 枚举 未翻译
HudVisibility 枚举 未翻译
InputPermissionCategory 枚举 未翻译
ItemComponentTypes 枚举 未翻译
ItemLockMode 枚举 未翻译
MoonPhase 枚举 未翻译
ObjectiveSortOrder 枚举 已完成
PaletteColor 枚举 未翻译
ScoreboardIdentityType 枚举 已完成
ScriptEventSource 枚举 未翻译
SignSide 枚举 未翻译
StructureAnimationMode 枚举 未翻译
StructureMirrorAxis 枚举 未翻译
StructureRotation 枚举 未翻译
StructureSaveMode 枚举 未翻译
TimeOfDay 枚举 未翻译
WatchdogTerminateReason 枚举 未翻译
WeatherType 枚举 未翻译
BiomeType 未翻译
BiomeTypes 未翻译
Block 待检查
BlockComponent 未翻译
BlockComponentEntityFallOnEvent 未翻译
BlockComponentOnPlaceEvent 未翻译
BlockComponentPlayerDestroyEvent 未翻译
BlockComponentPlayerInteractEvent 未翻译
BlockComponentPlayerPlaceBeforeEvent 未翻译
BlockComponentRandomTickEvent 未翻译
BlockComponentRegistry 未翻译
BlockComponentStepOffEvent 未翻译
BlockComponentStepOnEvent 未翻译
BlockComponentTickEvent 未翻译
BlockEvent 未翻译
BlockExplodeAfterEvent 未翻译
BlockExplodeAfterEventSignal 未翻译
BlockInventoryComponent 未翻译
BlockLavaContainerComponent 未翻译
BlockLiquidContainerComponent 未翻译
BlockLocationIterator 未翻译
BlockPermutation 未翻译
BlockPistonComponent 未翻译
BlockPotionContainerComponent 未翻译
BlockRecordPlayerComponent 未翻译
BlockSignComponent 未翻译
BlockSnowContainerComponent 未翻译
BlockStateType 未翻译
BlockStates 未翻译
BlockType 未翻译
BlockTypes 未翻译
BlockVolume 未翻译
BlockVolumeBase 未翻译
BlockWaterContainerComponent 未翻译
BoundingBoxUtils 未翻译
ButtonPushAfterEvent 未翻译
ButtonPushAfterEventSignal 未翻译
Camera 未翻译
ChatSendAfterEvent 未翻译
ChatSendAfterEventSignal 未翻译
ChatSendBeforeEvent 未翻译
ChatSendBeforeEventSignal 未翻译
CommandError 未翻译
CommandResult 未翻译
Component 未翻译
CompoundBlockVolume 未翻译
Container 未翻译
ContainerSlot 未翻译
DataDrivenEntityTriggerAfterEvent 未翻译
DataDrivenEntityTriggerAfterEventSignal 未翻译
Dimension 未翻译
DimensionType 未翻译
DimensionTypes 未翻译
Effect 未翻译
EffectAddAfterEvent 未翻译
EffectAddAfterEventSignal 未翻译
EffectAddBeforeEvent 未翻译
EffectAddBeforeEventSignal 未翻译
EffectType 未翻译
EffectTypes 未翻译
EnchantmentLevelOutOfBoundsError 未翻译
EnchantmentType 未翻译
EnchantmentTypeNotCompatibleError 未翻译
EnchantmentTypeUnknownIdError 未翻译
EnchantmentTypes 未翻译
Entity 未翻译
EntityAddRiderComponent 未翻译
EntityAgeableComponent 未翻译
EntityAttributeComponent 未翻译
EntityBaseMovementComponent 未翻译
EntityBreathableComponent 未翻译
EntityCanClimbComponent 未翻译
EntityCanFlyComponent 未翻译
EntityCanPowerJumpComponent 未翻译
EntityColor2Component 未翻译
EntityColorComponent 未翻译
EntityComponent 未翻译
EntityDefinitionFeedItem 未翻译
EntityDieAfterEvent 未翻译
EntityDieAfterEventSignal 未翻译
EntityEquippableComponent 未翻译
EntityFireImmuneComponent 未翻译
EntityFloatsInLiquidComponent 未翻译
EntityFlyingSpeedComponent 未翻译
EntityFrictionModifierComponent 未翻译
EntityGroundOffsetComponent 未翻译
EntityHealableComponent 未翻译
EntityHealthChangedAfterEvent 未翻译
EntityHealthChangedAfterEventSignal 未翻译
EntityHealthComponent 未翻译
EntityHitBlockAfterEvent 未翻译
EntityHitBlockAfterEventSignal 未翻译
EntityHitEntityAfterEvent 未翻译
EntityHitEntityAfterEventSignal 未翻译
EntityHurtAfterEvent 未翻译
EntityHurtAfterEventSignal 未翻译
EntityInventoryComponent 已完成
EntityIsBabyComponent 未翻译
EntityIsChargedComponent 未翻译
EntityIsChestedComponent 未翻译
EntityIsDyeableComponent 未翻译
EntityIsHiddenWhenInvisibleComponent 未翻译
EntityIsIgnitedComponent 未翻译
EntityIsIllagerCaptainComponent 未翻译
EntityIsSaddledComponent 未翻译
EntityIsShakingComponent 未翻译
EntityIsShearedComponent 未翻译
EntityIsStackableComponent 未翻译
EntityIsStunnedComponent 未翻译
EntityIsTamedComponent 未翻译
EntityItemComponent 未翻译
EntityIterator 未翻译
EntityLavaMovementComponent 未翻译
EntityLeashableComponent 未翻译
EntityLoadAfterEvent 未翻译
EntityLoadAfterEventSignal 未翻译
EntityMarkVariantComponent 未翻译
EntityMovementAmphibiousComponent 未翻译
EntityMovementBasicComponent 未翻译
EntityMovementComponent 未翻译
EntityMovementFlyComponent 未翻译
EntityMovementGenericComponent 未翻译
EntityMovementGlideComponent 未翻译
EntityMovementHoverComponent 未翻译
EntityMovementJumpComponent 未翻译
EntityMovementSkipComponent 未翻译
EntityMovementSwayComponent 未翻译
EntityNavigationClimbComponent 未翻译
EntityNavigationComponent 未翻译
EntityNavigationFloatComponent 未翻译
EntityNavigationFlyComponent 未翻译
EntityNavigationGenericComponent 未翻译
EntityNavigationHoverComponent 未翻译
EntityNavigationWalkComponent 未翻译
EntityNpcComponent 未翻译
EntityOnFireComponent 未翻译
EntityProjectileComponent 未翻译
EntityPushThroughComponent 未翻译
EntityRemoveAfterEvent 未翻译
EntityRemoveAfterEventSignal 未翻译
EntityRemoveBeforeEvent 未翻译
EntityRemoveBeforeEventSignal 未翻译
EntityRideableComponent 未翻译
EntityRidingComponent 未翻译
EntityScaleComponent 未翻译
EntitySkinIdComponent 未翻译
EntitySpawnAfterEvent 未翻译
EntitySpawnAfterEventSignal 未翻译
EntityStrengthComponent 未翻译
EntityTameMountComponent 未翻译
EntityTameableComponent 未翻译
EntityType 未翻译
EntityTypeFamilyComponent 未翻译
EntityTypeIterator 未翻译
EntityTypes 未翻译
EntityUnderwaterMovementComponent 未翻译
EntityVariantComponent 未翻译
EntityWantsJockeyComponent 未翻译
ExplosionAfterEvent 未翻译
ExplosionAfterEventSignal 未翻译
ExplosionBeforeEvent 未翻译
ExplosionBeforeEventSignal 未翻译
FeedItem 未翻译
FeedItemEffect 未翻译
FilterGroup 未翻译
FluidContainer 未翻译
GameRuleChangeAfterEvent 未翻译
GameRuleChangeAfterEventSignal 未翻译
GameRules 未翻译
IButtonPushAfterEventSignal 未翻译
ILeverActionAfterEventSignal 未翻译
IPlayerJoinAfterEventSignal 未翻译
IPlayerLeaveAfterEventSignal 未翻译
IPlayerSpawnAfterEventSignal 未翻译
InvalidContainerSlotError 未翻译
InvalidStructureError 未翻译
ItemCompleteUseAfterEvent 未翻译
ItemCompleteUseAfterEventSignal 未翻译
ItemCompleteUseEvent 未翻译
ItemComponent 未翻译
ItemComponentBeforeDurabilityDamageEvent 未翻译
ItemComponentCompleteUseEvent 未翻译
ItemComponentConsumeEvent 未翻译
ItemComponentHitEntityEvent 未翻译
ItemComponentMineBlockEvent 未翻译
ItemComponentRegistry 未翻译
ItemComponentUseEvent 未翻译
ItemComponentUseOnEvent 未翻译
ItemCooldownComponent 待检查
ItemCustomComponentAlreadyRegisteredError 未翻译
ItemCustomComponentNameError 未翻译
ItemCustomComponentReloadNewComponentError 未翻译
ItemCustomComponentReloadNewEventError 未翻译
ItemCustomComponentReloadVersionError 未翻译
ItemDurabilityComponent 待检查
ItemEnchantableComponent 未翻译
ItemFoodComponent 待检查
ItemReleaseUseAfterEvent 未翻译
ItemReleaseUseAfterEventSignal 未翻译
ItemStack 未翻译
ItemStartUseAfterEvent 未翻译
ItemStartUseAfterEventSignal 未翻译
ItemStartUseOnAfterEvent 未翻译
ItemStartUseOnAfterEventSignal 未翻译
ItemStopUseAfterEvent 未翻译
ItemStopUseAfterEventSignal 未翻译
ItemStopUseOnAfterEvent 未翻译
ItemStopUseOnAfterEventSignal 未翻译
ItemType 未翻译
ItemTypes 未翻译
ItemUseAfterEvent 未翻译
ItemUseAfterEventSignal 未翻译
ItemUseBeforeEvent 未翻译
ItemUseBeforeEventSignal 未翻译
ItemUseOnAfterEvent 已完成
ItemUseOnAfterEventSignal 未翻译
ItemUseOnBeforeEvent 未翻译
ItemUseOnBeforeEventSignal 未翻译
ItemUseOnEvent 未翻译
LeverActionAfterEvent 未翻译
LeverActionAfterEventSignal 未翻译
ListBlockVolume 未翻译
LocationInUnloadedChunkError 未翻译
LocationOutOfWorldBoundariesError 未翻译
MessageReceiveAfterEvent 未翻译
MinecraftDimensionTypes 未翻译
MolangVariableMap 未翻译
PistonActivateAfterEvent 未翻译
PistonActivateAfterEventSignal 未翻译
Player 未翻译
PlayerBreakBlockAfterEvent 未翻译
PlayerBreakBlockAfterEventSignal 未翻译
PlayerBreakBlockBeforeEvent 未翻译
PlayerBreakBlockBeforeEventSignal 未翻译
PlayerDimensionChangeAfterEvent 未翻译
PlayerDimensionChangeAfterEventSignal 未翻译
PlayerGameModeChangeAfterEvent 未翻译
PlayerGameModeChangeAfterEventSignal 未翻译
PlayerGameModeChangeBeforeEvent 未翻译
PlayerGameModeChangeBeforeEventSignal 未翻译
PlayerInputPermissionCategoryChangeAfterEvent 未翻译
PlayerInputPermissionCategoryChangeAfterEventSignal 未翻译
PlayerInputPermissions 未翻译
PlayerInteractWithBlockAfterEvent 未翻译
PlayerInteractWithBlockAfterEventSignal 未翻译
PlayerInteractWithBlockBeforeEvent 未翻译
PlayerInteractWithBlockBeforeEventSignal 未翻译
PlayerInteractWithEntityAfterEvent 未翻译
PlayerInteractWithEntityAfterEventSignal 未翻译
PlayerInteractWithEntityBeforeEvent 未翻译
PlayerInteractWithEntityBeforeEventSignal 未翻译
PlayerIterator 未翻译
PlayerJoinAfterEvent 未翻译
PlayerJoinAfterEventSignal 未翻译
PlayerLeaveAfterEvent 未翻译
PlayerLeaveAfterEventSignal 未翻译
PlayerLeaveBeforeEvent 未翻译
PlayerLeaveBeforeEventSignal 未翻译
PlayerPlaceBlockAfterEvent 未翻译
PlayerPlaceBlockAfterEventSignal 未翻译
PlayerPlaceBlockBeforeEvent 未翻译
PlayerPlaceBlockBeforeEventSignal 未翻译
PlayerSpawnAfterEvent 未翻译
PlayerSpawnAfterEventSignal 未翻译
PressurePlatePopAfterEvent 未翻译
PressurePlatePopAfterEventSignal 未翻译
PressurePlatePushAfterEvent 未翻译
PressurePlatePushAfterEventSignal 未翻译
ProjectileHitBlockAfterEvent 未翻译
ProjectileHitBlockAfterEventSignal 未翻译
ProjectileHitEntityAfterEvent 未翻译
ProjectileHitEntityAfterEventSignal 未翻译
Scoreboard 已完成
ScoreboardIdentity 已完成
ScoreboardObjective 已完成
ScoreboardScoreInfo 已完成
ScreenDisplay 未翻译
ScriptEventCommandMessageAfterEvent 未翻译
ScriptEventCommandMessageAfterEventSignal 未翻译
Seat 未翻译
ServerMessageAfterEventSignal 未翻译
Structure 未翻译
StructureManager 未翻译
System 未翻译
SystemAfterEvents 未翻译
SystemBeforeEvents 未翻译
TargetBlockHitAfterEvent 未翻译
TargetBlockHitAfterEventSignal 未翻译
Trigger 未翻译
TripWireTripAfterEvent 未翻译
TripWireTripAfterEventSignal 未翻译
UnloadedChunksError 未翻译
WatchdogTerminateBeforeEvent 未翻译
WatchdogTerminateBeforeEventSignal 未翻译
WeatherChangeAfterEvent 未翻译
WeatherChangeAfterEventSignal 未翻译
WeatherChangeBeforeEvent 未翻译
WeatherChangeBeforeEventSignal 未翻译
World 待检查
WorldAfterEvents 未翻译
WorldBeforeEvents 待检查
WorldInitializeAfterEvent 未翻译
WorldInitializeAfterEventSignal 未翻译
WorldInitializeBeforeEvent 未翻译
WorldInitializeBeforeEventSignal 未翻译
BiomeSearchOptions 接口 未翻译
BlockCustomComponent 接口 未翻译
BlockEventOptions 接口 未翻译
BlockFillOptions 接口 未翻译
BlockFilter 接口 未翻译
BlockHitInformation 接口 未翻译
BlockRaycastHit 接口 未翻译
BlockRaycastOptions 接口 未翻译
BoundingBox 接口 未翻译
CameraDefaultOptions 接口 未翻译
CameraEaseOptions 接口 未翻译
CameraFadeOptions 接口 未翻译
CameraFadeTimeOptions 接口 未翻译
CameraSetFacingOptions 接口 未翻译
CameraSetLocationOptions 接口 未翻译
CameraSetPosOptions 接口 未翻译
CameraSetRotOptions 接口 未翻译
CompoundBlockVolumeItem 接口 未翻译
DefinitionModifier 接口 未翻译
DimensionLocation 接口 未翻译
Enchantment 接口 未翻译
EntityApplyDamageByProjectileOptions 接口 未翻译
EntityApplyDamageOptions 接口 未翻译
EntityDamageSource 接口 未翻译
EntityDataDrivenTriggerEventOptions 接口 未翻译
EntityEffectOptions 接口 未翻译
EntityEventOptions 接口 未翻译
EntityFilter 接口 未翻译
EntityHitInformation 接口 未翻译
EntityQueryOptions 接口 未翻译
EntityQueryPropertyOptions 接口 未翻译
EntityQueryScoreOptions 接口 未翻译
EntityRaycastHit 接口 未翻译
EntityRaycastOptions 接口 未翻译
EqualsComparison 接口 未翻译
ExplosionOptions 接口 未翻译
GreaterThanComparison 接口 未翻译
GreaterThanOrEqualsComparison 接口 未翻译
ItemCustomComponent 接口 未翻译
LessThanComparison 接口 未翻译
LessThanOrEqualsComparison 接口 未翻译
MusicOptions 接口 未翻译
NotEqualsComparison 接口 未翻译
PlayAnimationOptions 接口 未翻译
PlayerSoundOptions 接口 未翻译
ProjectileShootOptions 接口 未翻译
RGB 接口 未翻译
RGBA 接口 未翻译
RangeComparison 接口 未翻译
RawMessage 接口 未翻译
RawMessageScore 接口 未翻译
RawText 接口 未翻译
ScoreboardObjectiveDisplayOptions 接口 已完成
ScriptEventMessageFilterOptions 接口 未翻译
SpawnEntityOptions 接口 未翻译
StructureCreateOptions 接口 未翻译
StructurePlaceOptions 接口 未翻译
TeleportOptions 接口 未翻译
TitleDisplayOptions 接口 未翻译
Vector2 接口 未翻译
Vector3 接口 未翻译
VectorXZ 接口 未翻译
WorldSoundOptions 接口 未翻译
BlockComponentTypeMap 类型别名 未翻译
EntityComponentTypeMap 类型别名 未翻译
ItemComponentTypeMap 类型别名 未翻译
HudElementsCount 变量 未翻译
HudVisibilityCount 变量 未翻译
MoonPhaseCount 变量 未翻译
TicksPerDay 变量 未翻译
TicksPerSecond 变量 未翻译
system 变量 未翻译
world 变量 未翻译

@minecraft/server-admin

名称 类型 状态
SecretString 已完成
ServerSecrets 待检查
ServerVariables 待检查
secrets 变量 已完成
variables 变量 已完成

@minecraft/server-editor

名称 类型 状态
ActionTypes 枚举 未翻译
BlockPaletteItemType 枚举 未翻译
CoreMenuType 枚举 未翻译
CursorControlMode 枚举 未翻译
CursorTargetMode 枚举 未翻译
EDITOR_PANE_PROPERTY_ITEM_TYPE 枚举 未翻译
EditorInputContext 枚举 未翻译
EditorMode 枚举 未翻译
EditorStatusBarAlignment 枚举 未翻译
ExportResult 枚举 未翻译
GraphicsSettingsProperty 枚举 未翻译
InputModifier 枚举 未翻译
KeyInputType 枚举 未翻译
KeyboardKey 枚举 未翻译
LayoutDirection 枚举 未翻译
MouseActionCategory 枚举 未翻译
MouseActionType 枚举 未翻译
MouseInputType 枚举 未翻译
PlaytestSessionResult 枚举 未翻译
ProjectExportType 枚举 未翻译
SimpleToolStatusBarVisibility 枚举 未翻译
WidgetGroupSelectionMode 枚举 未翻译
BedrockEventSubscriptionCache 未翻译
BlockPalette 未翻译
BlockPaletteManager 未翻译
BrushShapeManager 未翻译
ClipboardItem 未翻译
ClipboardManager 未翻译
Cursor 未翻译
CursorPropertiesChangeAfterEvent 未翻译
CursorPropertyChangeAfterEventSignal 未翻译
CustomWidget 未翻译
CustomWidgetMoveEventData 未翻译
ExportManager 未翻译
Extension 未翻译
ExtensionContext 未翻译
ExtensionContextAfterEvents 未翻译
GraphicsSettings 未翻译
IBlockPaletteItem 未翻译
LineWidget 未翻译
Logger 未翻译
MinecraftEditor 未翻译
ModeChangeAfterEvent 未翻译
ModeChangeAfterEventSignal 未翻译
PlaytestManager 未翻译
PrimarySelectionChangeAfterEventSignal 未翻译
PrimarySelectionChangedEvent 未翻译
ProbabilityBlockPaletteItem 未翻译
Selection 未翻译
SelectionEventAfterEvent 未翻译
SelectionManager 未翻译
SettingsManager 未翻译
SettingsUIElement 未翻译
SimpleBlockPaletteItem 未翻译
SimpleToolWrapper 未翻译
SimulationState 未翻译
TransactionManager 未翻译
UserDefinedTransactionHandle 未翻译
UserDefinedTransactionHandlerId 未翻译
Widget 未翻译
WidgetGroup 未翻译
WidgetManager 未翻译
WidgetStateChangeEventData 未翻译
ActionManager 接口 未翻译
BrushShape 接口 未翻译
BuiltInUIManager 接口 未翻译
ClipboardWriteOptions 接口 未翻译
CursorProperties 接口 未翻译
CustomWidgetCreateOptions 接口 未翻译
EventSink 接口 未翻译
ExtensionOptionalParameters 接口 未翻译
IDisposable 接口 未翻译
IDropdownItem 接口 未翻译
IDropdownPropertyItemMixIn 接口 未翻译
IEventToken 接口 未翻译
IGlobalInputManager 接口 未翻译
IMenu 接口 未翻译
IMenuContainer 接口 未翻译
IMenuCreationParams 接口 未翻译
IModalTool 接口 未翻译
IModalToolContainer 接口 未翻译
IPlayerLogger 接口 未翻译
IPropertyItem 接口 未翻译
IPropertyItemOptions 接口 未翻译
IPropertyItemOptionsBool 接口 未翻译
IPropertyItemOptionsButton 接口 未翻译
IPropertyItemOptionsDataPicker 接口 未翻译
IPropertyItemOptionsDropdown 接口 未翻译
IPropertyItemOptionsImage 接口 未翻译
IPropertyItemOptionsNumber 接口 未翻译
IPropertyItemOptionsSubPane 接口 未翻译
IPropertyItemOptionsTable 接口 未翻译
IPropertyItemOptionsText 接口 未翻译
IPropertyItemOptionsVector3 接口 未翻译
IPropertyPane 接口 未翻译
IPropertyPaneOptions 接口 未翻译
IPropertyTableCellItem 接口 未翻译
IRegisterExtensionOptionalParameters 接口 未翻译
ISimpleTool 接口 未翻译
ISimpleToolKeyPair 接口 未翻译
ISimpleToolOptions 接口 未翻译
ISimpleToolPaneComponent 接口 未翻译
ISimpleToolPaneOptions 接口 未翻译
ISimpleToolRailComponent 接口 未翻译
ISimpleToolRailOptions 接口 未翻译
ISimpleToolStatusBarComponent 接口 未翻译
ISimpleToolStatusBarOptions 接口 未翻译
IStatusBarItem 接口 未翻译
LogProperties 接口 未翻译
ModalToolCreationParameters 接口 未翻译
PlaytestGameOptions 接口 未翻译
ProjectExportOptions 接口 未翻译
WidgetCreateOptions 接口 未翻译
WidgetGroupCreateOptions 接口 未翻译
Action 类型别名 未翻译
ActionID 类型别名 未翻译
ActivationFunctionType 类型别名 未翻译
ButtonVariant 类型别名 未翻译
EventHandler 类型别名 未翻译
GraphicsSettingsPropertyTypeMap 类型别名 未翻译
IActionPropertyItem 类型别名 未翻译
IDropdownPropertyItem 类型别名 未翻译
IPlayerUISession 类型别名 未翻译
ITablePropertyItem 类型别名 未翻译
IVector3PropertyItem 类型别名 未翻译
ModalToolLifecycleEventPayload 类型别名 未翻译
MouseModifiers 类型别名 未翻译
MouseProps 类型别名 未翻译
MouseRayCastAction 类型别名 未翻译
NoArgsAction 类型别名 未翻译
OnChangeCallback 类型别名 未翻译
PropertyBag 类型别名 未翻译
PropertyPaneVisibilityUpdate 类型别名 未翻译
Ray 类型别名 未翻译
RegisteredAction 类型别名 未翻译
ShutdownFunctionType 类型别名 未翻译
SupportedKeyboardActionTypes 类型别名 未翻译
SupportedMouseActionTypes 类型别名 未翻译
UnregisterInputBindingCallback 类型别名 未翻译
editor 变量 未翻译
bindDataSource 函数 未翻译
executeLargeOperation 函数 未翻译
getBlockPickerDefaultAllowBlockList 函数 未翻译
getLocalizationId 函数 未翻译
registerEditorExtension 函数 未翻译
registerUserDefinedTransactionHandler 函数 未翻译
stringFromException 函数 未翻译

@minecraft/server-gametest

名称 类型 状态
GameTestErrorType 枚举 未翻译
LookDuration 枚举 未翻译
FenceConnectivity 未翻译
GameTestError 未翻译
GameTestSequence 未翻译
NavigationResult 未翻译
RegistrationBuilder 未翻译
SculkSpreader 未翻译
SimulatedPlayer 未翻译
Tags 未翻译
Test 未翻译
GameTestErrorContext 接口 未翻译
MoveToOptions 接口 未翻译
register 函数 未翻译
registerAsync 函数 未翻译

@minecraft/server-net

名称 类型 状态
HttpRequestMethod 枚举 已完成
HttpClient 待检查
HttpHeader 待检查
HttpRequest 待检查
HttpResponse 已完成
http 变量 未翻译

@minecraft/server-ui

名称 类型 状态
FormCancelationReason 枚举 未翻译
FormRejectReason 枚举 未翻译
ActionFormData 未翻译
ActionFormResponse 未翻译
FormRejectError 未翻译
FormResponse 未翻译
MessageFormData 未翻译
MessageFormResponse 未翻译
ModalFormData 未翻译
ModalFormResponse 未翻译

Generated using TypeDoc