# Minecraft Script API 文档 > AI / 爬虫:本站允许抓取、索引与模型训练(本站原创编排与中文译文,MIT)。引用请保留来源 https://sapi.dogelake.cn/ 。上游 Microsoft / Minecraft 权利仍归原权利人。完整说明:https://sapi.dogelake.cn/ai-use/ > 基于官方 @minecraft/*.d.ts 生成的中文 Script API 参考(sapi-typedoc) ## server - [Module: server](/server/index.md): Beta 包含了大量用于修改 Minecraft 世界(实体、方块、维度等)的类型。 Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more. Manifest Details - [BlockEvent](/server/classes/BlockEvent.md): event block Beta 包含有关影响特定方块的事件的信息。 Contains information regarding an event that impacts a specific block. - [BlockComponentBlockBreakEvent](/server/classes/BlockComponentBlockBreakEvent.md): event block component Beta 包含有关特定方块被破坏的信息。 Contains information regarding a specific block being broken. - [BlockComponentBlockStateChangeEvent](/server/classes/BlockComponentBlockStateChangeEvent.md): event block component Beta 包含有关特定方块置换从之前置换更改的信息。 Contains information regarding a specific block permutation that was changed from a previous permutation. - [BlockComponentEntityEvent](/server/classes/BlockComponentEntityEvent.md): event entity block component Beta 包含有关实体向世界中此方块发送事件的信息。 Contains information regarding an event sent by an entity to this block in the world. - [BlockComponentEntityFallOnEvent](/server/classes/BlockComponentEntityFallOnEvent.md): event entity block component Beta 包含有关实体摔落到特定方块上的信息。 Contains information regarding an entity falling onto a specific block. - [BlockComponentOnPlaceEvent](/server/classes/BlockComponentOnPlaceEvent.md): event block component Beta 包含有关特定方块被放置的信息。 Contains information regarding a specific block that was placed. - [BlockComponentPlayerBreakEvent](/server/classes/BlockComponentPlayerBreakEvent.md): event player block component Beta 包含有关玩家破坏特定方块的信息。 Contains information regarding a specific block being broken by a player. - [BlockComponentPlayerInteractEvent](/server/classes/BlockComponentPlayerInteractEvent.md): event player block component Beta 包含有关特定方块被交互的信息。 Contains information regarding a specific block being interacted with. - [BlockComponentPlayerPlaceBeforeEvent](/server/classes/BlockComponentPlayerPlaceBeforeEvent.md): event player block component Beta 包含有关玩家放置方块之前的事件信息。 Contains information regarding an event before a player places a block. - [BlockComponentRandomTickEvent](/server/classes/BlockComponentRandomTickEvent.md): event block tick component Beta 包含有关特定方块随机刻更新的信息。 Contains information regarding a specific block randomly ticking. - [BlockComponentRedstoneUpdateEvent](/server/classes/BlockComponentRedstoneUpdateEvent.md): event block component Beta 包含有关特定方块红石更新事件的信息。 Contains information regarding a specific block redstone update event. - [BlockComponentStepOffEvent](/server/classes/BlockComponentStepOffEvent.md): event block component Beta 包含有关实体离开特定方块的信息。 Contains information regarding an entity stepping off a specific block. - [BlockComponentStepOnEvent](/server/classes/BlockComponentStepOnEvent.md): event block component Beta 包含有关实体踩上特定方块的信息。 Contains information regarding an entity stepping onto a specific block. - [BlockComponentTickEvent](/server/classes/BlockComponentTickEvent.md): event block tick component Beta 包含有关特定方块刻更新的信息。 Contains information regarding a specific block ticking. - [BlockContainerClosedAfterEvent](/server/classes/BlockContainerClosedAfterEvent.md): event block inventory Beta 包含有关特定容器方块被关闭的信息。 Contains information regarding a specific container block being closed. - [BlockContainerOpenedAfterEvent](/server/classes/BlockContainerOpenedAfterEvent.md): event block inventory Beta 包含有关特定容器方块被打开的信息。 Contains information regarding a specific container block being opened. - [BlockExplodeAfterEvent](/server/classes/BlockExplodeAfterEvent.md): event block Beta 包含有关特定方块发生爆炸的信息。 Contains information regarding an explosion that has occurred for a specific block. - [ButtonPushAfterEvent](/server/classes/ButtonPushAfterEvent.md): event Beta 包含与按钮按压变化相关的信息。 - [LeverActionAfterEvent](/server/classes/LeverActionAfterEvent.md): event Beta 包含与拉杆激活或停用相关的信息。 Contains information related to changes to a lever activating or deactivating. - [PistonActivateAfterEvent](/server/classes/PistonActivateAfterEvent.md): event Beta 包含与活塞伸出或缩回相关的信息。 Contains information related to changes to a piston expanding or retracting. - [PlayerBreakBlockAfterEvent](/server/classes/PlayerBreakBlockAfterEvent.md): event player block Beta 包含玩家破坏方块后的事件相关信息。 Contains information regarding an event after a player breaks a block. - [PlayerBreakBlockBeforeEvent](/server/classes/PlayerBreakBlockBeforeEvent.md): event player block Beta 包含玩家破坏方块前的事件相关信息。 Contains information regarding an event before a player breaks a block. - [PlayerCancelBreakingBlockAfterEvent](/server/classes/PlayerCancelBreakingBlockAfterEvent.md): event player block Beta - [PlayerPlaceBlockAfterEvent](/server/classes/PlayerPlaceBlockAfterEvent.md): event player block Beta 包含有关玩家放置方块的事件信息。 Contains information regarding an event where a player places a block. - [PlayerPlaceBlockBeforeEvent](/server/classes/PlayerPlaceBlockBeforeEvent.md): event player block Beta 包含有关玩家放置方块之前的事件信息。 Contains information regarding an event before a player places a block. - [PlayerStartBreakingBlockAfterEvent](/server/classes/PlayerStartBreakingBlockAfterEvent.md): event player block Beta - [PressurePlatePopAfterEvent](/server/classes/PressurePlatePopAfterEvent.md): event Beta 包含与压力板复位相关的信息。 Contains information related to changes to a pressure plate pop. - [PressurePlatePushAfterEvent](/server/classes/PressurePlatePushAfterEvent.md): event Beta 包含与压力板被触发相关的信息。 Contains information related to changes to a pressure plate push. - [TargetBlockHitAfterEvent](/server/classes/TargetBlockHitAfterEvent.md): event block Beta Contains information related to changes to a target block hit. 包含与标靶方块被击中时的变化相关的信息。 - [TripWireTripAfterEvent](/server/classes/TripWireTripAfterEvent.md): event Beta Contains information related to changes to a trip wire trip. 包含与绊线被触发相关的信息。 - [BlockVolumeBase](/server/classes/BlockVolumeBase.md): block Beta BlockVolume 的基础类型。 Base type for BlockVolumes. - [BlockVolume](/server/classes/BlockVolume.md): block Beta BlockVolume 是一个简单对象,描述世界中位于方块坐标处的给定大小(以方块计)的 3D 矩形区域。 注意这些向量分量不保证按任何顺序排列,因此不等同于「min」与「max」值。 此外,这些向量位置不可与 BlockLocation 互换。 如需将此体积表示为 BlockLocation 范围,可使用 getBoundingBox 实用函数。 此体积类保留初始设置的角点索引顺序。 类比编辑器中分配每个角点的场景——当你移动角点时(可能反转边界的 min/max 关系), 原本位于顶部/左侧的角点就会变成底部/右侧。 因此手动编辑此类体积时,需在编辑过程中维持角点的标识——BlockVolume 实用函数正是为此而设计。 另请注意:此处测量的是「方块大小」(端点到端点)。普通 AABB (0,0,0) 到 (0,0,0) 大小通常为 (0,0,0); 但因为按方块计数,BlockVolume 的大小或跨度实际为 (1,1,1)。 A BlockVolume is a simple interface to an object which represents a 3D rectangle of a given size (in blocks) at a world block location. Note that these are not analogous to "min" and "max" values, in that the vector components are not guaranteed to be in any order. In addition, these vector positions are not interchangeable with BlockLocation. If you want to get this volume represented as range of of BlockLocations, you can use the getBoundingBox utility function. This volume class will maintain the ordering of the corner indexes as initially set. imagine that each corner is assigned in Editor - as you move the corner around (potentially inverting the min/max relationship of the bounds) - what you had originally selected as the top/left corner would traditionally become the bottom/right. When manually editing these kinds of volumes, you need to maintain the identity of the corner as you edit - the BlockVolume utility functions do this. Important to note that this measures block sizes (to/from) - a normal AABB (0,0,0) to (0,0,0) would traditionally be of size (0,0,0) However, because we're measuring blocks - the size or span of a BlockVolume would actually be (1,1,1) - [ListBlockVolume](/server/classes/ListBlockVolume.md): block Beta 由唯一方块位置的无序容器组成的体积。 Volume composed of an unordered container of unique block locations. - [Component](/server/classes/Component.md): component Beta 下游 Component 实现的基类。 Base class for downstream Component implementations. - [BlockComponent](/server/classes/BlockComponent.md): block component Beta 与方块相关联的组件的基础类型。 Base type for components associated with blocks. - [BlockCustomComponentInstance](/server/classes/BlockCustomComponentInstance.md): block component Beta 方块上自定义组件的一个实例。 An instance of a custom component on a block. - [BlockDynamicPropertiesComponent](/server/classes/BlockDynamicPropertiesComponent.md): block component Beta 表示世界中方块的动态属性。仅适用于方块实体。每个内容包、每个方块实体在其动态属性存储中最多 1KB。 - [BlockFluidContainerComponent](/server/classes/BlockFluidContainerComponent.md): block inventory component Beta 表示世界中方块的流体容器。用于像炼药锅这样的方块。 Represents the fluid container of a block in the world. Used with blocks like cauldrons. - [BlockInstrumentComponent](/server/classes/BlockInstrumentComponent.md): block component Beta 表示方块可在上表面与下表面分别设置的乐器。 Represents the instruments a block can have assigned to it's up and down faces. - [BlockInventoryComponent](/server/classes/BlockInventoryComponent.md): block inventory component Beta 表示世界中方块的库存。用于像箱子这样的方块。 - [BlockMapColorComponent](/server/classes/BlockMapColorComponent.md): block component Beta 表示方块在地图上显示时的颜色。 Represents the color of a block when displayed on a map. - [BlockMovableComponent](/server/classes/BlockMovableComponent.md): block component Beta 表示可以移动的方块(例如活塞)。 Represents a block that can move (such as a piston). - [BlockPistonComponent](/server/classes/BlockPistonComponent.md): block component Beta 当存在时,此方块具有活塞般的行为。包含用于发现方块活塞状态的附加属性。 When present, this block has piston-like behavior. Contains additional properties for discovering block piston state. - [BlockPrecipitationInteractionsComponent](/server/classes/BlockPrecipitationInteractionsComponent.md): block component Beta 表示方块如何与降水(例如雨或雪)交互。 Represents a how a block interacts with precipitation (such as rain or snow). - [BlockRecordPlayerComponent](/server/classes/BlockRecordPlayerComponent.md): player block component Beta 表示可以播放唱片的方块。 Represents a block that can play a record. - [BlockRedstoneProducerComponent](/server/classes/BlockRedstoneProducerComponent.md): block component Beta 表示可以输出红石信号的方块。 Represents a block that can output a redstone signal. - [BlockSignComponent](/server/classes/BlockSignComponent.md): block component Beta 表示可以在上面显示文字的方块。 - [EntityComponent](/server/classes/EntityComponent.md): entity component Beta 下游实体组件的基类。 Base class for downstream entity components. - [EntityAttributeComponent](/server/classes/EntityAttributeComponent.md): entity component Beta 这是任何以数字为中心、可以定义最小值、最大值和默认值的实体组件的基类抽象类。 This is a base abstract class for any entity component that centers around a number and can have a minimum, maximum, and default defined value. - [EntityExhaustionComponent](/server/classes/EntityExhaustionComponent.md): entity component Beta 定义与此实体的 exhaustion(疲劳度)交互方式。封装了 minecraft:player.exhaustion 属性。 Defines the interactions with this entity for Exhaustion. Wraps the minecraft.player.exhaustion attribute. - [EntityHealthComponent](/server/classes/EntityHealthComponent.md): entity damage component Beta 定义实体的生命值属性。 Defines the health properties of an entity. - [EntityHungerComponent](/server/classes/EntityHungerComponent.md): entity component Beta 定义此实体与饥饿值的交互方式。封装了 minecraft:player.hunger 属性。 Defines the interactions with this entity for hunger. Wraps the minecraft:player.hunger attribute. - [EntityLavaMovementComponent](/server/classes/EntityLavaMovementComponent.md): entity component Beta Defines the base movement speed in lava of this entity. - [EntityMovementComponent](/server/classes/EntityMovementComponent.md): entity component Beta Defines the general movement speed of this entity. - [EntitySaturationComponent](/server/classes/EntitySaturationComponent.md): entity component Beta 定义此实体与饱和度的交互方式。封装了 minecraft:player.saturation 属性。 Defines the interactions with this entity for saturation. Wraps the minecraft:player.saturation attribute. - [EntityUnderwaterMovementComponent](/server/classes/EntityUnderwaterMovementComponent.md): entity component Beta Defines the general movement speed underwater of this entity. - [EntityBaseMovementComponent](/server/classes/EntityBaseMovementComponent.md): entity component Beta 实体移动事件系列的基类。 Base class for a family of entity movement events. - [EntityMovementAmphibiousComponent](/server/classes/EntityMovementAmphibiousComponent.md): entity component Beta 允许该实体在两栖环境中移动。 Allows this entity to move in amphibious environments. - [EntityMovementBasicComponent](/server/classes/EntityMovementBasicComponent.md): entity component Beta 允许该实体在平面上基本移动。 Allows this entity to move basically on a plane. - [EntityMovementFlyComponent](/server/classes/EntityMovementFlyComponent.md): entity component Beta 允许该实体在空中飞行移动。 Allows this entity to move by flying through the air. - [EntityMovementGenericComponent](/server/classes/EntityMovementGenericComponent.md): entity component Beta 允许该实体通用移动。 Allows this entity to move generically. - [EntityMovementGlideComponent](/server/classes/EntityMovementGlideComponent.md): entity component Beta When added, this movement control allows the mob to glide. - [EntityMovementHoverComponent](/server/classes/EntityMovementHoverComponent.md): entity component Beta 允许该实体悬停移动。 Allows this entity to move by hovering. - [EntityMovementJumpComponent](/server/classes/EntityMovementJumpComponent.md): entity component Beta 允许该实体跳跃移动。 Allows this entity to move by jumping. - [EntityMovementSkipComponent](/server/classes/EntityMovementSkipComponent.md): entity component Beta 允许该实体跳跃式移动。 Allows this entity to move by skipping. - [EntityMovementSwayComponent](/server/classes/EntityMovementSwayComponent.md): entity component Beta When added, this move control causes the mob to sway side to side giving the impression it is swimming. - [EntityNavigationComponent](/server/classes/EntityNavigationComponent.md): entity component Beta Allows this entity to generate paths that include vertical walls (for example, like Minecraft spiders do.) - [EntityNavigationClimbComponent](/server/classes/EntityNavigationClimbComponent.md): entity component Beta Allows this entity to generate paths that include vertical walls (for example, like Minecraft spiders do.) - [EntityNavigationFloatComponent](/server/classes/EntityNavigationFloatComponent.md): entity component Beta 允许该实体像在水中浮游的生物一样导航。 Allows this entity to navigate like a floating mob in water. - [EntityNavigationFlyComponent](/server/classes/EntityNavigationFlyComponent.md): entity component Beta 允许该实体像在空气中飞行的生物一样导航。 Allows this entity to navigate like a flying mob in the air. - [EntityNavigationGenericComponent](/server/classes/EntityNavigationGenericComponent.md): entity component Beta 允许该实体进行通用导航。 Allows this entity to navigate generically. - [EntityNavigationHoverComponent](/server/classes/EntityNavigationHoverComponent.md): entity component Beta 允许该实体像悬停的生物一样导航。 Allows this entity to navigate like a hovering mob. - [EntityNavigationWalkComponent](/server/classes/EntityNavigationWalkComponent.md): entity component Beta 允许该实体像生物走动一样进行导航。 Allows this entity to navigate like a walking mob. - [EntityAddRiderComponent](/server/classes/EntityAddRiderComponent.md): entity component Beta 添加时,此组件使实体在生成时携带指定 entityType 的骑乘者。 When added, this component makes the entity spawn with a rider of the specified entityType. - [EntityAgeableComponent](/server/classes/EntityAgeableComponent.md): entity component Beta 为实体添加成长计时器。可以通过给予实体其喜好的物品(由 feedItems 定义)来加速成长。 Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems. - [EntityBreathableComponent](/server/classes/EntityBreathableComponent.md): entity component Beta 定义此实体可以在哪些方块中呼吸,并赋予它们窒息的能力。 Defines what blocks this entity can breathe in and gives them the ability to suffocate. - [EntityCanClimbComponent](/server/classes/EntityCanClimbComponent.md): entity component Beta 添加时,此组件表示该实体可以爬梯子。 When added, this component signifies that the entity can climb up ladders. - [EntityCanFlyComponent](/server/classes/EntityCanFlyComponent.md): entity component Beta 添加时,此组件表示该实体可以飞行,且寻路器不会限制在下方需要有实心方块的路径上。 When added, this component signifies that the entity can fly, and the pathfinder won't be restricted to paths where a solid block is required underneath it. - [EntityCanPowerJumpComponent](/server/classes/EntityCanPowerJumpComponent.md): entity component Beta 添加时,此组件表示该实体可以像 Minecraft 中的马一样进行蓄力跳跃。 When added, this component signifies that the entity can power jump like the horse does within Minecraft. - [EntityColor2Component](/server/classes/EntityColor2Component.md): entity Beta 定义实体的次要颜色。仅对具有次要预定义颜色值的特定实体(例如,热带鱼)有效。 Defines the entity's secondary color. Only works on certain entities that have secondary predefined color values (e.g., tropical fish). - [EntityColorComponent](/server/classes/EntityColorComponent.md): entity component Beta 定义实体的颜色。仅对具有预定义颜色值的特定实体(例如,羊、羊驼、潜影贝)有效。 Defines the entity's color. Only works on certain entities that have predefined color values (e.g., sheep, llama, shulker). - [EntityEnderInventoryComponent](/server/classes/EntityEnderInventoryComponent.md): entity inventory component Beta 表示此实体的末影箱物品属性。此组件始终存在于玩家身上,其容器中的任何物品在玩家打开末影箱时都会显示出来。 Represents this entity's ender inventory properties. This component is always present on players and any items in its container will display for the player when they access an ender chest. - [EntityEquippableComponent](/server/classes/EntityEquippableComponent.md): entity component Beta 提供对生物装备槽位的访问。此组件存在于玩家实体上。 Provides access to a mob's equipment slots. This component exists on player entities. - [EntityFireImmuneComponent](/server/classes/EntityFireImmuneComponent.md): entity component Beta 当添加时,此组件表示该实体不会受到火焰伤害。 When added, this component signifies that this entity doesn't take damage from fire. - [EntityFloatsInLiquidComponent](/server/classes/EntityFloatsInLiquidComponent.md): entity component Beta 当添加时,此组件表示该实体可以在液体方块中漂浮。 When added, this component signifies that this entity can float in liquid blocks. - [EntityFlyingSpeedComponent](/server/classes/EntityFlyingSpeedComponent.md): entity component Beta Represents the flying speed of an entity. - [EntityFrictionModifierComponent](/server/classes/EntityFrictionModifierComponent.md): entity component Beta Defines how much friction affects this entity. - [EntityHealableComponent](/server/classes/EntityHealableComponent.md): entity component Beta 定义与此实体进行治愈的交互方式。 Defines the interactions with this entity for healing it. - [EntityInventoryComponent](/server/classes/EntityInventoryComponent.md): entity inventory component Beta 表示一个实体的物品栏属性。 Defines this entity's inventory properties. - [EntityIsBabyComponent](/server/classes/EntityIsBabyComponent.md): entity component Beta 当添加时,此组件表示该实体是幼年体。 When added, this component signifies that this entity is a baby. - [EntityIsChargedComponent](/server/classes/EntityIsChargedComponent.md): entity component Beta 当添加时,此组件表示该实体已蓄力。 When added, this component signifies that this entity is charged. - [EntityIsChestedComponent](/server/classes/EntityIsChestedComponent.md): entity component Beta 当添加时,此组件表示该实体带有箱子。 When added, this component signifies that this entity is chested. - [EntityIsDyeableComponent](/server/classes/EntityIsDyeableComponent.md): entity component Beta 当添加时,此组件表示该实体可以染色。 When added, this component signifies that this entity is dyeable. - [EntityIsHiddenWhenInvisibleComponent](/server/classes/EntityIsHiddenWhenInvisibleComponent.md): entity component Beta 当添加时,此组件表示当实体隐身时,该实体对于其他实体隐藏。 When added, this component signifies that this entity hides from other entities when invisible. - [EntityIsIgnitedComponent](/server/classes/EntityIsIgnitedComponent.md): entity component Beta 当添加时,此组件表示该实体当前正在着火。 When added, this component signifies that this entity this currently on fire. - [EntityIsIllagerCaptainComponent](/server/classes/EntityIsIllagerCaptainComponent.md): entity component Beta 当添加时,此组件表示该实体是一个灾厄队长。 When added, this component signifies that this entity is an illager captain. - [EntityIsSaddledComponent](/server/classes/EntityIsSaddledComponent.md): entity component Beta 当添加时,此组件表示该实体当前已上鞍。 When added, this component signifies that this entity is currently saddled. - [EntityIsShakingComponent](/server/classes/EntityIsShakingComponent.md): entity component Beta 当添加时,此组件表示该实体当前正在颤抖。 When added, this component signifies that this entity is currently shaking. - [EntityIsShearedComponent](/server/classes/EntityIsShearedComponent.md): entity component Beta 当添加时,此组件表示该实体已被剪过毛。 When added, this component signifies that this entity is sheared. - [EntityIsStackableComponent](/server/classes/EntityIsStackableComponent.md): entity component Beta 当添加时,此组件表示该实体可以被堆叠。 When added, this component signifies that this entity can be stacked. - [EntityIsStunnedComponent](/server/classes/EntityIsStunnedComponent.md): entity component Beta 当添加时,此组件表示该实体当前被击晕。 When added, this component signifies that this entity is currently stunned. - [EntityIsTamedComponent](/server/classes/EntityIsTamedComponent.md): entity component Beta 当添加时,此组件表示该实体当前已被驯服。 When added, this component signifies that this entity is currently tamed. - [EntityItemComponent](/server/classes/EntityItemComponent.md): entity component Beta If added onto the entity, this indicates that the entity represents a free-floating item in the world. Lets you retrieve the actual item stack contents via the itemStack property. - [EntityLeashableComponent](/server/classes/EntityLeashableComponent.md): entity component Beta 允许实体被拴绳拴住。定义实体被拴绳时的条件和事件。 Allows the entity to be leashed. Defines the conditions and events for when an entity is leashed. - [EntityMarkVariantComponent](/server/classes/EntityMarkVariantComponent.md): entity component Beta 定义实体的标记变体。 Defines the entity's mark variant. - [EntityNpcComponent](/server/classes/EntityNpcComponent.md): entity component Beta 为实体添加 NPC 功能,如自定义皮肤、名称和对话交互。 Adds NPC capabilities to an entity such as custom skin, name, and dialogue interactions. - [EntityOnFireComponent](/server/classes/EntityOnFireComponent.md): entity component Beta When present on an entity, this entity is on fire. - [EntityProjectileComponent](/server/classes/EntityProjectileComponent.md): entity component Beta 投射物组件控制投射物实体的属性,并允许其向给定方向射出。当实体具有 minecraft:projectile 组件时,此组件存在。 The projectile component controls the properties of a projectile entity and allows it to be shot in a given direction. This component is present when the entity has the minecraft:projectile component. - [EntityPushThroughComponent](/server/classes/EntityPushThroughComponent.md): entity component Beta 定义实体可以推开其他实体的能力。 Defines the ability of an entity to push through other entities. - [EntityRideableComponent](/server/classes/EntityRideableComponent.md): entity component Beta 当添加时,此组件添加了实体可以被另一个实体骑乘的能力。 When added, this component adds the capability that an entity can be ridden by another entity. - [EntityRidingComponent](/server/classes/EntityRidingComponent.md): entity component Beta This component is added to any entity when it is riding another entity. - [EntityScaleComponent](/server/classes/EntityScaleComponent.md): entity component Beta 定义实体的缩放比例。 Defines the scale of an entity. - [EntitySkinIdComponent](/server/classes/EntitySkinIdComponent.md): entity component Beta Skin Id value. Can be used to differentiate skins, such as base skins for villagers. - [EntityStrengthComponent](/server/classes/EntityStrengthComponent.md): entity component Beta Defines the entity's ability to carry items. An entity with a higher strength would have higher potential carry capacity and more item slots. - [EntityTameableComponent](/server/classes/EntityTameableComponent.md): entity component Beta Defines the rules for an entity to be tamed by the player. - [EntityTameMountComponent](/server/classes/EntityTameMountComponent.md): entity component Beta 包含基于骑乘者来驯服可骑乘实体的选项。 Contains options for taming a rideable entity based on the entity that mounts it. - [EntityTypeFamilyComponent](/server/classes/EntityTypeFamilyComponent.md): entity component Beta - [EntityVariantComponent](/server/classes/EntityVariantComponent.md): entity component Beta Used to differentiate the component group of a variant of an entity from others. (e.g. ocelot, villager). - [EntityWantsJockeyComponent](/server/classes/EntityWantsJockeyComponent.md): entity component Beta 当添加时,此组件表示该实体想要成为骑乘者。 When added, this component signifies that this entity wants to become a jockey. - [PlayerCursorInventoryComponent](/server/classes/PlayerCursorInventoryComponent.md): player inventory component Beta 表示玩家的光标背包。用于在背包 UI 中的容器之间移动物品。不适用于触屏控制。 Represents the players cursor inventory. Used when moving items between between containers in the inventory UI. Not used with touch controls. - [ItemComponent](/server/classes/ItemComponent.md): component Beta 物品组件的基类。 Base class for item components. - [ItemBlockDynamicPropertiesComponent](/server/classes/ItemBlockDynamicPropertiesComponent.md): block component Beta 表示方块的动态属性。仅可从方块实体获取。 每个内容包在每个方块实体的动态属性存储中 最多可以存储 1KBytes 的数据。 Represents the dynamic properties of a block. Only available from block entities. Up to 1KBytes of data can be stored per content pack per block entity in their dynamic properties storage. - [ItemBookComponent](/server/classes/ItemBookComponent.md): component Beta 当此组件存在于物品上时,表示该物品为书本物品。可以访问和 修改书本的内容并对其进行签名。 When present on an item, this item is a book item. Can access and modify the contents of the book and sign it. - [ItemCompostableComponent](/server/classes/ItemCompostableComponent.md): component Beta 当存在此组件时,若堆肥概率处于 [1, 100] 区间内,该物品可以在堆肥桶中进行堆肥。 When present, the item can be composted in the composter block if the composting chance is in the range [1 - 100]. - [ItemCooldownComponent](/server/classes/ItemCooldownComponent.md): component Beta When present on an item, this item has a cooldown effect when used by entities. - [ItemCustomComponentInstance](/server/classes/ItemCustomComponentInstance.md): component Beta 物品上某一自定义组件的实例。 An instance of a custom component on an item. - [ItemDurabilityComponent](/server/classes/ItemDurabilityComponent.md): component Beta 表示物品耐久组件。当出现在物品上时,表示该物品在使用过程中会损耗耐久。 注意,此组件仅对数驱物品生效。 When present on an item, this item can take damage in the process of being used. Note that this component only applies to data-driven items. - [ItemDyeableComponent](/server/classes/ItemDyeableComponent.md): component Beta 表示物品可被染色。当出现在物品上时,表示该物品可被染色。 When present on an item, this item can be dyed. - [ItemEnchantableComponent](/server/classes/ItemEnchantableComponent.md): component Beta 当此组件存在于物品上时,表示该物品可以被附魔。 When present on an item, this item can have enchantments applied to it. - [ItemFoodComponent](/server/classes/ItemFoodComponent.md): component Beta 表示物品食物组件。当出现在物品上时,实体可以消耗此物品。 注意,只能在数驱物品上获取和使用该组件。 When present on an item, this item is consumable by entities. Note that this component only applies to data-driven items. - [ItemInventoryComponent](/server/classes/ItemInventoryComponent.md): inventory component Beta 该组件被添加到具有 Storage Item(存储物品)组件的物品上。 可以访问和修改该物品的物品栏容器。 This component is added to items with the Storage Item component. Can access and modify this items inventory container. - [ItemPotionComponent](/server/classes/ItemPotionComponent.md): component Beta 表示物品为药水物品。当出现在物品上时,表示该物品为药水物品。 When present on an item, this item is a potion item. - [Entity](/server/classes/Entity.md): entity Beta 表示世界中实体(生物、玩家或其他移动物体,如矿车)的状态。 Represents the state of an entity (a mob, the player, or other moving objects like minecarts) in the world. - [Player](/server/classes/Player.md): player Beta 表示世界中的一个玩家。 Represents a player within the world. - [ExplosionAfterEvent](/server/classes/ExplosionAfterEvent.md): event Beta 包含有关已发生的爆炸的信息。 Contains information regarding an explosion that has happened. - [ExplosionBeforeEvent](/server/classes/ExplosionBeforeEvent.md): event Beta 包含有关已发生的爆炸的信息。 Contains information regarding an explosion that has happened. - [ISerializable](/server/classes/ISerializable.md): Beta - [Structure](/server/classes/Structure.md): Beta 表示已加载的结构模板(.mcstructure 文件)。可以使用 /structure 命令或 StructureManager API 在世界中放置结构。 Represents a loaded structure template (.mcstructure file). Structures can be placed in a world using the /structure command or the StructureManager APIs. - [ItemCompleteUseEvent](/server/classes/ItemCompleteUseEvent.md): event Beta 包含与可蓄力物品完成蓄力相关的信息。 Contains information related to a chargeable item completing being charged. - [ItemComponentCompleteUseEvent](/server/classes/ItemComponentCompleteUseEvent.md): event component Beta 包含与通过组件完成蓄力的可蓄力物品相关的信息。 Contains information related to a chargeable item completing being charged via a component. - [ItemUseAfterEvent](/server/classes/ItemUseAfterEvent.md): event Beta 包含与物品被用于方块相关的信息。该事件在玩家使用的物品成功触发实体交互时触发。 Contains information related to an item being used on a block. This event fires when an item used by a player successfully triggers an entity interaction. - [ItemUseBeforeEvent](/server/classes/ItemUseBeforeEvent.md): event Beta 包含与某次物品使用相关的信息。 Contains information related to an item being used. - [ItemUseOnEvent](/server/classes/ItemUseOnEvent.md): event Beta 包含有关在方块上使用物品的信息。 Contains information regarding the use of an item on a block. - [ItemComponentUseOnEvent](/server/classes/ItemComponentUseOnEvent.md): event component Beta 包含通过组件对某个方块使用物品时相关的信息。 Contains information regarding the use of an item on a block via a component. - [LootItemCondition](/server/classes/LootItemCondition.md): Beta 所有战利品物品条件派生的抽象基类。战利品物品条件是一组规则或要求,必须满足这些条件才能产生战利品掉落。 An abstract base class from which all loot item conditions are derived. A loot item condition is a set of rules or requirements which must be met for a loot drop to happen. - [DamagedByEntityCondition](/server/classes/DamagedByEntityCondition.md): entity Beta 战利品物品条件,检查战利品来源是否被特定类型的实体伤害过。 Loot item condition that checks whether the loot source was damaged by a specific type of entity. - [EntityHasMarkVariantCondition](/server/classes/EntityHasMarkVariantCondition.md): entity Beta Loot item condition that checks the value of the mark variant of a mob as it drops its loot. - [EntityHasVariantCondition](/server/classes/EntityHasVariantCondition.md): entity Beta Loot item condition that checks the variant value of a mob as it drops its loot. - [EntityKilledCondition](/server/classes/EntityKilledCondition.md): entity Beta Loot item condition that checks the entity type of the entity dropping its loot. - [IsBabyCondition](/server/classes/IsBabyCondition.md): Beta 用于检查掉落战利品的实体是否为幼体的战利品物品条件。 Loot item condition that checks whether or not the entity dropping loot is a baby. - [KilledByEntityCondition](/server/classes/KilledByEntityCondition.md): entity Beta 战利品物品条件,用于检查掉落来源是否被特定类型的实体击杀。 Loot item condition that checks whether or not the drop source was killed by a specific type of entity. - [KilledByPlayerCondition](/server/classes/KilledByPlayerCondition.md): player Beta 战利品物品条件,用于检查战利品掉落的来源是否被玩家击杀。 Loot item condition that checks whether or not the source of the loot drop was killed by the player. - [KilledByPlayerOrPetsCondition](/server/classes/KilledByPlayerOrPetsCondition.md): player Beta 战利品物品条件,用于检查战利品掉落的来源是否被玩家或玩家的任何宠物击杀。 Loot item condition that checks whether or not the source of the loot drop was killed by the player or any of the player's pets. - [MatchToolCondition](/server/classes/MatchToolCondition.md): Beta 用于检查是否使用合适的工具触发战利品事件的战利品物品条件。可以描述要比较的物品类型、数量、耐久度、附魔或物品标签数组。 Loot item condition that checks whether an appropriate tool was used to trigger the loot event. Can describe item type, count, durability, enchantments, or arrays of item tags to compare against. - [PassengerOfEntityCondition](/server/classes/PassengerOfEntityCondition.md): entity Beta 用于检查战利品实体当前是否为特定类型实体乘客的战利品条件。 Loot item condition that checks whether the looting entity is currently a passenger of a specific type of entity. - [RandomChanceCondition](/server/classes/RandomChanceCondition.md): Beta 将给定值应用于战利品掉落几率的战利品物品条件。 Loot item condition that applies a given value to the chances that loot will drop. - [RandomChanceWithLootingCondition](/server/classes/RandomChanceWithLootingCondition.md): Beta 将给定值应用于战利品掉落几率(受所用工具的抢夺附魔等级影响)的战利品物品条件。 Loot item condition that applies a given value to the chances that loot will drop, modified by the level of looting enchantment on the tool used. - [RandomDifficultyChanceCondition](/server/classes/RandomDifficultyChanceCondition.md): Beta 根据当前难度等级将给定值应用于战利品掉落几率的战利品物品条件。 Loot item condition that applies given values to the chances that loot will drop based on the current difficulty level. - [RandomRegionalDifficultyChanceCondition](/server/classes/RandomRegionalDifficultyChanceCondition.md): Beta 将给定值应用于战利品掉落几率(受掉落发生区域修正)的战利品物品条件。 Loot item condition that applies a given value to the chances that loot will drop, modified by the region the drop is happening within. - [LootItemFunction](/server/classes/LootItemFunction.md): Beta 所有战利品物品函数派生的抽象基类。战利品物品函数可以在战利品掉落时以多种方式修改掉落物,可选地依赖于一组必须满足的条件。 An abstract base class from which all loot item functions are derived. Loot item functions can modify loot drops in a variety of ways as they happen, optionally dependent on a set of conditions which must be met. - [CarryOverBlockEntityDataFunction](/server/classes/CarryOverBlockEntityDataFunction.md): entity block Beta 战利品物品函数,会尝试将被破坏方块的方块实体数据复制到掉落的物品上。 Loot item function that will try to copy the block entity data from the destroyed block to the dropped item. - [EnchantRandomEquipmentFunction](/server/classes/EnchantRandomEquipmentFunction.md): Beta 战利品物品函数,使用与原版生物生成时附魔装备相同的算法,对掉落的物品应用随机附魔。 Loot item function that applies a random enchant to the dropped item using the same algorithm used while enchanting equipment vanilla mobs spawn with. - [EnchantRandomlyFunction](/server/classes/EnchantRandomlyFunction.md): Beta 随机附魔掉落物品的战利品物品函数。 Loot item function that randomly enchants the dropped item. - [EnchantWithLevelsFunction](/server/classes/EnchantWithLevelsFunction.md): Beta 对掉落物品应用随机附魔的战利品物品函数。 Loot item function that applies a random enchant to the dropped item. - [ExplorationMapFunction](/server/classes/ExplorationMapFunction.md): Beta 战利品物品函数,修改掉落的藏宝图以标记一个位置。 Loot item function that modifies a dropped treasure map to mark a location. - [ExplosionDecayFunction](/server/classes/ExplosionDecayFunction.md): Beta 战利品物品函数,确定战利品掉落物是否应该被爆炸摧毁。 Loot item function that determines whether or not loot drops should be destroyed by explosions. - [FillContainerFunction](/server/classes/FillContainerFunction.md): inventory Beta 使用另一张战利品表来填充已掉落容器物品的战利品物品函数。 Loot item function that populates a dropped container item using another loot table. - [LootingEnchantFunction](/server/classes/LootingEnchantFunction.md): Beta 如果提供的工具具有抢夺附魔,则掉落额外物品的战利品物品函数。 Loot item function that drops extra items if the provided tool has the looting enchant. - [RandomAuxValueFunction](/server/classes/RandomAuxValueFunction.md): Beta 随机修改掉落物品数据值的战利品物品函数。 Loot item function that randomly modifies the data value of the item dropped. - [RandomBlockStateFunction](/server/classes/RandomBlockStateFunction.md): block Beta 随机修改掉落物品方块状态的战利品物品函数。 Loot item function that randomly modifies the block state of the item dropped. - [RandomDyeFunction](/server/classes/RandomDyeFunction.md): Beta 对掉落物品应用随机染色的战利品物品函数。 Loot item function that applies a randomly dye to the dropped item. - [SetArmorTrimFunction](/server/classes/SetArmorTrimFunction.md): Beta 修改掉落盔甲物品的纹饰的战利品物品函数。 Loot item function that modifies the trim on a dropped armor item. - [SetBannerDetailsFunction](/server/classes/SetBannerDetailsFunction.md): Beta 修改掉落旗帜类型的战利品物品函数。 Loot item function that modifies the type of a banner that drops. - [SetBookContentsFunction](/server/classes/SetBookContentsFunction.md): Beta 修改掉落书本内容的战利品物品函数。 Loot item function that modifies the contents of a dropped book. - [SetDataFromColorIndexFunction](/server/classes/SetDataFromColorIndexFunction.md): Beta 根据颜色索引修改掉落物品数据值的战利品物品函数。如果未设置颜色索引,则默认为零。 Loot item function that modifies the dropped item's data value based on its color index. Defaults to zero if no color index is set. - [SetItemCountFunction](/server/classes/SetItemCountFunction.md): Beta 修改战利品池条目掉落物品数量的战利品物品函数。 Loot item function that modifies the number items that drop from the loot pool entry. - [SetItemDamageFunction](/server/classes/SetItemDamageFunction.md): damage Beta 修改掉落物品耐久度值的战利品物品函数。 Loot item function that modifies the durability value of the item dropped. - [SetItemDataFunction](/server/classes/SetItemDataFunction.md): Beta 修改掉落物品数据值的战利品物品函数。 Loot item function that modifies the data value of the item dropped. - [SetItemLoreFunction](/server/classes/SetItemLoreFunction.md): Beta 修改掉落物品 lore 的战利品物品函数。 Loot item function that modifies the lore of the item dropped. - [SetItemNameFunction](/server/classes/SetItemNameFunction.md): Beta 修改掉落物品名称的战利品物品函数。 Loot item function that modifies the name of the item dropped. - [SetOminousBottleFunction](/server/classes/SetOminousBottleFunction.md): Beta 修改不祥之瓶增幅值(amplifier)的战利品物品函数。 Loot item function that modifies an ominous bottle's amplifier value. - [SetPotionFunction](/server/classes/SetPotionFunction.md): Beta 为掉落药水分配类型的战利品物品函数。 Loot item function that assigns a type to a dropped potion. - [SetSpawnEggFunction](/server/classes/SetSpawnEggFunction.md): Beta 为掉落的刷怪蛋分配实体类型的战利品物品函数。不适用于除刷怪蛋外的任何物品。 Loot item function that assigns an entity type to a dropped spawn egg. Does not work on any items other than spawn eggs. - [SetStewEffectFunction](/server/classes/SetStewEffectFunction.md): effect Beta 修改掉落煲类物品效果的战利品物品函数。 Loot item function that modifies the effects of a dropped stew item. - [SmeltItemFunction](/server/classes/SmeltItemFunction.md): Beta 将掉落物品视为在熔炉中冶炼或烹饪处理后的战利品物品函数。 Loot item function that processes the dropped item as if it was smelted or cooked in a furnace. - [SpecificEnchantFunction](/server/classes/SpecificEnchantFunction.md): Beta 为掉落物品应用一个或多个预定义附魔的战利品物品函数。 Loot item function that applies one or several predefined enchants to the dropped item. - [LootPoolEntry](/server/classes/LootPoolEntry.md): Beta 表示战利品表中的一个条目,描述战利品掉落时的一个可能掉落物。可以包含一个物品、另一个战利品表、另一个战利品表的路径或空掉落。 Represents one entry within Loot Table, which describes one possible drop when a loot drop occurs. Can contain an item, another loot table, a path to another loot table, or an empty drop. - [EmptyLootItem](/server/classes/EmptyLootItem.md): Beta 表示战利品池中的一个完全空的条目。如果选择此条目,则不会掉落任何物品。 Represents a completely empty entry in a loot pool. If this entry is chosen, no items will drop. - [LootItem](/server/classes/LootItem.md): Beta 表示包含要掉落物品的战利品池条目。 Represents a loot pool entry containing an item to drop. - [LootTableEntry](/server/classes/LootTableEntry.md): Beta 表示包含另一个独立的嵌套战利品表的战利品池条目。 Represents a loot pool entry containing another separate, nested loot table. - [LootTableReference](/server/classes/LootTableReference.md): Beta 表示包含对另一个战利品表(由其路径描述)的引用的战利品池条目。 Represents a loot pool entry containing a reference to another loot table, described by its path. - [PrimitiveShape](/server/classes/PrimitiveShape.md): Beta 文本图元的基础类。表示世界中的一个对象及其基本属性。 The base class for a text primitive. Represents an object in the world and its base properties. - [TextPrimitive](/server/classes/TextPrimitive.md): Beta A primitive shape class that represents a text label in the world with a background. - [SystemInfo](/server/classes/SystemInfo.md): Beta 包含设备信息,如内存层级。 Contains device information, like memory tier. - [ClientSystemInfo](/server/classes/ClientSystemInfo.md): Beta 包含客户端实例的设备信息。 Contains the device information for a client instance. - [Waypoint](/server/classes/Waypoint.md): Beta Base class for waypoints displayed on the player's locator bar. Waypoints can track locations or entities and are rendered with customizable textures and colors. 显示在玩家定位栏上的路径点的基类。路径点可以跟踪位置或实体,并使用可自定义的纹理和颜色进行渲染。 Waypoints act as shared handles that can be added to multiple players' locator bars. When you modify a waypoint's properties (such as color, texture, or enabled state), the changes are reflected for all players who have that waypoint in their locator bar. This allows you to efficiently manage waypoints across multiple players without creating separate instances for each player. 路径点作为共享句柄,可以添加到多个玩家的定位栏中。当你修改路径点的属性(如颜色、纹理或启用状态)时,所有在其定位栏中拥有该路径点的玩家都会看到这些更改。这使得你可以高效地跨多个玩家管理路径点,而无需为每个玩家创建单独的实例。 - [EntityWaypoint](/server/classes/EntityWaypoint.md): entity Beta Waypoint that tracks an entity's position. The waypoint automatically updates as the entity moves and becomes invalid when the entity is removed. - [PlayerWaypoint](/server/classes/PlayerWaypoint.md): player Beta 跟踪玩家位置的导航点。扩展 EntityWaypoint,增加了特定于玩家的可见性规则,如隐藏状态和旁观者模式。 Waypoint that tracks a player's position. Extends EntityWaypoint with additional player-specific visibility rules such as hidden state and spectator mode. - [LocationWaypoint](/server/classes/LocationWaypoint.md): Beta 指向世界中固定位置的路径点。与实体路径点不同,位置路径点始终保持有效,并且其位置可以更新。 Waypoint that points to a fixed location in the world. Unlike entity waypoints, location waypoints always remain valid and their position can be updated. - [AimAssistCategory](/server/classes/AimAssistCategory.md): Beta 处理存在于 world.aimAssist 注册表中的瞄准辅助分类的句柄。 Handle to an aim-assist category that exists in the world.aimAssist registry. - [AimAssistCategorySettings](/server/classes/AimAssistCategorySettings.md): Beta 与 AimAssistRegistry.addCategory 一起使用的设置,用于创建 AimAssistCategory。 Settings used with AimAssistRegistry.addCategory for creation of the AimAssistCategory. - [AimAssistPreset](/server/classes/AimAssistPreset.md): Beta 处理存在于 world.aimAssist 注册表中的瞄准辅助预设的句柄。 Handle to an aim-assist preset that exists in the world.aimAssist registry. - [AimAssistPresetSettings](/server/classes/AimAssistPresetSettings.md): Beta 与 AimAssistRegistry.addPreset 一起使用的设置,用于创建 AimAssistPreset。 Settings used with AimAssistRegistry.addPreset for creation of the AimAssistPreset. - [AimAssistRegistry](/server/classes/AimAssistRegistry.md): Beta 用于管理世界瞄准辅助设置的 API 容器。 A container for APIs related to the world's aim-assist settings. - [BannerPattern](/server/classes/BannerPattern.md): Beta 描述单个旗帜图案,包括颜色和图案类型。 Describes a single banner pattern, which includes a colour and a pattern type. - [BiomeType](/server/classes/BiomeType.md): biome Beta 描述一种生物群系类型。 Describes a type of biome. - [BiomeTypes](/server/classes/BiomeTypes.md): biome Beta 支持 Minecraft 中注册的可用生物群系类型目录。 Supports a catalog of available biome types registered within Minecraft. - [Block](/server/classes/Block.md): block Beta Represents a block in a dimension. A block represents a unique X, Y, and Z within a dimension and get/sets the state of the block at that location. This type was significantly updated in version 1.17.10.21. - [BlockBoundingBoxUtils](/server/classes/BlockBoundingBoxUtils.md): block Beta 边界框工具类,提供许多用于创建和使用 BlockBoundingBox 对象的有用函数。 Bounding Box Utils is a utility class that provides a number of useful functions for the creation and utility of BlockBoundingBox objects - [BlockComponentRegistry](/server/classes/BlockComponentRegistry.md): block component Beta 用于注册方块自定义组件的注册表类。 Registry class for block custom components. - [BlockContainerClosedAfterEventSignal](/server/classes/BlockContainerClosedAfterEventSignal.md): event block inventory Beta 管理与方块容器被关闭时相关的回调。 Manages callbacks that are connected to when a block container is closed. - [BlockContainerOpenedAfterEventSignal](/server/classes/BlockContainerOpenedAfterEventSignal.md): event block inventory Beta 管理与方块容器被打开时相关的回调。 Manages callbacks that are connected to when a block container is opened. - [BlockCustomComponentAlreadyRegisteredError](/server/classes/BlockCustomComponentAlreadyRegisteredError.md): block error component Beta 当尝试注册一个已经注册过的方块自定义组件时抛出的错误。 Error thrown when attempting to register a block custom component that has already been registered. - [BlockCustomComponentReloadNewComponentError](/server/classes/BlockCustomComponentReloadNewComponentError.md): block error component Beta 当重新加载过程中发现新的方块自定义组件时抛出的错误。 Error thrown when a new block custom component is detected during reload. - [BlockCustomComponentReloadNewEventError](/server/classes/BlockCustomComponentReloadNewEventError.md): event block error component Beta 当重新加载过程中发现新的方块自定义组件事件时抛出的错误。 Error thrown when a new block custom component event is detected during reload. - [BlockCustomComponentReloadVersionError](/server/classes/BlockCustomComponentReloadVersionError.md): block error component Beta 当重新加载过程中发现方块自定义组件版本发生变化时抛出的错误。 Error thrown when a block custom component version change is detected during reload. - [BlockExplodeAfterEventSignal](/server/classes/BlockExplodeAfterEventSignal.md): event block Beta 管理与爆炸发生时相关回调,当爆炸影响单个方块时触发。 Manages callbacks that are connected to when an explosion occurs, as it impacts individual blocks. - [BlockLocationIterator](/server/classes/BlockLocationIterator.md): block Beta BlockLocationIterator 返回其正在迭代的方块体积中的下一个方块位置。 BlockLocationIterator 用于抽象其获取来源的方块体积的形状(因此它可以表示构成矩形、立方体、球体、线条和复杂形状的所有方块位置)。 每次迭代传递返回父形状中的下一个有效方块位置。 除非父形状另有指定,否则 BlockLocationIterator 将按 X 递增、然后 Z 递增、然后 Y 递增的顺序在 3D 空间中进行迭代。 (实际上是在 XZ 平面上逐步移动,当该平面中所有位置都遍历完毕后,将 Y 坐标递增到下一个 XZ 切片)。 A BlockLocationIterator returns the next block location of the block volume across which it is iterating. The BlockLocationIterator is used to abstract the shape of the block volume it was fetched from (so it can represent all the block locations that make up rectangles, cubes, spheres, lines and complex shapes). Each iteration pass returns the next valid block location in the parent shape. Unless otherwise specified by the parent shape - the BlockLocationIterator will iterate over a 3D space in the order of increasing X, followed by increasing Z followed by increasing Y. (Effectively stepping across the XZ plane, and when all the locations in that plane are exhausted, increasing the Y coordinate to the next XZ slice) - [BlockPermutation](/server/classes/BlockPermutation.md): block Beta 包含类型 BlockType 和属性(有时也称为方块状态)的组合,用于描述一个方块(但不属于特定的 Block)。 - [BlockStates](/server/classes/BlockStates.md): block Beta 枚举所有 BlockStateType。 Enumerates all BlockStateTypes. - [BlockStateType](/server/classes/BlockStateType.md): block Beta 表示方块的可配置状态值。例如,楼梯的朝向方向可以作为方块状态访问。 Represents a configurable state value of a block instance. For example, the facing direction of stairs is accessible as a block state. - [BlockType](/server/classes/BlockType.md): block Beta 方块的类型(或模板)。不包含置换数据(状态),仅包含其表示的方块类型。此类型在 1.17.10.21 版本引入。 The type (or template) of a block. Does not contain permutation data (state) other than the type of block it represents. This type was introduced as of version 1.17.10.21. - [BlockTypes](/server/classes/BlockTypes.md): block Beta 包含此世界中可用的 Minecraft 方块类型目录。 Contains a catalog of Minecraft Block Types that are available in this world. - [BookError](/server/classes/BookError.md): error Beta 使用 ItemBookComponent 时可能抛出的错误。 Errors that can be thrown when using ItemBookComponent. - [BookPageContentError](/server/classes/BookPageContentError.md): error Beta 当在 ItemBookComponent 上设置的页面内容无效时(例如超过最大页面长度)调用的错误。 The error called if page content being set on an ItemBookComponent are invalid ie. exceeding the maximum page length. - [ButtonPushAfterEventSignal](/server/classes/ButtonPushAfterEventSignal.md): event Beta 管理与按钮被按下时相关的回调。 - [Camera](/server/classes/Camera.md): Beta 包含与指定玩家的活动相机相关的方法。 Contains methods relating to the active camera for the specified player. - [CatmullRomSpline](/server/classes/CatmullRomSpline.md): Beta CatmullRom 样条曲线创建。 CatmullRom spline creation. - [ChatSendAfterEvent](/server/classes/ChatSendAfterEvent.md): event Beta 当玩家输入聊天消息时触发的事件。 An event that fires as players enter chat messages. - [ChatSendAfterEventSignal](/server/classes/ChatSendAfterEventSignal.md): event Beta 管理与聊天消息发送相关的回调。 Manages callbacks that are connected to chat messages being sent. - [ChatSendBeforeEvent](/server/classes/ChatSendBeforeEvent.md): event Beta 当玩家输入聊天消息时触发的事件。 An event that fires as players enter chat messages. - [ChatSendBeforeEventSignal](/server/classes/ChatSendBeforeEventSignal.md): event Beta 管理与聊天消息发送前触发的事件相关的回调。 Manages callbacks that are connected to an event that fires before chat messages are sent. - [CommandError](/server/classes/CommandError.md): error Beta 由命令执行失败抛出的错误类型。 Type of error thrown by failed command execution. - [CommandResult](/server/classes/CommandResult.md): Beta 包含命令执行结果的返回数据。 Contains return data on the result of a command execution. - [Container](/server/classes/Container.md): inventory Beta 表示一个可以容纳多组物品的容器。用于诸如玩家、运输矿车、羊驼等实体。 Represents a container that can hold sets of items. Used with entities such as Players, Chest Minecarts, Llamas, and more. - [ContainerRulesError](/server/classes/ContainerRulesError.md): inventory error Beta 当容器操作违反了 ContainerRules 时抛出的错误。 Error thrown if ContainerRules are broken on container operations. - [ContainerSlot](/server/classes/ContainerSlot.md): inventory Beta 表示更广泛容器(例如实体物品栏)中的一个槽位。 Represents a slot within a broader container (e.g., entity inventory.) - [CustomCommandError](/server/classes/CustomCommandError.md): error Beta 当 CustomCommandRegistry 操作发生错误时抛出的错误对象。 Error object thrown when CustomCommandRegistry errors occur. - [CustomCommandOrigin](/server/classes/CustomCommandOrigin.md): Beta 关于命令来源的详细信息。 Details about the origins of the command. - [CustomCommandRegistry](/server/classes/CustomCommandRegistry.md): Beta 提供注册自定义命令的功能。 Provides the functionality for registering custom commands. - [CustomComponentInvalidRegistryError](/server/classes/CustomComponentInvalidRegistryError.md): error component Beta 在系统启动事件之外尝试注册自定义组件时抛出的错误。 Thrown when trying to register a custom component outside of the system startup event. - [CustomComponentNameError](/server/classes/CustomComponentNameError.md): error component Beta 当自定义组件名称包含无效字符时抛出的错误。 Thrown when trying to register a custom component with a name that contains invalid characters. - [CustomComponentParameters](/server/classes/CustomComponentParameters.md): component Beta 包含自定义组件的 JSON 参数。 Contains the custom component's JSON parameters - [CustomDimensionAlreadyRegisteredError](/server/classes/CustomDimensionAlreadyRegisteredError.md): dimension error Beta 当尝试注册一个已注册过的自定义维度名称时抛出的错误。 Thrown when trying to register a custom dimension with a name that has already been registered. - [CustomDimensionInvalidRegistryError](/server/classes/CustomDimensionInvalidRegistryError.md): dimension error Beta 在系统启动事件之外尝试注册自定义维度时抛出的错误。 Thrown when trying to register a custom dimension outside of the system startup event. - [CustomDimensionNameError](/server/classes/CustomDimensionNameError.md): dimension error Beta 当尝试使用包含无效字符的名称注册自定义维度时抛出的错误。 Thrown when trying to register a custom dimension with a name that contains invalid characters. - [CustomDimensionReloadNewDimensionError](/server/classes/CustomDimensionReloadNewDimensionError.md): dimension error Beta 在使用 /reload 命令后,尝试注册一个之前未注册的自定义维度时抛出的错误。在重载期间不能添加新的自定义维度。 Thrown after using the /reload command when trying to register a custom dimension that was not previously registered. New custom dimensions cannot be added during a reload. - [DataDrivenEntityTriggerAfterEvent](/server/classes/DataDrivenEntityTriggerAfterEvent.md): event entity Beta 包含与数据驱动实体事件触发相关的信息——例如,鸡的 minecraft:ageable_grow_up 事件。 Contains information related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken. - [DataDrivenEntityTriggerAfterEventSignal](/server/classes/DataDrivenEntityTriggerAfterEventSignal.md): event entity Beta 包含与数据驱动实体事件触发相关的事件注册信息——例如,鸡的 minecraft:ageable_grow_up 事件。 Contains event registration related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken. - [Dimension](/server/classes/Dimension.md): dimension Beta A class that represents a particular dimension (e.g., The End) within a world. - [DimensionRegistry](/server/classes/DimensionRegistry.md): dimension Beta 提供注册自定义维度的功能。自定义维度只能在系统启动事件期间注册。 Provides the functionality for registering custom dimensions. Custom dimensions can only be registered during the system startup event. - [DimensionType](/server/classes/DimensionType.md): dimension Beta 表示维度的一种类型。目前仅适用于原版维度。 Represents a type of dimension. Currently only works with Vanilla dimensions. - [DimensionTypes](/server/classes/DimensionTypes.md): dimension Beta 用于访问所有可用的维度类型。目前仅适用于原版维度。 Used for accessing all available dimension types. Currently only works with Vanilla dimensions. - [Effect](/server/classes/Effect.md): effect Beta 表示一个已添加到实体上的效果——例如中毒。 Represents an effect - like poison - that has been added to an Entity. - [EffectAddAfterEvent](/server/classes/EffectAddAfterEvent.md): event effect Beta 包含与将效果(如中毒)添加到实体相关的变化信息。 Contains information related to changes to an effect - like poison - being added to an entity. - [EffectAddAfterEventSignal](/server/classes/EffectAddAfterEventSignal.md): event effect Beta 管理与将效果添加到实体时相关的回调。 Manages callbacks that are connected to when an effect is added to an entity. - [EffectAddBeforeEvent](/server/classes/EffectAddBeforeEvent.md): event effect Beta 包含与将效果(如中毒)添加到实体相关的变化信息。 Contains information related to changes to an effect - like poison - being added to an entity. - [EffectAddBeforeEventSignal](/server/classes/EffectAddBeforeEventSignal.md): event effect Beta 管理与将效果添加到实体时相关的回调。 Manages callbacks that are connected to when an effect is added to an entity. - [EffectType](/server/classes/EffectType.md): effect Beta 表示一种效果类型——例如中毒——可以应用于实体。 Represents a type of effect - like poison - that can be applied to an entity. - [EffectTypes](/server/classes/EffectTypes.md): effect Beta 表示一种效果类型——例如中毒——可以应用于实体。 Represents a type of effect - like poison - that can be applied to an entity. - [EnchantInfo](/server/classes/EnchantInfo.md): Beta 附魔信息。 Enchantment information. - [EnchantmentLevelOutOfBoundsError](/server/classes/EnchantmentLevelOutOfBoundsError.md): error Beta 当附魔等级超出允许范围时抛出的错误。 Error thrown when an enchantment level is out of the allowed bounds. - [EnchantmentType](/server/classes/EnchantmentType.md): Beta 包含一种附魔类型的信息。 Contains information on a type of enchantment. - [EnchantmentTypeNotCompatibleError](/server/classes/EnchantmentTypeNotCompatibleError.md): error Beta 当附魔类型与指定物品不兼容时抛出的错误。 Error thrown when an enchantment type is not compatible with the specified item. - [EnchantmentTypes](/server/classes/EnchantmentTypes.md): Beta 包含此世界中可用的 Minecraft 附魔类型目录。 Contains a catalog of Minecraft Enchantment Types that are available in this world. - [EnchantmentTypeUnknownIdError](/server/classes/EnchantmentTypeUnknownIdError.md): error Beta 当使用了未知的附魔类型标识符时抛出的错误。 Error thrown when an unknown enchantment type identifier is used. - [EntityContainerClosedAfterEvent](/server/classes/EntityContainerClosedAfterEvent.md): event entity inventory Beta 包含关于特定实体容器被关闭的信息。 Contains information regarding a specific entity container being closed. - [EntityContainerClosedAfterEventSignal](/server/classes/EntityContainerClosedAfterEventSignal.md): event entity inventory Beta Manages callbacks that are connected to when an entity container is closed. - [EntityContainerOpenedAfterEvent](/server/classes/EntityContainerOpenedAfterEvent.md): event entity inventory Beta Contains information regarding a specific entity container being opened. - [EntityContainerOpenedAfterEventSignal](/server/classes/EntityContainerOpenedAfterEventSignal.md): event entity inventory Beta Manages callbacks that are connected to when an entity container is opened. - [EntityDefinitionFeedItem](/server/classes/EntityDefinitionFeedItem.md): entity Beta 作为 Ageable 组件的一部分,表示一组可以喂给实体的物品及其促进成长的速率。 As part of the Ageable component, represents a set of items that can be fed to an entity and the rate at which that causes them to grow. - [EntityDieAfterEvent](/server/classes/EntityDieAfterEvent.md): event entity Beta 包含与游戏中实体死亡相关的数据。 Contains data related to the death of an entity in the game. - [EntityDieAfterEventSignal](/server/classes/EntityDieAfterEventSignal.md): event entity Beta Supports registering for an event that fires after an entity has died. - [EntityHealAfterEvent](/server/classes/EntityHealAfterEvent.md): event entity Beta Contains information related to an entity having been healed. - [EntityHealAfterEventSignal](/server/classes/EntityHealAfterEventSignal.md): event entity Beta Manages callbacks that are connected to when an entity is healed. - [EntityHealBeforeEvent](/server/classes/EntityHealBeforeEvent.md): event entity Beta Contains information related to an entity that will be healed. - [EntityHealBeforeEventSignal](/server/classes/EntityHealBeforeEventSignal.md): event entity Beta Manages callbacks that are connected to when an entity will be healed. - [EntityHealSource](/server/classes/EntityHealSource.md): entity Beta 提供有关治愈如何应用于实体的信息。 Provides information about how healing has been applied to an entity. - [EntityHealthChangedAfterEvent](/server/classes/EntityHealthChangedAfterEvent.md): event entity damage Beta Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop! - [EntityHealthChangedAfterEventSignal](/server/classes/EntityHealthChangedAfterEventSignal.md): event entity damage Beta Manages callbacks that are connected to when the health of an entity changes. - [EntityHitBlockAfterEvent](/server/classes/EntityHitBlockAfterEvent.md): event entity block Beta Contains information related to an entity hitting a block. - [EntityHitBlockAfterEventSignal](/server/classes/EntityHitBlockAfterEventSignal.md): event entity block Beta Manages callbacks that are connected to when an entity hits a block. - [EntityHitEntityAfterEvent](/server/classes/EntityHitEntityAfterEvent.md): event entity Beta 包含实体击中另一个实体后的相关信息。 Contains information related to an entity hitting another entity. - [EntityHitEntityAfterEventSignal](/server/classes/EntityHitEntityAfterEventSignal.md): event entity Beta Manages callbacks that are connected to when an entity makes a melee attack on another entity. - [EntityHurtAfterEvent](/server/classes/EntityHurtAfterEvent.md): event entity Beta 包含与实体受到伤害相关的信息。 Contains information related to an entity getting hurt. - [EntityHurtAfterEventSignal](/server/classes/EntityHurtAfterEventSignal.md): event entity Beta 管理与实体受到伤害时相关的回调。 Manages callbacks that are connected to when an entity is hurt. - [EntityHurtBeforeEvent](/server/classes/EntityHurtBeforeEvent.md): event entity Beta 包含与即将受到伤害的实体相关的信息。 Contains information related to an entity that will be hurt. - [EntityHurtBeforeEventSignal](/server/classes/EntityHurtBeforeEventSignal.md): event entity Beta 管理与实体将要受到伤害时相关的回调。 Manages callbacks that are connected to when an entity will be hurt. - [EntityItemDropAfterEvent](/server/classes/EntityItemDropAfterEvent.md): event entity Beta 包含与实体已掉落物品相关的信息。 Contains information related to an entity having dropped items. - [EntityItemDropAfterEventSignal](/server/classes/EntityItemDropAfterEventSignal.md): event entity Beta 管理与实体已掉落物品时相关的回调。 Manages callbacks that are connected to when an entity has dropped items. - [EntityItemPickupAfterEvent](/server/classes/EntityItemPickupAfterEvent.md): event entity Beta 包含与实体已拾取物品相关的信息。 Contains information related to an entity having picked up items. - [EntityItemPickupAfterEventSignal](/server/classes/EntityItemPickupAfterEventSignal.md): event entity Beta 管理与实体已拾取物品时相关的回调。 Manages callbacks that are connected to when an entity has picked up items. - [EntityItemPickupBeforeEvent](/server/classes/EntityItemPickupBeforeEvent.md): event entity Beta 包含与实体将要拾取物品相关的信息。 Contains information related to an entity picking up an item. - [EntityItemPickupBeforeEventSignal](/server/classes/EntityItemPickupBeforeEventSignal.md): event entity Beta 管理与实体将要拾取物品时相关的回调。 Manages callbacks that are connected to when an entity will pick up an item. - [EntityLoadAfterEvent](/server/classes/EntityLoadAfterEvent.md): event entity Beta Contains data related to an entity loaded within the world. This could happen when an unloaded chunk is reloaded, or when an entity changes dimensions. - [EntityLoadAfterEventSignal](/server/classes/EntityLoadAfterEventSignal.md): event entity Beta 管理与实体加载后相关的回调。 Manages callbacks that are connected to after an entity is loaded. - [EntityRemoveAfterEvent](/server/classes/EntityRemoveAfterEvent.md): event entity Beta Data for an event that happens when an entity is removed from the world (for example, the entity is unloaded because it is not close to players.) - [EntityRemoveAfterEventSignal](/server/classes/EntityRemoveAfterEventSignal.md): event entity Beta Allows registration for an event that fires when an entity is removed from the game (for example, unloaded, or a few seconds after they are dead.) - [EntityRemoveBeforeEvent](/server/classes/EntityRemoveBeforeEvent.md): event entity Beta Data for an event that happens when an entity is being removed from the world (for example, the entity is unloaded because it is not close to players.) - [EntityRemoveBeforeEventSignal](/server/classes/EntityRemoveBeforeEventSignal.md): event entity Beta 管理与实体被移除前相关的回调。 Manages callbacks that are connected to before an entity is removed. - [EntitySpawnAfterEvent](/server/classes/EntitySpawnAfterEvent.md): event entity Beta Contains data related to an entity spawning within the world. - [EntitySpawnAfterEventSignal](/server/classes/EntitySpawnAfterEventSignal.md): event entity Beta Registers a script-based event handler for handling what happens when an entity spawns. - [EntitySpawnError](/server/classes/EntitySpawnError.md): entity error Beta 实体生成失败时抛出的错误。 Error thrown when entity spawning fails. - [EntityStartSneakingAfterEvent](/server/classes/EntityStartSneakingAfterEvent.md): event entity Beta 包含实体开始潜行后的相关数据。 Contains data related to an entity after it starts sneaking. - [EntityStartSneakingAfterEventSignal](/server/classes/EntityStartSneakingAfterEventSignal.md): event entity Beta Manages callbacks that are connected to when an entity begins sneaking. - [EntityStopSneakingAfterEvent](/server/classes/EntityStopSneakingAfterEvent.md): event entity Beta 包含实体停止潜行后的相关数据。 Contains data related to an entity after it stops sneaking. - [EntityStopSneakingAfterEventSignal](/server/classes/EntityStopSneakingAfterEventSignal.md): event entity Beta Manages callbacks that are connected to when an entity stops sneaking. - [EntityTamedAfterEvent](/server/classes/EntityTamedAfterEvent.md): event entity Beta - [EntityTamedAfterEventSignal](/server/classes/EntityTamedAfterEventSignal.md): event entity Beta - [EntityTamedBeforeEvent](/server/classes/EntityTamedBeforeEvent.md): event entity Beta - [EntityTamedBeforeEventSignal](/server/classes/EntityTamedBeforeEventSignal.md): event entity Beta - [EntityType](/server/classes/EntityType.md): entity Beta 表示一种实体类型的信息。 Represents information about a type of entity. - [EntityTypes](/server/classes/EntityTypes.md): entity Beta 用于访问世界中当前可用的所有实体类型。 Used for accessing all entity types currently available for use within the world. - [EntityUpgradeAfterEvent](/server/classes/EntityUpgradeAfterEvent.md): event entity Beta Contains information related to firing of a data driven entity version upgrade. - [EntityUpgradeAfterEventSignal](/server/classes/EntityUpgradeAfterEventSignal.md): event entity Beta Contains event registration related to firing of a data driven entity version upgrade. - [ExplosionAfterEventSignal](/server/classes/ExplosionAfterEventSignal.md): event Beta 管理与爆炸发生时相关的回调。 Manages callbacks that are connected to when an explosion occurs. - [ExplosionBeforeEventSignal](/server/classes/ExplosionBeforeEventSignal.md): event Beta 管理与爆炸发生前相关的回调。 Manages callbacks that are connected to before an explosion occurs. - [FeedItem](/server/classes/FeedItem.md): Beta 作为 Healable 组件的一部分,表示可喂给实体并产生生命值效果的特定物品。 As part of the Healable component, represents a specific item that can be fed to an entity to cause health effects. - [FeedItemEffect](/server/classes/FeedItemEffect.md): effect Beta 表示将食物喂给实体后产生的效果。 Represents an effect that is applied as a result of a food item being fed to an entity. - [FluidContainer](/server/classes/FluidContainer.md): inventory Beta 表示与流体容器相关的常量。 Represents constants related to fluid containers. - [FogSettings](/server/classes/FogSettings.md): Beta 提供对玩家实体雾设置堆栈的访问,使脚本能够推入、弹出、移除和查询生效中的雾设置。 Provides access to the fog definitions stack of a player entity, allowing scripts to push, pop, remove, and query active fog definitions. - [FogSettingsError](/server/classes/FogSettingsError.md): error Beta 当超出雾效栈上限或提供了无效的雾效标识符时,由 FogSettings 操作抛出的错误。 Error thrown by FogSettings operations when the fog stack limit is exceeded or an invalid fog identifier is provided. - [GameRuleChangeAfterEvent](/server/classes/GameRuleChangeAfterEvent.md): event Beta 包含关于已更改的 world.gameRules 属性的信息。 Contains information regarding a changed world.gameRules property. - [GameRuleChangeAfterEventSignal](/server/classes/GameRuleChangeAfterEventSignal.md): event Beta 管理当 world.gameRules 属性发生变化时所连接的回调。 Manages callbacks that are connected to when a world.gameRules property has changed. - [GameRules](/server/classes/GameRules.md): Beta 表示一个世界体验的规则集合。 Represents the game rules for a world experience. - [InputInfo](/server/classes/InputInfo.md): Beta 包含某个客户端实例的输入信息。 Contains the input information for a client instance. - [InvalidBlockComponentError](/server/classes/InvalidBlockComponentError.md): block error component Beta 当方块无效时会抛出此错误。在访问不具备相应组件的方块上的组件时,也会抛出此错误。 The error can occur when a block is invalid. This can also occur when accessing components on a block that doesn't have them. - [InvalidContainerError](/server/classes/InvalidContainerError.md): inventory error Beta 容器无效。当容器缺失或被删除时会抛出此错误。 The container is invalid. This can occur if the container is missing or deleted. - [InvalidContainerSlotError](/server/classes/InvalidContainerSlotError.md): inventory error Beta 容器槽位无效。当所属容器被销毁或卸载时会抛出此错误。 The container slot is invalid. This can occur when the owning container is destroyed or unloaded. - [InvalidEntityComponentError](/server/classes/InvalidEntityComponentError.md): entity error component Beta 在访问不具备相应组件的实体上的组件时会抛出此错误。 This error can occur when accessing components on an entity that doesn't have them. - [InvalidEntityError](/server/classes/InvalidEntityError.md): entity error Beta 当实体无效时抛出的错误。可能发生在访问已移除实体的组件时。 The error called when an entity is invalid. This can occur when accessing components on a removed entity. - [InvalidItemStackError](/server/classes/InvalidItemStackError.md): item error Beta 当某个物品无效时抛出的错误。例如访问已移除物品的组件时可能会发生此错误。 The error called when an item is invalid. This can occur when accessing components on a removed item. - [InvalidIteratorError](/server/classes/InvalidIteratorError.md): error Beta - [InvalidPotionDeliveryTypeError](/server/classes/InvalidPotionDeliveryTypeError.md): error Beta - [InvalidPotionEffectTypeError](/server/classes/InvalidPotionEffectTypeError.md): effect error Beta - [InvalidStructureError](/server/classes/InvalidStructureError.md): error Beta 当结构无效时抛出。结构在被删除后将变为无效。 Thrown when a Structure is invalid. A structure becomes invalid when it is deleted. - [InvalidWaypointError](/server/classes/InvalidWaypointError.md): error Beta 在对无效的路径点执行操作时抛出。当路径点被移除或其追踪的实体不再有效时,路径点将变为无效。 Error thrown when attempting to perform operations on an invalid waypoint. A waypoint becomes invalid when it is removed or when the entity it tracks is no longer valid. - [InvalidWaypointTextureSelectorError](/server/classes/InvalidWaypointTextureSelectorError.md): error Beta - [ItemCompleteUseAfterEvent](/server/classes/ItemCompleteUseAfterEvent.md): event Beta 包含与可蓄力物品完成蓄力相关的信息。 Contains information related to a chargeable item completing being charged. - [ItemCompleteUseAfterEventSignal](/server/classes/ItemCompleteUseAfterEventSignal.md): event Beta 管理与可蓄力物品完成蓄力相关联的回调。 Manages callbacks that are connected to the completion of charging for a chargeable item. - [ItemComponentBeforeDurabilityDamageEvent](/server/classes/ItemComponentBeforeDurabilityDamageEvent.md): event damage component Beta 包含物品因击中实体而受损前的相关信息。 Contains information regarding an item before it is damaged from hitting an entity. - [ItemComponentConsumeEvent](/server/classes/ItemComponentConsumeEvent.md): event component Beta 包含与食物被消耗相关的信息。 Contains information related to a food item being consumed. - [ItemComponentHitEntityEvent](/server/classes/ItemComponentHitEntityEvent.md): event entity component Beta 包含使用物品击中实体时的相关信息。 Contains information regarding when an item is used to hit an entity. - [ItemComponentMineBlockEvent](/server/classes/ItemComponentMineBlockEvent.md): event block component Beta 包含使用物品挖掘方块的相关信息。 Contains information regarding the mining of a block using an item. - [ItemComponentRegistry](/server/classes/ItemComponentRegistry.md): component Beta 提供为物品注册自定义组件的功能。 Provides the functionality for registering custom components for items. - [ItemComponentUseEvent](/server/classes/ItemComponentUseEvent.md): event component Beta 包含与物品使用相关的信息。 Contains information regarding the use of an item. - [ItemCustomComponentAlreadyRegisteredError](/server/classes/ItemCustomComponentAlreadyRegisteredError.md): error component Beta 在尝试使用已注册过的名称注册物品自定义组件时抛出。 Thrown when trying to register an item custom component with a name that has already been registered. - [ItemCustomComponentReloadNewComponentError](/server/classes/ItemCustomComponentReloadNewComponentError.md): error component Beta 在使用 /reload 命令后,尝试注册此前未注册过的物品自定义组件时抛出。 Thrown after using the /reload command when trying to register a previously unregistered item custom component. - [ItemCustomComponentReloadNewEventError](/server/classes/ItemCustomComponentReloadNewEventError.md): event error component Beta 在使用 /reload 命令后,当尝试注册一个此前已注册但用于处理新事件的物品自定义组件时抛出。 Thrown after using the /reload command when trying to register a previously registered item custom component that handles a new event. - [ItemCustomComponentReloadVersionError](/server/classes/ItemCustomComponentReloadVersionError.md): error component Beta 在使用 /reload 命令后,尝试使用较新的 API 版本注册先前已注册过的物品自定义组件时抛出。 Thrown after using the /reload command when trying to register a previously registered item custom component with a newer API version. - [ItemReleaseUseAfterEvent](/server/classes/ItemReleaseUseAfterEvent.md): event Beta 包含与可蓄力物品在玩家结束使用并释放建造动作时相关的信息。 Contains information related to a chargeable item when the player has finished using the item and released the build action. - [ItemReleaseUseAfterEventSignal](/server/classes/ItemReleaseUseAfterEventSignal.md): event Beta 管理与可蓄力物品停止蓄力事件相关联的回调。 Manages callbacks that are connected to the releasing of charging for a chargeable item. - [ItemStack](/server/classes/ItemStack.md): item Beta 定义一个物品集合。 Defines a collection of items. - [ItemStartUseAfterEvent](/server/classes/ItemStartUseAfterEvent.md): event Beta 包含与可蓄力物品开始蓄力相关的信息。 Contains information related to a chargeable item starting to be charged. - [ItemStartUseAfterEventSignal](/server/classes/ItemStartUseAfterEventSignal.md): event Beta 管理与可蓄力物品开始蓄力事件相关联的回调。 Manages callbacks that are connected to the start of charging for a chargeable item. - [ItemStartUseOnAfterEvent](/server/classes/ItemStartUseOnAfterEvent.md): event Beta 包含有关在方块上使用物品的信息。玩家按下“使用物品/放置方块”按钮并成功使用物品或放置方块时触发此事件。在执行建造操作时,仅对交互的第一个方块触发。注意:此事件不能与锄头或斧头物品一起使用。 Contains information related to an item being used on a block. This event fires when a player presses the the Use Item / Place Block button to successfully use an item or place a block. Fires for the first block that is interacted with when performing a build action. Note: This event cannot be used with Hoe or Axe items. - [ItemStartUseOnAfterEventSignal](/server/classes/ItemStartUseOnAfterEventSignal.md): event Beta 管理与物品开始被用于方块事件相关联的回调。 Manages callbacks that are connected to an item starting being used on a block event. - [ItemStopUseAfterEvent](/server/classes/ItemStopUseAfterEvent.md): event Beta 包含与可蓄力物品结束使用周期、或玩家释放该物品的使用动作相关的信息。 Contains information related to a chargeable item has finished an items use cycle, or when the player has released the use action with the item. - [ItemStopUseAfterEventSignal](/server/classes/ItemStopUseAfterEventSignal.md): event Beta 管理与带有已注册的 minecraft:chargeable 组件的物品停止蓄力事件相关联的回调。 Manages callbacks that are connected to the stopping of charging for an item that has a registered minecraft:chargeable component. - [ItemStopUseOnAfterEvent](/server/classes/ItemStopUseOnAfterEvent.md): event Beta 包含与已停止对某方块使用的物品相关的信息。当玩家按 下「使用物品/放置方块」按钮成功使用物品或放置方块时, 会触发此事件。如果放置了多个方块,则此事件仅在放置 开始的瞬间触发一次。注意:此事件不能与锄或斧物品一起使用。 Contains information related to an item that has stopped being used on a block. This event fires when a player successfully uses an item or places a block by pressing the Use Item / Place Block button. If multiple blocks are placed, this event will only occur once at the beginning of the block placement. Note: This event cannot be used with Hoe or Axe items. - [ItemStopUseOnAfterEventSignal](/server/classes/ItemStopUseOnAfterEventSignal.md): event Beta 管理与物品停止对方块使用事件相关联的回调。 Manages callbacks that are connected to an item stops used on a block event. - [ItemType](/server/classes/ItemType.md): item Beta 表示物品的类型,例如 Wool。 Represents the type of an item - for example, Wool. - [ItemTypes](/server/classes/ItemTypes.md): Beta 返回在 Minecraft 中注册的物品类型集合。 Returns the set of item types registered within Minecraft. - [ItemUseAfterEventSignal](/server/classes/ItemUseAfterEventSignal.md): event Beta 管理与物品使用事件相关联的回调。 Manages callbacks that are connected to an item use event. - [ItemUseBeforeEventSignal](/server/classes/ItemUseBeforeEventSignal.md): event Beta 管理物品使用前触发的回调。 Manages callbacks that fire before an item is used. - [LeverActionAfterEventSignal](/server/classes/LeverActionAfterEventSignal.md): event Beta 管理与拉杆移动(激活或停用)相关的回调。 Manages callbacks that are connected to lever moves (activates or deactivates). - [LinearSpline](/server/classes/LinearSpline.md): Beta 在点之间线性插值的样条线。 A spline that linearly interpolates between points. - [LocationInUnloadedChunkError](/server/classes/LocationInUnloadedChunkError.md): error Beta 当指定位置或边界区域所在的区块未加载时抛出。 Thrown when the chunk for provided location or bounding area is not loaded. - [LocationOutOfWorldBoundariesError](/server/classes/LocationOutOfWorldBoundariesError.md): world error Beta 当提供的位置或边界区域超出维度的最小或最大高度时抛出。 Thrown when a provided location or bounding area is outside the minimum or maximum dimension height. - [LocatorBar](/server/classes/LocatorBar.md): Beta 管理玩家定位栏上显示的路径点集合。允许添加、移除和查询路径点,具有最大容量限制。 定位栏中的无效路径点将在下一个游戏刻自动移除。这包括与已从世界中移除的实体绑定的路径点。 注意:你可以使用 playerWaypoints GameRule 控制是否自动将玩家路径点添加到定位栏。接受的值有 off(玩家不显示在定位栏上)和 everyone(所有玩家在定位栏上可见)。 注意:你只能修改、移除或查询由此包添加的路径点。 Manages the collection of waypoints displayed on a player's locator bar. Allows adding, removing, and querying waypoints with a maximum capacity limit. Invalid waypoints in the locator bar will be automatically removed in the next tick. This includes waypoints tied to entities that have been removed from the world. Note: You can control whether vanilla player waypoints are automatically added to the locator bar using the playerWaypoints GameRule. Accepted values are off (players are not shown on the locator bar) and everyone (all players are visible on the locator bar). Note: You can only modify, remove, or query waypoints that were added by this pack. - [LocatorBarError](/server/classes/LocatorBarError.md): error Beta 当定位栏操作失败时抛出的错误。包含指示错误具体原因的原因代码。 Error thrown when a locator bar operation fails. Contains a reason code indicating the specific cause of the error. - [LootPool](/server/classes/LootPool.md): Beta 条目的集合,每个条目单独决定战利品掉落。可以包含决定掉落结果的数值,包括投掷次数、额外投掷次数和层级。 A collection of entries which individually determine loot drops. Can contain values determining drop outcomes, including rolls, bonus rolls and tiers. - [LootPoolTiers](/server/classes/LootPoolTiers.md): Beta 表示在分层战利品池中决定战利品掉落的值。分层战利品池中的潜在掉落物是有序的,并通过此对象中的值控制的逻辑进行选择。 Represents the values which determine loot drops in a tiered loot pool. Potential drops from tiered loot pools are ordered, and chosen via logic controlled by the values in this object. - [LootTable](/server/classes/LootTable.md): Beta 表示单个战利品表,决定杀死生物、破坏方块、填充容器等时生成哪些物品。 Represents a single Loot Table, which determines what items are generated when killing a mob, breaking a block, filling a container, and more. - [LootTableManager](/server/classes/LootTableManager.md): Beta 战利品表相关 API 的管理器。可根据方块和实体的战利品表生成掉落物。 Manager for Loot Table related APIs. Allows for generation of drops from blocks and entities according to their loot tables. - [MessageReceiveAfterEvent](/server/classes/MessageReceiveAfterEvent.md): event Beta 一个特定的当前内部事件,用于将消息从客户端传递到服务器。 A specific currently-internal event used for passing messages from client to server. - [MolangVariableMap](/server/classes/MolangVariableMap.md): Beta 包含一组额外的变量值,用于进一步定义渲染和动画的工作方式。 Contains a set of additional variable values for further defining how rendering and animations function. - [NamespaceNameError](/server/classes/NamespaceNameError.md): error Beta 当名称需要命名空间且在验证该命名空间时发生错误时抛出。 Thrown when a name requires a namespace and an error occurs when validating that namespace - [PackSettingChangeAfterEvent](/server/classes/PackSettingChangeAfterEvent.md): event Beta 发生更改的包设置名称和值。 Pack setting name and value that changed. - [PackSettingChangeAfterEventSignal](/server/classes/PackSettingChangeAfterEventSignal.md): event Beta 管理连接到包设置更改事件的回调。 Manages callbacks that are connected to pack setting change events. - [PistonActivateAfterEventSignal](/server/classes/PistonActivateAfterEventSignal.md): event Beta 管理与活塞激活相关的回调。 Manages callbacks that are connected to piston activations. - [PlaceJigsawError](/server/classes/PlaceJigsawError.md): error Beta - [PlayerAimAssist](/server/classes/PlayerAimAssist.md): player Beta 用于玩家瞄准辅助相关 API 的容器。 A container for APIs related to player aim-assist. - [PlayerBreakBlockAfterEventSignal](/server/classes/PlayerBreakBlockAfterEventSignal.md): event player block Beta 管理与玩家破坏方块时相关的回调。 Manages callbacks that are connected to when a player breaks a block. - [PlayerBreakBlockBeforeEventSignal](/server/classes/PlayerBreakBlockBeforeEventSignal.md): event player block Beta 管理与玩家破坏方块前相关的回调。 Manages callbacks that are connected to before a player breaks a block. - [PlayerButtonInputAfterEvent](/server/classes/PlayerButtonInputAfterEvent.md): event player Beta 玩家按下按钮时的事件数据。 Event data for when a player presses a button. - [PlayerButtonInputAfterEventSignal](/server/classes/PlayerButtonInputAfterEventSignal.md): event player Beta 管理与玩家输入相关的回调。 Manages callbacks that are connected to player inputs. - [PlayerCancelBreakingBlockAfterEventSignal](/server/classes/PlayerCancelBreakingBlockAfterEventSignal.md): event player block Beta - [PlayerDimensionChangeAfterEvent](/server/classes/PlayerDimensionChangeAfterEvent.md): event player dimension Beta 包含玩家维度已更改的相关信息。 Contains information related to changes to a player's dimension having been changed. - [PlayerDimensionChangeAfterEventSignal](/server/classes/PlayerDimensionChangeAfterEventSignal.md): event player dimension Beta 管理与玩家维度切换成功后的回调。 Manages callbacks that are connected to successful player dimension changes. - [PlayerEmoteAfterEvent](/server/classes/PlayerEmoteAfterEvent.md): event player Beta - [PlayerEmoteAfterEventSignal](/server/classes/PlayerEmoteAfterEventSignal.md): event player Beta 管理连接到玩家表情事件后的回调。 Manages callbacks that are connected to after a player emote event. - [PlayerGameModeChangeAfterEvent](/server/classes/PlayerGameModeChangeAfterEvent.md): event player Beta 包含玩家游戏模式更改后的事件相关信息。 Contains information regarding an event after a players game mode is changed. - [PlayerGameModeChangeAfterEventSignal](/server/classes/PlayerGameModeChangeAfterEventSignal.md): event player Beta 管理与玩家游戏模式更改后相关的回调。 Manages callbacks that are connected to after a players game mode is changed. - [PlayerGameModeChangeBeforeEvent](/server/classes/PlayerGameModeChangeBeforeEvent.md): event player Beta 包含玩家与实体交互前的事件相关信息。 Contains information regarding an event before a player interacts with an entity. - [PlayerGameModeChangeBeforeEventSignal](/server/classes/PlayerGameModeChangeBeforeEventSignal.md): event player Beta 管理与玩家游戏模式更改前相关的回调。 Manages callbacks that are connected to before a players game mode is changed. - [PlayerHotbarSelectedSlotChangeAfterEvent](/server/classes/PlayerHotbarSelectedSlotChangeAfterEvent.md): event player Beta 包含玩家切换选择的快捷栏槽位后的事件相关信息。 Contains information regarding an event after changing the selected hotbar slot for a player. - [PlayerHotbarSelectedSlotChangeAfterEventSignal](/server/classes/PlayerHotbarSelectedSlotChangeAfterEventSignal.md): event player Beta 管理与玩家选择的快捷栏槽位更改后相关的回调。 Manages callbacks that are connected after a player selected hotbar slot is changed. - [PlayerInputModeChangeAfterEvent](/server/classes/PlayerInputModeChangeAfterEvent.md): event player Beta 玩家输入模式更改时的事件数据。 Event data for when a player input mode changes. - [PlayerInputModeChangeAfterEventSignal](/server/classes/PlayerInputModeChangeAfterEventSignal.md): event player Beta 管理连接到玩家输入模式更改的回调。 Manages callbacks that are connected to player input mode. - [PlayerInputPermissionCategoryChangeAfterEvent](/server/classes/PlayerInputPermissionCategoryChangeAfterEvent.md): event player permission Beta 包含关于玩家输入权限更改后事件的信息。 Contains information regarding an event after a players input permissions change. - [PlayerInputPermissionCategoryChangeAfterEventSignal](/server/classes/PlayerInputPermissionCategoryChangeAfterEventSignal.md): event player permission Beta 管理连接到玩家输入权限更改后事件的回调。 Manages callbacks that are connected to after a players input permissions change. - [PlayerInputPermissions](/server/classes/PlayerInputPermissions.md): player Beta 包含启用/禁用玩家输入权限的 API。 Contains APIs to enable/disable player input permissions. - [PlayerInteractWithBlockAfterEvent](/server/classes/PlayerInteractWithBlockAfterEvent.md): event player block Beta 包含关于玩家成功与方块交互后事件的信息。 Contains information regarding an event after a player successfully interacts with a block. - [PlayerInteractWithBlockAfterEventSignal](/server/classes/PlayerInteractWithBlockAfterEventSignal.md): event player block Beta 管理与玩家与方块交互后相关的回调。 Manages callbacks that are connected to after a player interacts with a block. - [PlayerInteractWithBlockBeforeEvent](/server/classes/PlayerInteractWithBlockBeforeEvent.md): event player block Beta 包含有关玩家与方块交互之前的事件信息。 Contains information regarding an event before a player interacts with a block. - [PlayerInteractWithBlockBeforeEventSignal](/server/classes/PlayerInteractWithBlockBeforeEventSignal.md): event player block Beta 管理在玩家与方块交互之前相关的回调。 Manages callbacks that are connected to before a player interacts with a block. - [PlayerInteractWithEntityAfterEvent](/server/classes/PlayerInteractWithEntityAfterEvent.md): event player entity Beta 包含有关玩家成功与实体交互之后的事件信息。 Contains information regarding an event after a player successfully interacts with an entity. - [PlayerInteractWithEntityAfterEventSignal](/server/classes/PlayerInteractWithEntityAfterEventSignal.md): event player entity Beta 管理连接到玩家与实体交互后事件的回调。 Manages callbacks that are connected to after a player interacts with an entity. - [PlayerInteractWithEntityBeforeEvent](/server/classes/PlayerInteractWithEntityBeforeEvent.md): event player entity Beta 包含关于玩家与实体交互前事件的信息。 Contains information regarding an event before a player interacts with an entity. - [PlayerInteractWithEntityBeforeEventSignal](/server/classes/PlayerInteractWithEntityBeforeEventSignal.md): event player entity Beta 管理连接到玩家与实体交互前事件的回调。 Manages callbacks that are connected to before a player interacts with an entity. - [PlayerInventoryItemChangeAfterEvent](/server/classes/PlayerInventoryItemChangeAfterEvent.md): event player inventory Beta 包含有关玩家库存物品更改之后的事件信息。 Contains information regarding an event after a player's inventory item changes. - [PlayerInventoryItemChangeAfterEventSignal](/server/classes/PlayerInventoryItemChangeAfterEventSignal.md): event player inventory Beta 管理玩家库存物品更改后相关的回调。 Manages callbacks that are connected after a player's inventory item is changed. - [PlayerJoinAfterEvent](/server/classes/PlayerJoinAfterEvent.md): event player Beta 包含有关已加入的玩家信息。有关玩家首次在游戏中生成后可能返回的更详细信息,请参见 playerSpawn 事件。 Contains information regarding a player that has joined. See the playerSpawn event for more detailed information that could be returned after the first time a player has spawned within the game. - [PlayerJoinAfterEventSignal](/server/classes/PlayerJoinAfterEventSignal.md): event player Beta 管理与玩家加入世界相关的回调。 Manages callbacks that are connected to a player joining the world. - [PlayerLeaveAfterEvent](/server/classes/PlayerLeaveAfterEvent.md): event player Beta 包含关于已离开世界玩家的信息。 Contains information regarding a player that has left the world. - [PlayerLeaveAfterEventSignal](/server/classes/PlayerLeaveAfterEventSignal.md): event player Beta 管理连接到玩家离开世界事件的回调。 Manages callbacks that are connected to a player leaving the world. - [PlayerLeaveBeforeEvent](/server/classes/PlayerLeaveBeforeEvent.md): event player Beta 包含关于正在离开世界玩家的信息。 Contains information regarding a player that is leaving the world. - [PlayerLeaveBeforeEventSignal](/server/classes/PlayerLeaveBeforeEventSignal.md): event player Beta 管理连接到玩家离开世界事件的回调。 Manages callbacks that are connected to a player leaving the world. - [PlayerPlaceBlockAfterEventSignal](/server/classes/PlayerPlaceBlockAfterEventSignal.md): event player block Beta 管理与玩家放置方块时相关的回调。 Manages callbacks that are connected to when a block is placed by a player. - [PlayerPlaceBlockBeforeEventSignal](/server/classes/PlayerPlaceBlockBeforeEventSignal.md): event player block Beta 管理连接到玩家放置方块前事件的回调。 Manages callbacks that are connected to before a block is placed by a player. - [PlayerSpawnAfterEvent](/server/classes/PlayerSpawnAfterEvent.md): event player Beta 包含关于玩家生成的更多信息的事件。 An event that contains more information about a player spawning. - [PlayerSpawnAfterEventSignal](/server/classes/PlayerSpawnAfterEventSignal.md): event player Beta 注册一个在玩家在世界中生成(或重生后)并完全准备好时触发的事件。 Registers an event when a player is spawned (or re-spawned after death) and fully ready within the world. - [PlayerStartBreakingBlockAfterEventSignal](/server/classes/PlayerStartBreakingBlockAfterEventSignal.md): event player block Beta - [PlayerSwingStartAfterEvent](/server/classes/PlayerSwingStartAfterEvent.md): event player Beta 包含有关玩家开始挥动手臂的信息。 Contains information regarding a player starting to swing their arm. - [PlayerSwingStartAfterEventSignal](/server/classes/PlayerSwingStartAfterEventSignal.md): event player Beta 管理与玩家开始挥动手臂(例如攻击、使用物品、交互)时相关的回调。 Manages callbacks that are connected to when a player starts to swing their arm (e.g. attacking, using an item, interacting). - [PlayerUseNameTagAfterEvent](/server/classes/PlayerUseNameTagAfterEvent.md): event player Beta 包含有关玩家成功使用有命名的命名标签物品命名实体的相关信息。 Contains information related to when a player successfully names an Entity with a named Name Tag item. - [PlayerUseNameTagAfterEventSignal](/server/classes/PlayerUseNameTagAfterEventSignal.md): event player Beta 管理连接到玩家使用命名过的命名牌物品成功命名实体事件的回调。 Manages callbacks that are connected to when a player successfully names an Entity with a named Name Tag item. - [PotionDeliveryType](/server/classes/PotionDeliveryType.md): Beta 表示药水效果是如何被施加的。 Represents how the potion effect is delivered. - [PotionEffectType](/server/classes/PotionEffectType.md): effect Beta 表示一种药水效果类型,例如治疗或跳跃提升。 Represents a type of potion effect - like healing or leaping. - [Potions](/server/classes/Potions.md): Beta 用于访问所有药水效果类型、传递类型以及创建药水。 Used for accessing all potion effect types, delivery types, and creating potions. - [PressurePlatePopAfterEventSignal](/server/classes/PressurePlatePopAfterEventSignal.md): event Beta 管理与压力板复位时相关的回调。 Manages callbacks that are connected to when a pressure plate is popped. - [PressurePlatePushAfterEventSignal](/server/classes/PressurePlatePushAfterEventSignal.md): event Beta 管理连接到压力板触发事件的回调。 Manages callbacks that are connected to when a pressure plate is pushed. - [PrimitiveShapeError](/server/classes/PrimitiveShapeError.md): error Beta - [PrimitiveShapesManager](/server/classes/PrimitiveShapesManager.md): Beta Primitive Shapes class used to allow adding and removing text primitives to the world. - [ProjectileHitBlockAfterEvent](/server/classes/ProjectileHitBlockAfterEvent.md): event block Beta 包含与抛射物击中方块相关的信息。 Contains information related to a projectile hitting a block. - [ProjectileHitBlockAfterEventSignal](/server/classes/ProjectileHitBlockAfterEventSignal.md): event block Beta 管理与弹射物击中方块时相关的回调。 Manages callbacks that are connected to when a projectile hits a block. - [ProjectileHitEntityAfterEvent](/server/classes/ProjectileHitEntityAfterEvent.md): event entity Beta 包含与弹射物击中实体相关的信息。 Contains information related to a projectile hitting an entity. - [ProjectileHitEntityAfterEventSignal](/server/classes/ProjectileHitEntityAfterEventSignal.md): event entity Beta 管理与弹射物击中实体时相关的回调。 Manages callbacks that are connected to when a projectile hits an entity. - [RawMessageError](/server/classes/RawMessageError.md): chat error Beta - [Scoreboard](/server/classes/Scoreboard.md): scoreboard Beta 表示记分板。其上包含了记分项和分数持有者。 Contains objectives and participants for the scoreboard. - [ScoreboardIdentity](/server/classes/ScoreboardIdentity.md): scoreboard Beta 表示记分板上的分数持有者。 Contains an identity of the scoreboard item. - [ScoreboardObjective](/server/classes/ScoreboardObjective.md): scoreboard Beta 表示记分板上的记分项。包含了分数持有者和各自的分数。 Contains objectives and participants for the scoreboard. - [ScoreboardScoreInfo](/server/classes/ScoreboardScoreInfo.md): scoreboard Beta 表示分数信息。包含了分数持有者以及它在记分板上的对应的分数。 Contains a pair of a scoreboard participant and its respective score. - [ScreenDisplay](/server/classes/ScreenDisplay.md): Beta 包含关于显示在屏幕上的用户界面元素的信息。 Contains information about user interface elements that are showing up on the screen. - [ScriptEventCommandMessageAfterEvent](/server/classes/ScriptEventCommandMessageAfterEvent.md): event Beta 返回关于 /scriptevent 命令调用的附加数据。 Returns additional data about a /scriptevent command invocation. - [ScriptEventCommandMessageAfterEventSignal](/server/classes/ScriptEventCommandMessageAfterEventSignal.md): event Beta 允许注册一个响应入站 /scriptevent 命令的事件处理器。 Allows for registering an event handler that responds to inbound /scriptevent commands. - [Seat](/server/classes/Seat.md): Beta 描述此可骑乘实体上的特定座位位置。 Describes a particular seating position on this rideable entity. - [ServerMessageAfterEventSignal](/server/classes/ServerMessageAfterEventSignal.md): event Beta 管理消息传递到服务器的回调。此事件目前尚未完全实现,不应使用。 Manages callbacks that are message passing to a server. This event is not currently fully implemented, and should not be used. - [ShutdownBeforeEventSignal](/server/classes/ShutdownBeforeEventSignal.md): event Beta 为调用者提供了一个可适应的接口,用于订阅在游戏世界关闭前触发的事件。此事件发生在玩家离开之后,但在世界关闭之前。 Provides an adaptable interface for callers to subscribe to an event that fires before the game world shuts down. This event occurs after players have left, but before the world has closed. - [ShutdownEvent](/server/classes/ShutdownEvent.md): event Beta 游戏世界关闭时分发的事件对象。 The event object that gets dispatched when the game world is shutting down. - [SoundCompletedAfterEvent](/server/classes/SoundCompletedAfterEvent.md): event sound Beta 包含关于声音声明时长已结束的信息。 Contains information about a sound thats declared duration elapsed. - [SoundCompletedAfterEventSignal](/server/classes/SoundCompletedAfterEventSignal.md): event sound Beta 管理当被追踪声音的声明时长结束时触发的回调。 Manages callbacks that are invoked when a tracked sound's declared duration elapses. - [SoundDefinition](/server/classes/SoundDefinition.md): sound Beta 关于在 sound_definitions.json 文件中声明的音效的静态元数据。 Static metadata about a sound declared in a sound_definitions.json file. - [SoundDefinitionRegistry](/server/classes/SoundDefinitionRegistry.md): sound Beta 提供对当前世界加载的音效定义的只读访问。 Provides read-only access to the sound definitions loaded for the current world. - [SoundDurationInfo](/server/classes/SoundDurationInfo.md): sound Beta 提供声明了时长的声音的时长和播放信息。 Provides duration and playback information for a sound whose definition declares a duration. - [SoundInstance](/server/classes/SoundInstance.md): sound Beta 表示已播放音效的句柄。在音效播放期间需要通过此句柄来控制音效(例如调用 stop、setVolume、setPitch、fade 或 seekTo)。无限循环音效(通过 loop: -1 启动)会在最后一个 SoundInstance 引用被丢弃时自动停止;只要音效需要继续播放,就应保留此句柄。 Represents a handle to a sound that has been played. The handle is required to control the sound while it is playing (for example, to call stop, setVolume, setPitch, fade, or seekTo). Infinitely-looping sounds (started with loop: -1) stop automatically when the last SoundInstance reference is dropped; retain the handle for as long as the sound should keep playing. - [StartupBeforeEventSignal](/server/classes/StartupBeforeEventSignal.md): event Beta 管理连接到启动前事件的回调。 Manages callbacks that are connected to before a startup event. - [StartupEvent](/server/classes/StartupEvent.md): event Beta - [StructureManager](/server/classes/StructureManager.md): Beta Structure 相关 API 的管理器。包括用于创建、获取、放置和删除 Structure 的 API。 Manager for Structure related APIs. Includes APIs for creating, getting, placing and deleting Structures. - [System](/server/classes/System.md): Beta 提供系统级事件和函数的类。 A class that provides system-level events and functions. - [SystemAfterEvents](/server/classes/SystemAfterEvents.md): event Beta 提供在 Minecraft 更广泛的脚本系统内触发的一组事件。 Provides a set of events that fire within the broader scripting system within Minecraft. - [SystemBeforeEvents](/server/classes/SystemBeforeEvents.md): event Beta 一组在实际操作发生前触发的事件。在大多数情况下,你可以取消或修改即将发生的事件。注意,在 before 事件中,任何修改游戏状态的 API 将无法运行并会抛出错误。 A set of events that fire before an actual action occurs. In most cases, you can potentially cancel or modify the impending event. Note that in before events any APIs that modify gameplay state will not function and will throw an error. - [TargetBlockHitAfterEventSignal](/server/classes/TargetBlockHitAfterEventSignal.md): event block Beta Manages callbacks that are connected to when a target block is hit. 管理与标靶方块被击中时相关的回调。 - [TickingAreaError](/server/classes/TickingAreaError.md): error Beta The error returned from invalid TickingAreaManager method calls. 从无效的 TickingAreaManager 方法调用返回的错误。 - [TickingAreaManager](/server/classes/TickingAreaManager.md): Beta This manager is used to add, remove or query temporary ticking areas to a dimension. These ticking areas are limited by a fixed amount of ticking chunks per pack independent of the command limits. Cannot modify or query ticking areas added by other packs or commands. 该管理器用于向维度添加、移除或查询临时常加载区域。这些常加载区域受每个包固定数量的常加载区块限制,独立于命令限制。无法修改或查询由其他包或命令添加的常加载区域。 - [Trigger](/server/classes/Trigger.md): Beta Represents a trigger for firing an event. 表示用于触发事件的触发器。 - [TripWireTripAfterEventSignal](/server/classes/TripWireTripAfterEventSignal.md): event Beta Manages callbacks that are connected to when a trip wire is tripped. 管理与绊线被触发时相关的回调。 - [UnloadedChunksError](/server/classes/UnloadedChunksError.md): error Beta Error thrown when the specified area contains one or more unloaded chunks. 当指定区域包含一个或多个未加载的区块时抛出的错误。 - [WatchdogTerminateBeforeEvent](/server/classes/WatchdogTerminateBeforeEvent.md): event Beta Contains information related to a script watchdog termination. 包含与脚本看门狗终止相关的信息。 - [WatchdogTerminateBeforeEventSignal](/server/classes/WatchdogTerminateBeforeEventSignal.md): event Beta Manages callbacks that are connected to a callback that will be called when a script runtime is being terminated due to a violation of the performance watchdog system. 管理与回调连接的回调,当脚本运行时因违反性能看门狗系统而被终止时,将调用该回调。 - [WeatherChangeAfterEvent](/server/classes/WeatherChangeAfterEvent.md): event Beta Contains information related to changes in weather in the environment. 包含与环境中天气变化相关的信息。 - [WeatherChangeAfterEventSignal](/server/classes/WeatherChangeAfterEventSignal.md): event Beta Manages callbacks that are connected to weather changing. 管理与天气变化相关的回调。 - [WeatherChangeBeforeEvent](/server/classes/WeatherChangeBeforeEvent.md): event Beta Contains information related to changes in weather in the environment. 包含与环境中天气变化相关的信息。 - [WeatherChangeBeforeEventSignal](/server/classes/WeatherChangeBeforeEventSignal.md): event Beta Manages callbacks that are connected to before weather changing. 管理与天气变化前相关的回调。 - [World](/server/classes/World.md): world Beta 表示一个世界。包含了世界的各种状态,即一系列维度以及 Minecraft 的环境。 A class that wraps the state of a world - a set of dimensions and the environment of Minecraft. - [WorldAfterEvents](/server/classes/WorldAfterEvents.md): event world Beta Contains a set of events that are available across the scope of the World. 包含一组在世界范围内可用的事件。 - [WorldBeforeEvents](/server/classes/WorldBeforeEvents.md): event world Beta 表示一系列触发于实际动作发生之前的事件。通常来说,即将触发的事件可被修改或取消。 但请注意,在 before 类事件过程中,能够改变游戏状态的 API 将失效,试图调用将会抛出错误。 (例如:dimension.spawnEntity) A set of events that fire before an actual action occurs. In most cases, you can potentially cancel or modify the impending event. Note that in before events any APIs that modify gameplay state will not function and will throw an error. (e.g., dimension.spawnEntity) - [WorldLoadAfterEvent](/server/classes/WorldLoadAfterEvent.md): event world Beta - [WorldLoadAfterEventSignal](/server/classes/WorldLoadAfterEventSignal.md): event world Beta - [BlockFilter](/server/interfaces/BlockFilter.md): block Beta 根据类型、标签或置换来包含或排除方块的选项。 如果没有添加包含选项,将选择所有未被排除选项拒绝的方块。 如果至少添加了一个包含选项,方块必须匹配至少一个包含选项才能不被拒绝。 Options to include or exclude blocks based on type, tag or permutation. If no include options are added it will select all blocks that are not rejected by the exclude options. If at least one include option is added the block must match one of the include options to not be rejected. - [BlockQueryOptions](/server/interfaces/BlockQueryOptions.md): block Beta 在体积中查询方块的选项。扩展了 BlockFilter,增加了基于距离坐标的额外排序和限制选项。 Options for querying blocks in a volume. Extends BlockFilter with additional sorting and limiting options based on distance from a location. - [BlockRaycastOptions](/server/interfaces/BlockRaycastOptions.md): block Beta 包含配置方块射线投射查询的额外选项。 Contains additional options for configuring a block raycast query. - [EntityFilter](/server/interfaces/EntityFilter.md): entity Beta 包含筛选实体的选项。 Contains options for filtering entities. - [EntityQueryOptions](/server/interfaces/EntityQueryOptions.md): entity Beta 包含在区域内选择实体的选项。 - [EntityRaycastOptions](/server/interfaces/EntityRaycastOptions.md): entity Beta 包含实体射线投射操作的额外选项。 Contains additional options for an entity raycast operation. - [EntityVisibilityRules](/server/interfaces/EntityVisibilityRules.md): entity Beta 根据它所追踪实体的状态控制路径点的可见性。这些规则允许通过实体条件(如潜行、隐形和死亡状态)来过滤路径点的可见性。 Controls when a waypoint is visible based on the state of the entity it tracks. These rules allow filtering waypoint visibility by entity conditions like sneaking, invisibility, and death state. - [PlayerVisibilityRules](/server/interfaces/PlayerVisibilityRules.md): player Beta 根据玩家特定状态控制路径点的可见性。扩展了 EntityVisibilityRules,增加了针对玩家专属状态(如隐藏模式和旁观者模式)的额外规则。 Controls when a waypoint is visible based on player-specific states. Extends EntityVisibilityRules with additional rules for player-only states like hidden mode and spectator mode. - [RGB](/server/interfaces/RGB.md): Beta 表示 Minecraft 中完全可自定义的颜色。 Represents a fully customizable color within Minecraft. - [RGBA](/server/interfaces/RGBA.md): Beta 表示 Minecraft 中完全可自定义的颜色。 Represents a fully customizable color within Minecraft. - [AABB](/server/interfaces/AABB.md): Beta 轴对齐的包围盒。 Axis-aligned bounding box. - [AnimationOptions](/server/interfaces/AnimationOptions.md): animation Beta 用于创建相机动画。 Used to create camera animations. - [BiomeFilter](/server/interfaces/BiomeFilter.md): biome Beta - [BiomeSearchOptions](/server/interfaces/BiomeSearchOptions.md): biome Beta - [BlockBoundingBox](/server/interfaces/BlockBoundingBox.md): block Beta BlockBoundingBox 是一个接口,表示一个轴对齐的矩形 AABB。 BlockBoundingBox 假设它在创建时处于有效状态(min <= max),但无法保证这一点(除非使用相关的 BlockBoundingBoxUtils 工具函数创建)。 min/max 坐标表示矩形对角相对的顶点。 BlockBoundingBox 并不表示方块——它与任何类型无关,只是一个数学结构——因此一个 ( 0,0,0 ) -> ( 0,0,0 ) 的矩形其大小为 ( 0,0,0 )(与非常相似的 BlockVolume 对象不同)。 A BlockBoundingBox is an interface to an object which represents an AABB aligned rectangle. The BlockBoundingBox assumes that it was created in a valid state (min <= max) but cannot guarantee it (unless it was created using the associated BlockBoundingBoxUtils utility functions. The min/max coordinates represent the diametrically opposite corners of the rectangle. The BlockBoundingBox is not a representation of blocks - it has no association with any type, it is just a mathematical construct - so a rectangle with ( 0,0,0 ) -> ( 0,0,0 ) has a size of ( 0,0,0 ) (unlike the very similar BlockVolume object) - [BlockContainerAccessEventOptions](/server/interfaces/BlockContainerAccessEventOptions.md): event block inventory Beta 用于过滤方块容器访问事件的选项。 Options used to filter block container access events. - [BlockCustomComponent](/server/interfaces/BlockCustomComponent.md): block component Beta 包含将为方块触发的一组事件。 此对象必须使用 BlockRegistry 进行绑定。 Contains a set of events that will be raised for a block. This object must be bound using the BlockRegistry. - [BlockEventOptions](/server/interfaces/BlockEventOptions.md): event block Beta 包含注册方块事件的可选参数。 Contains optional parameters for registering a block event. - [BlockFillOptions](/server/interfaces/BlockFillOptions.md): block Beta 包含方块填充操作的额外选项。 Contains additional options for a block fill operation. - [BlockHitInformation](/server/interfaces/BlockHitInformation.md): block Beta 包含方块被击中事件的更多信息。 Contains more information for events where a block is hit. - [BlockRaycastHit](/server/interfaces/BlockRaycastHit.md): block Beta 包含方块射线投射命中结果的信息。 Contains information for block raycast hit results. - [CameraAttachOptions](/server/interfaces/CameraAttachOptions.md): Beta 用于将相机附加到非玩家实体上。 Used to attach the camera to a non player entity. - [CameraFadeOptions](/server/interfaces/CameraFadeOptions.md): Beta 用于启动全屏颜色淡入淡出。 Used to initiate a full-screen color fade. - [CameraFadeTimeOptions](/server/interfaces/CameraFadeTimeOptions.md): Beta 包含淡入淡出过渡的时间。 Contains timings for a fade transition. - [CameraFixedBoomOptions](/server/interfaces/CameraFixedBoomOptions.md): Beta 控制第三人称吊臂预设的支点和偏移的选项。 Options to control pivot points and offsets of the third person boom preset. - [CameraFovOptions](/server/interfaces/CameraFovOptions.md): Beta 用于更改当前相机的视野。 Used to change the field of view of the current camera. - [CameraSetFacingOptions](/server/interfaces/CameraSetFacingOptions.md): Beta - [CameraSetLocationOptions](/server/interfaces/CameraSetLocationOptions.md): Beta - [CameraSetPosOptions](/server/interfaces/CameraSetPosOptions.md): Beta - [CameraSetRotOptions](/server/interfaces/CameraSetRotOptions.md): Beta - [CameraShakeOptions](/server/interfaces/CameraShakeOptions.md): Beta 通过 Camera.addShake 对玩家相机应用相机抖动效果的选项。每次调用 addShake 都会为指定的 type 排队一个新的独立抖动事件;位置抖动和旋转抖动分别在各自的队列中独立跟踪并并发运行。任何时刻的渲染强度是该类型所有活动事件强度的总和,上限为 4.0。事件在 duration 时间过后自然过期。 Options for applying a camera shake effect to a player's camera via Camera.addShake. Each call to addShake queues a new independent shake event for the specified type; positional and rotational shakes are tracked in separate queues and run concurrently. The rendered intensity at any moment is the sum of all active events' intensities for that type, capped at 4.0. Events expire naturally when their duration elapses. - [CameraTargetOptions](/server/interfaces/CameraTargetOptions.md): Beta 用于使用自由相机瞄准一个实体。 Used to target an entity with a free camera. - [ContainerAccessSource](/server/interfaces/ContainerAccessSource.md): inventory Beta 表示容器访问的来源。 Represents the source of a container access. - [ContainerAccessSourceFilter](/server/interfaces/ContainerAccessSourceFilter.md): inventory Beta 用于过滤容器访问源的选项。 Options for use when filtering container access sources. - [ContainerRules](/server/interfaces/ContainerRules.md): inventory Beta 在容器操作中若违反则会抛出错误的规则。 Rules that if broken on container operations will throw an error. - [CustomCommand](/server/interfaces/CustomCommand.md): Beta 定义自定义命令,包括名称、权限和参数。 Define the custom command, including name, permissions, and parameters. - [CustomCommandParameter](/server/interfaces/CustomCommandParameter.md): Beta 自定义命令预期的每个参数的定义。 Definition for each parameter expected by the custom command. - [CustomCommandResult](/server/interfaces/CustomCommandResult.md): Beta 从自定义命令回调函数返回的接口。 Interface returned from custom command callback function. - [CustomTexture](/server/interfaces/CustomTexture.md): Beta - [DefinitionModifier](/server/interfaces/DefinitionModifier.md): Beta 包含对实体组件定义状态的一组更新。 Contains a set of updates to the component definition state of an entity. - [DimensionLocation](/server/interfaces/DimensionLocation.md): dimension Beta 世界中的精确坐标,包含其维度和位置。 An exact coordinate within the world, including its dimension and location. - [EaseOptions](/server/interfaces/EaseOptions.md): Beta 包含与位置和/或旋转之间缓动相关的选项。 Contains options associated with easing between positions and/or rotations. - [Enchantment](/server/interfaces/Enchantment.md): Beta 此接口表示应用于物品的特定等级附魔。 This interface represents a specific leveled enchantment that is applied to an item. - [EntityApplyDamageByProjectileOptions](/server/interfaces/EntityApplyDamageByProjectileOptions.md): entity damage Beta 通过抛射物造成伤害时的额外选项。 Additional options for when damage has been applied via a projectile. - [EntityApplyDamageOptions](/server/interfaces/EntityApplyDamageOptions.md): entity damage Beta 伤害事件的附加描述和元数据。 Additional descriptions and metadata for a damage event. - [EntityContainerAccessEventOptions](/server/interfaces/EntityContainerAccessEventOptions.md): event entity inventory Beta 用于过滤实体容器访问事件的选项。 Options used to filter entity container access events. - [EntityDamageSource](/server/interfaces/EntityDamageSource.md): entity damage Beta 提供关于伤害如何应用于实体的信息。 Provides information about how damage has been applied to an entity. - [EntityDataDrivenTriggerEventOptions](/server/interfaces/EntityDataDrivenTriggerEventOptions.md): event entity Beta 指定用于注册实体数据驱动触发事件时使用的额外过滤器。 Specifies additional filters that are used in registering a data driven trigger event for entities. - [EntityEffectOptions](/server/interfaces/EntityEffectOptions.md): entity effect Beta 包含实体效果的附加选项。 Contains additional options for entity effects. - [EntityEventOptions](/server/interfaces/EntityEventOptions.md): event entity Beta 包含注册实体事件的可选参数。 Contains optional parameters for registering an entity event. - [EntityHealEventOptions](/server/interfaces/EntityHealEventOptions.md): event entity Beta 包含注册实体治疗事件的可选参数。 Contains optional parameters for registering an entity heal event. - [EntityHitInformation](/server/interfaces/EntityHitInformation.md): entity Beta 包含被击中的实体的附加信息。 Contains additional information about an entity that was hit. - [EntityHurtAfterEventOptions](/server/interfaces/EntityHurtAfterEventOptions.md): event entity Beta 包含注册实体受伤后事件的可选参数。 Contains optional parameters for registering an entity hurt after event. - [EntityHurtBeforeEventOptions](/server/interfaces/EntityHurtBeforeEventOptions.md): event entity Beta 包含注册实体受伤前事件的可选参数。 Contains optional parameters for registering an entity hurt before event. - [EntityItemDropEventOptions](/server/interfaces/EntityItemDropEventOptions.md): event entity Beta 传递给 EntityItemDropAfterEventSignal.subscribe 的接口,用于过滤哪些事件会传递给所提供的回调函数。 An interface that is passed into EntityItemDropAfterEventSignal.subscribe that filters out which events are passed to the provided callback. - [EntityItemPickupEventOptions](/server/interfaces/EntityItemPickupEventOptions.md): event entity Beta 传递给 EntityItemPickupAfterEventSignal.subscribe 和 EntityItemPickupBeforeEventSignal.subscribe 的接口,用于过滤哪些事件会传递给所提供的回调函数。 An interface that is passed into EntityItemPickupAfterEventSignal.subscribe and EntityItemPickupBeforeEventSignal.subscribe that filters out which events are passed to the provided callback. - [EntityQueryPropertyOptions](/server/interfaces/EntityQueryPropertyOptions.md): entity Beta - [EntityQueryScoreOptions](/server/interfaces/EntityQueryScoreOptions.md): entity Beta 包含根据目标的分数筛选玩家的额外选项。 Contains additional options for filtering players based on their score for an objective. - [EntityRaycastHit](/server/interfaces/EntityRaycastHit.md): entity Beta 包含实体射线投射命中结果的信息。 Contains information for entity raycast hit results. - [EntitySneakingChangedEventOptions](/server/interfaces/EntitySneakingChangedEventOptions.md): event entity Beta 用于过滤实体开始潜行和停止潜行事件的选项。 Options used to filter entity start sneaking and stop sneaking events. - [EntityTamedEventOptions](/server/interfaces/EntityTamedEventOptions.md): event entity Beta - [EqualsComparison](/server/interfaces/EqualsComparison.md): Beta 等于运算符。 Equal to operator. - [ExplosionOptions](/server/interfaces/ExplosionOptions.md): Beta Dimension.createExplosion 方法的附加配置选项。 - [GetBlocksStandingOnOptions](/server/interfaces/GetBlocksStandingOnOptions.md): Beta 包含 getBlockStandingOn 和 getAllBlocksStandingOn 的额外选项。 Contains additional options for getBlockStandingOn and getAllBlocksStandingOn. - [GreaterThanComparison](/server/interfaces/GreaterThanComparison.md): Beta 大于运算符。 Greater than operator. - [GreaterThanOrEqualsComparison](/server/interfaces/GreaterThanOrEqualsComparison.md): Beta 大于或等于运算符。 Greater than or equal to operator. - [HotbarEventOptions](/server/interfaces/HotbarEventOptions.md): event Beta 包含快捷栏事件的附加过滤选项。 Contains additional filtering options for hotbar events. - [InputEventOptions](/server/interfaces/InputEventOptions.md): event Beta 传递给 PlayerButtonInputAfterEventSignal.subscribe 的接口,用于过滤哪些事件会传递给所提供的回调函数。 An interface that is passed into PlayerButtonInputAfterEventSignal.subscribe that filters out which events are passed to the provided callback. - [InventoryItemEventOptions](/server/interfaces/InventoryItemEventOptions.md): event inventory Beta 包含库存物品事件的额外过滤选项。 Contains additional filtering options for inventory item events. - [ItemCustomComponent](/server/interfaces/ItemCustomComponent.md): component Beta 包含将为物品触发的一组事件。 此对象必须使用 ItemComponentRegistry 进行绑定。 Contains a set of events that will be raised for an item. This object must be bound using the ItemComponentRegistry. - [ItemFilter](/server/interfaces/ItemFilter.md): Beta 包含过滤物品的选项。 Contains options for filtering items. - [JigsawPlaceOptions](/server/interfaces/JigsawPlaceOptions.md): Beta 为 StructureManager.placeJigsaw 提供额外选项。 Provides additional options for StructureManager.placeJigsaw. - [JigsawStructurePlaceOptions](/server/interfaces/JigsawStructurePlaceOptions.md): Beta 为 StructureManager.placeJigsawStructure 提供额外选项。 Provides additional options for StructureManager.placeJigsawStructure. - [LessThanComparison](/server/interfaces/LessThanComparison.md): Beta 小于运算符。 Less than operator. - [LessThanOrEqualsComparison](/server/interfaces/LessThanOrEqualsComparison.md): Beta 小于或等于运算符。 Less than or equal to operator. - [MusicOptions](/server/interfaces/MusicOptions.md): Beta 用于 World.playMusic/World.queueMusic 方法的额外配置选项。 Additional configuration options for World.playMusic/World.queueMusic methods. - [NotEqualsComparison](/server/interfaces/NotEqualsComparison.md): Beta 不等于运算符。 Not equal to operator. - [PlayAnimationOptions](/server/interfaces/PlayAnimationOptions.md): animation Beta 包含动画播放方式的额外选项。 Contains additional options for how an animation is played. - [PlayerAimAssistSettings](/server/interfaces/PlayerAimAssistSettings.md): player Beta 与玩家瞄准辅助相关的设置。 Settings relating to a player's aim-assist targeting. - [PlayerBreakingBlockEventOptions](/server/interfaces/PlayerBreakingBlockEventOptions.md): event player block Beta - [PlayerSoundOptions](/server/interfaces/PlayerSoundOptions.md): player sound Beta 如何为玩家播放声音的额外选项。 Additional options for how a sound plays for a player. - [PlayerSwingEventOptions](/server/interfaces/PlayerSwingEventOptions.md): event player Beta 传递给 @minecraft/server.PlayerSwingStartAfterEventSignal.subscribe 的接口,用于过滤哪些事件会传递给所提供的回调函数。 An interface that is passed into @minecraft/server.PlayerSwingStartAfterEventSignal.subscribe that filters out which events are passed to the provided callback. - [PrimitiveShapeQueryOptions](/server/interfaces/PrimitiveShapeQueryOptions.md): Beta Contains optional filters that control which primitive shapes are returned from a primitive shapes query. - [ProgressKeyFrame](/server/interfaces/ProgressKeyFrame.md): Beta 保存相机动画进度的关键帧。 Key frame that holds the progress of the camera animation. - [ProjectileShootOptions](/server/interfaces/ProjectileShootOptions.md): Beta @minecraft/server.EntityProjectileComponent.shoot 的可选参数。 Optional arguments for @minecraft/server.EntityProjectileComponent.shoot. - [RangeComparison](/server/interfaces/RangeComparison.md): Beta 表示用于表达数字可能范围的上下界结构的运算符。 Operator represents a lower/upper bound structure for expressing a potential range of numbers. - [RawMessage](/server/interfaces/RawMessage.md): chat Beta 定义一个用于更灵活处理的 JSON 结构。 Defines a JSON structure that is used for more flexible. - [RawMessageScore](/server/interfaces/RawMessageScore.md): chat Beta 提供在原始消息中使用的分数令牌的描述。 Provides a description of a score token to use within a raw message. - [RawText](/server/interfaces/RawText.md): chat Beta 一个仅包含 rawtext 属性的 RawMessage。当序列化 RawMessage 时,内容会被放入 rawtext 属性中,因此在读取已保存的 RawMessage 时非常有用。请参阅 BlockSignComponent.setText 和 BlockSignComponent.getRawText 获取示例。 A RawMessage with only the rawtext property. When a RawMessage is serialized the contents are put into a rawtext property, so this is useful when reading saved RawMessages. See BlockSignComponent.setText and BlockSignComponent.getRawText for examples. - [RotationKeyFrame](/server/interfaces/RotationKeyFrame.md): Beta 保存相机动画旋转角度的关键帧。 Key frame that holds the rotation of the camera animation. - [ScoreboardObjectiveDisplayOptions](/server/interfaces/ScoreboardObjectiveDisplayOptions.md): scoreboard Beta 表示记分项显示位置配置。描述了如何在记分板显示位置上显示记分项。 Contains additional options for how a scoreboard should be displayed within its display slot. - [ScriptEventMessageFilterOptions](/server/interfaces/ScriptEventMessageFilterOptions.md): event Beta 包含注册脚本事件回调的额外选项。 Contains additional options for registering a script event event callback. - [SoundDefinitionDurationInfo](/server/interfaces/SoundDefinitionDurationInfo.md): sound Beta 在声音定义中声明的持续时间元数据。 Duration metadata declared in a sound definition. - [SoundDefinitionFilter](/server/interfaces/SoundDefinitionFilter.md): sound Beta 用于缩小一组声音定义范围的筛选条件。每个字段都是可选的,仅在定义时应用其约束;一个定义必须满足所有已定义的字段才能通过。 Criteria used to narrow a set of sound definitions. Each field is optional and applies its constraint only when defined; a definition must satisfy every defined field to pass. - [SoundDefinitionMusicInfo](/server/interfaces/SoundDefinitionMusicInfo.md): sound Beta 在声音定义上声明的音乐元数据。每个字段都是可选的,当声音定义未为其声明值时,该字段为 undefined。 Music metadata declared on a sound definition. Each field is optional and is undefined when the sound definition does not declare a value for it. - [SpawnEntityOptions](/server/interfaces/SpawnEntityOptions.md): entity Beta 包含生成实体的额外选项。 Contains additional options for spawning an Entity. - [SplineAnimation](/server/interfaces/SplineAnimation.md): animation Beta 相机动画的关键帧集合。 Collection of key frames for camera animation. - [StructureCreateOptions](/server/interfaces/StructureCreateOptions.md): Beta 为 StructureManager.createFromWorld 提供额外的选项。 Provides additional options for StructureManager.createFromWorld - [StructurePlaceOptions](/server/interfaces/StructurePlaceOptions.md): Beta 为 StructureManager.place 提供额外的选项。 Provides additional options for StructureManager.place - [TeleportOptions](/server/interfaces/TeleportOptions.md): Beta 包含传送实体的额外选项。 Contains additional options for teleporting an entity. - [TickingArea](/server/interfaces/TickingArea.md): Beta 提供关于特定常加载区域信息的上下文。 A context which provides information about a specific ticking area. - [TickingAreaOptions](/server/interfaces/TickingAreaOptions.md): Beta 使用 TickingAreaManager 创建常加载区域的选项。 Options to create a ticking area using the TickingAreaManager. - [TitleDisplayOptions](/server/interfaces/TitleDisplayOptions.md): Beta 包含显示标题和可选副标题的额外选项。 Contains additional options for displaying a title and optional subtitle. - [Vector2](/server/interfaces/Vector2.md): Beta 表示一个二维向量。 Represents a two-directional vector. - [Vector3](/server/interfaces/Vector3.md): Beta 包含向量的描述。 Contains a description of a vector. - [VectorXZ](/server/interfaces/VectorXZ.md): Beta - [WaypointTextureBounds](/server/interfaces/WaypointTextureBounds.md): Beta 定义一个纹理及其应显示的距离范围。在 WaypointTextureSelector 内部使用,以创建基于距离的纹理切换。 Defines a texture and the distance range in which it should be displayed. Used within a WaypointTextureSelector to create distance-based texture switching. - [WaypointTextureSelector](/server/interfaces/WaypointTextureSelector.md): Beta 定义路径点纹理如何根据距离变化。包含一个纹理边界列表,决定在不同距离范围内显示哪个纹理。 Defines how waypoint textures change based on distance. Contains a list of texture bounds that determine which texture is displayed at different distance ranges. - [WorldSoundOptions](/server/interfaces/WorldSoundOptions.md): world sound Beta 包含 playSound 事件的额外选项。 Contains additional options for a playSound occurrence. - [AimAssistTargetMode](/server/enums/AimAssistTargetMode.md): Beta 指定用于瞄准辅助的不同目标模式。 Specifies different targeting modes for use in aim-assist. - [BlockComponentTypes](/server/enums/BlockComponentTypes.md): block component Beta 可通过 Block.getComponent 函数访问的方块组件类型。 The types of block components that are accessible via function Block.getComponent. - [BlockPistonState](/server/enums/BlockPistonState.md): block Beta 描述方块活塞状态的枚举。 An enumeration describing the state of a block piston. - [BlockVolumeIntersection](/server/enums/BlockVolumeIntersection.md): block Beta 对两个 BlockVolume 对象进行相交测试的结果描述。 Description of the resulting intersection test on two BlockVolume objects - [BookErrorReason](/server/enums/BookErrorReason.md): error Beta 与使用 ItemBookComponent 相关的错误原因枚举。 An enum of error reasons relating to using ItemBookComponent. - [ButtonState](/server/enums/ButtonState.md): Beta 键盘、控制器或触摸界面上的按钮状态。 The state of a button on a keyboard, controller, or touch interface. - [CameraShakeType](/server/enums/CameraShakeType.md): Beta 表示应用于摄像机的抖动类型。 Represents the type of shake to apply to the camera. - [CloneMode](/server/enums/CloneMode.md): Beta An enumeration for the clone modes used when cloning blocks. - [CommandPermissionLevel](/server/enums/CommandPermissionLevel.md): permission Beta 执行自定义命令所需的权限等级。 The required permission level to execute the custom command. - [ContainerRulesErrorReason](/server/enums/ContainerRulesErrorReason.md): inventory error Beta 抛出 @minecraft/server.ContainerRulesError 的原因。 Reasons that the @minecraft/server.ContainerRulesError was thrown. - [ControlScheme](/server/enums/ControlScheme.md): Beta 控制方案类型,定义玩家如何响应玩家输入进行移动。有关控制方案的更多详细信息,请参阅以下页面:https://learn.microsoft.com/en-us/minecraft/creator/documents/controlschemes Control Scheme types which define how the player moves in response to player inputs. See the following page for more details on control schemes: https://learn.microsoft.com/en-us/minecraft/creator/documents/controlschemes - [CustomCommandErrorReason](/server/enums/CustomCommandErrorReason.md): error Beta 自定义命令注册失败的原因。 Reason why custom command registration failed. - [CustomCommandParamType](/server/enums/CustomCommandParamType.md): Beta 自定义命令接受的参数类型。 The types of paramaters accepted by a custom command. - [CustomCommandSource](/server/enums/CustomCommandSource.md): Beta 谁执行了该命令。 Who executed the command. - [CustomCommandStatus](/server/enums/CustomCommandStatus.md): Beta - [CustomComponentNameErrorReason](/server/enums/CustomComponentNameErrorReason.md): error component Beta - [Difficulty](/server/enums/Difficulty.md): Beta Minecraft 各种难度级别的枚举。 An enumeration for the various difficulty levels of Minecraft. - [Direction](/server/enums/Direction.md): Beta 通用枚举之一。表示朝向。 A general purpose relative direction enumeration. - [DisplaySlotId](/server/enums/DisplaySlotId.md): Beta 表示记分板分数的显示方式。 Specifies a mechanism for displaying scores on a scoreboard. - [DyeColor](/server/enums/DyeColor.md): Beta 指定用作染料的不同颜色。 Specifies different colors for use as dye. - [EasingType](/server/enums/EasingType.md): Beta - [EnchantmentSlot](/server/enums/EnchantmentSlot.md): Beta - [EntityAttachPoint](/server/enums/EntityAttachPoint.md): entity Beta 实体的附着位置点。包含头部、身体、腿部等点,用于将摄像机附着到实体上。 The entity's attach location point. Contains points such as head, body, leg, etc to attach the camera to. - [EntityComponentTypes](/server/enums/EntityComponentTypes.md): entity component Beta 可通过 Entity.getComponent 函数访问的实体组件类型。 The types of entity components that are accessible via function Entity.getComponent. - [EntityDamageCause](/server/enums/EntityDamageCause.md): entity damage Beta 描述实体的伤害来源。 Describes the source of damage from an Entity. - [EntityHealCause](/server/enums/EntityHealCause.md): entity Beta 描述实体的治疗来源。 Describes the source of healing of an Entity. - [EntityInitializationCause](/server/enums/EntityInitializationCause.md): entity Beta 描述实体初始化原因的枚举。 An enumeration describing initialization cause of an entity. - [EntitySwingSource](/server/enums/EntitySwingSource.md): entity Beta 描述实体挥动来源的枚举。作为 PlayerSwingStartAfterEvent 的一部分发送。 Enumerator describing the source of an Entity swing. Sent as part of PlayerSwingStartAfterEvent - [EquipmentSlot](/server/enums/EquipmentSlot.md): Beta 生物的装备槽。包括盔甲、副手和主手槽。 The equipment slot of the mob. This includes armor, offhand and mainhand slots. - [FluidType](/server/enums/FluidType.md): Beta 表示在包含液体的方块(如炼药锅)中使用的流体类型。 Represents the type of fluid for use within a fluid containing block, like a cauldron. - [GameMode](/server/enums/GameMode.md): Beta 表示当前世界体验的游戏模式。 Represents a game mode for the current world experience. - [GameRule](/server/enums/GameRule.md): Beta 游戏规则。这些值也可以通过 /gamerule 命令控制。 Game rules. These values can also be controlled via the /gamerule command. - [GraphicsMode](/server/enums/GraphicsMode.md): Beta 描述客户端的图形模式。由 Player.graphicsMode 使用。 Describes the graphics mode of a client. Used by Player.graphicsMode - [HeldItemOption](/server/enums/HeldItemOption.md): Beta 指定与实体当前持有的物品相关的选项。 Specifies options related to the item currently being held by an entity. - [HudElement](/server/enums/HudElement.md): Beta - [HudVisibility](/server/enums/HudVisibility.md): Beta 指定如何处理 HUD 元素的可见性的枚举。 Enumeration that specifies how to treat the visibility of a HUD element. - [InputButton](/server/enums/InputButton.md): Beta 所有支持的输入按钮。与 InputInfo.getButtonState(通过 Player.inputInfo)或 PlayerButtonInputAfterEvent(通过 WorldAfterEvents.playerButtonInput)一起使用。 All the different input buttons that are supported. Use with InputInfo.getButtonState via Player.inputInfo or PlayerButtonInputAfterEvent via WorldAfterEvents.playerButtonInput - [InputMode](/server/enums/InputMode.md): Beta 描述设备的输入类型。 Describes the type of input of a device. - [InputPermissionCategory](/server/enums/InputPermissionCategory.md): permission Beta 输入权限类别。由 PlayerInputPermissionCategoryChangeAfterEvent 指定哪个类别已更改,以及由 PlayerInputPermissions 获取或设置权限。 Input permission categories. Used by PlayerInputPermissionCategoryChangeAfterEvent to specify which category was changed and PlayerInputPermissions to get or set permissions. - [ItemComponentTypes](/server/enums/ItemComponentTypes.md): component Beta 可通过 ItemStack.getComponent 函数访问的物品组件类型。 The types of item components that are accessible via function ItemStack.getComponent. - [ItemLockMode](/server/enums/ItemLockMode.md): item Beta 描述物品在容器中的移动方式。 Describes how an an item can be moved within a container. - [LiquidSettings](/server/enums/LiquidSettings.md): Beta 指定如何处理可与水共存的方块与现有液体重叠的情况。 Specifies how to handle waterloggable blocks overlapping with existing liquid. - [LiquidType](/server/enums/LiquidType.md): Beta 表示可以放置在方块上或在世界中动态流动的液体类型。 Represents the type of liquid that can be placed on a block or flow dynamically in the world. - [LocatorBarErrorReason](/server/enums/LocatorBarErrorReason.md): error Beta 表示定位栏操作可能失败的各种原因的枚举。 Enum representing the different reasons why a locator bar operation may fail. - [MemoryTier](/server/enums/MemoryTier.md): Beta 描述设备的内存。 Describes the memory of a device. - [MoonPhase](/server/enums/MoonPhase.md): Beta 包含基于当前日期的不同月相阶段的枚举。使用 world.getMoonPhase 获取当前月相。 月亮的满盈程度控制着各种生物行为,例如沼泽生物群系中史莱姆的生成数量、骷髅和僵尸生成时带有盔甲的几率,以及蜘蛛生成时带有特定状态效果的几率。 Enum containing the different phases of the moon based on the current day.,Obtain the current MoonPhase using world.getMoonPhase. The fullness of the moon controls various mob behaviors such as the number of slimes that spawn in Swamp biomes, the chance skeletons and zombies have to spawn with armor, as well as the chance for spiders to spawn with certain status effects. - [MovementType](/server/enums/MovementType.md): Beta - [NamespaceNameErrorReason](/server/enums/NamespaceNameErrorReason.md): error Beta 描述命名空间名称错误被抛出原因的枚举。 An enumeration describing the reason for the namespace name error being thrown - [ObjectiveSortOrder](/server/enums/ObjectiveSortOrder.md): Beta 表示分数持有者列表的排序顺序。 Used for specifying a sort order for how to display an objective and its list of participants. - [PaletteColor](/server/enums/PaletteColor.md): Beta 包含可与 EntityColorComponent 和 EntityColor2Component 一起使用的颜色的枚举。 Enum containing colors to be used with EntityColorComponent and EntityColor2Component - [PlatformType](/server/enums/PlatformType.md): Beta 描述设备属于哪种平台。 Describes what kind of platform is a device. - [PlayerInventoryType](/server/enums/PlayerInventoryType.md): player inventory Beta 指定玩家库存类型。 Specifies the player inventory type. - [PlayerPermissionLevel](/server/enums/PlayerPermissionLevel.md): player permission Beta 玩家权限等级。 The player permission level. - [PlayerSplitScreenSlot](/server/enums/PlayerSplitScreenSlot.md): player Beta - [PlayerWaypointsMode](/server/enums/PlayerWaypointsMode.md): player Beta 玩家路径点模式的枚举。 Player waypoints mode enum. - [ScoreboardIdentityType](/server/enums/ScoreboardIdentityType.md): scoreboard Beta 表示分数持有者的类型。 Contains objectives and participants for the scoreboard. - [ScriptEventSource](/server/enums/ScriptEventSource.md): event Beta 描述脚本事件的来源。 Describes where the script event originated from. - [SignSide](/server/enums/SignSide.md): Beta 表示告示牌的一面。 Represents a side of a sign. - [StickyType](/server/enums/StickyType.md): Beta - [StructureAnimationMode](/server/enums/StructureAnimationMode.md): animation Beta 指定放置结构时结构方块应如何动画显示。 Specifies how structure blocks should be animated when a structure is placed. - [StructureMirrorAxis](/server/enums/StructureMirrorAxis.md): Beta 指定放置结构时应如何镜像。 Specifies how a structure should be mirrored when placed. - [StructureRotation](/server/enums/StructureRotation.md): Beta 描述结构放置旋转的枚举。 Enum describing a structure's placement rotation. - [StructureSaveMode](/server/enums/StructureSaveMode.md): Beta 指定结构的保存方式。 Specifies how a structure should be saved. - [TickingAreaErrorReason](/server/enums/TickingAreaErrorReason.md): error Beta 抛出 @minecraft/server.TickingAreaError 的原因。 The reason that the @minecraft/server.TickingAreaError was thrown. - [TimeOfDay](/server/enums/TimeOfDay.md): Beta 提供 Minecraft 一天中常见时段的数值。 Provides numeric values for common periods in the Minecraft day. - [TintMethod](/server/enums/TintMethod.md): Beta 应用于方块或方块部分的着色逻辑。当世界位置作为上下文的一部分时,颜色可能会变化,因为生物群系通常会影响最终的着色结果。 Tint logic applied to a block or part of a block. The color may vary when a world position is part of the context, as biomes often have an influence on the resulting tint. - [WatchdogTerminateReason](/server/enums/WatchdogTerminateReason.md): Beta 一个枚举,表示监视程序决定终止行为包脚本执行的原因。 An enumeration with the reason that a watchdog is deciding to terminate execution of a behavior packs' script. - [WaypointTexture](/server/enums/WaypointTexture.md): Beta 表示可在定位栏上为路径点显示的不同纹理图标的枚举。 Enum representing different texture icons that can be displayed for waypoints on the locator bar. - [WeatherType](/server/enums/WeatherType.md): Beta 用于指定世界中天气状况的类型。 Used to specify the type of weather condition within the world. - [HudElementsCount](/server/variables/HudElementsCount.md): const HudElementsCount: 13 = 13 Beta - [HudVisibilityCount](/server/variables/HudVisibilityCount.md): const HudVisibilityCount: 2 = 2 Beta - [MoonPhaseCount](/server/variables/MoonPhaseCount.md): const MoonPhaseCount: 8 = 8 Beta - [system](/server/variables/system.md): const system: System Beta - [TicksPerDay](/server/variables/TicksPerDay.md): const TicksPerDay: 24000 = 24000 Beta - [TicksPerSecond](/server/variables/TicksPerSecond.md): const TicksPerSecond: 20 = 20 Beta - [world](/server/variables/world.md): const world: World Beta - [BlockComponentReturnType](/server/types/BlockComponentReturnType.md): block component BlockComponentReturnType = T extends keyof BlockComponentTypeMap ? BlockComponentTypeMap[T] : BlockCustomComponentInstance Beta - [BlockComponentTypeMap](/server/types/BlockComponentTypeMap.md): block component BlockComponentTypeMap = object Beta - [BlockStateArg](/server/types/BlockStateArg.md): block BlockStateArg = T extends `${MinecraftBlockTypes}` ? T extends keyof BlockStateMapping ? BlockStateMapping[T] : never : Record Beta 由 BlockPermutation 的 matches 与 resolve 函数使用的类型别名, 用于将方块状态参数类型收窄到 由 @minecraft/vanilla-data.BlockStateMapping 映射出来的类型。 Type alias used by the BlockPermutation matches and resolve functions to narrow block state argument types to those mapped by @minecraft/vanilla-data.BlockStateMapping. - [EntityComponentReturnType](/server/types/EntityComponentReturnType.md): entity component EntityComponentReturnType = T extends keyof EntityComponentTypeMap ? EntityComponentTypeMap[T] : EntityComponent Beta - [EntityComponentTypeMap](/server/types/EntityComponentTypeMap.md): entity component EntityComponentTypeMap = object Beta - [EntityIdentifierType](/server/types/EntityIdentifierType.md): entity EntityIdentifierType = [T] extends [never] ? VanillaEntityIdentifier : T extends string ? VanillaEntityIdentifier | T : never Beta - [ItemComponentReturnType](/server/types/ItemComponentReturnType.md): component ItemComponentReturnType = T extends keyof ItemComponentTypeMap ? ItemComponentTypeMap[T] : ItemCustomComponentInstance Beta - [ItemComponentTypeMap](/server/types/ItemComponentTypeMap.md): component ItemComponentTypeMap = object Beta - [VanillaEntityIdentifier](/server/types/VanillaEntityIdentifier.md): entity VanillaEntityIdentifier = EntityType | MinecraftEntityTypes | `${MinecraftEntityTypes}` | `${MinecraftEntityTypes}<${string}>` Beta ## server-ui - [Module: server-ui](/server-ui/index.md): Beta @minecraft/server-ui 模块包含了用于基于对话框的简易用户交互功能的类型。 ActionFormData 包含了一系列带有标题与图片的按钮。便于要求用户从一系列选项中选择。MessageFormData 则是包含了两个按钮的简易消息框,允许用户选择是/否或者确定/取消。ModalFormData 则提供了一套更具灵活性的类似问卷形式的控件,允许用户填写并提交。 The @minecraft/server-ui module contains types for expressing simple dialog-based user experiences. ActionFormData contain a list of buttons with captions and images that can be used for presenting a set of options to a player.MessageFormData are simple two-button message experiences that are functional for Yes/No or OK/Cancel questions.ModalFormData allow for a more flexible "questionnaire-style" list of controls that can be used to take input. Manifest Details - [FormResponse](/server-ui/classes/FormResponse.md): Beta 表单响应的基础类型。 Base type for a form response. - [ActionFormResponse](/server-ui/classes/ActionFormResponse.md): Beta 返回来自模态操作表单的玩家结果数据。 Returns data about the player results from a modal action form. - [MessageFormResponse](/server-ui/classes/MessageFormResponse.md): Beta Returns data about the player results from a modal message form. 返回关于玩家在模态消息表单中操作结果的数据。 - [ModalFormResponse](/server-ui/classes/ModalFormResponse.md): Beta Returns data about player responses to a modal form. 返回有关玩家对模态表单响应的数据。 - [ActionFormData](/server-ui/classes/ActionFormData.md): Beta 构建一个带有按钮的简单玩家表单,让玩家可以执行操作。 Builds a simple player form with buttons that let the player take action. - [CustomForm](/server-ui/classes/CustomForm.md): Beta 一个可自定义的数据驱动(DDUI)表单,允许您添加按钮、标签、开关、下拉菜单、滑块、文本字段等。表单布局通过在调用 show() 之前调用方法来添加组件来构建。绑定到表单组件的任何 Observable 值在其值发生变化时会自动更新 UI。 A customizable data driven (DDUI) form that lets you add buttons, labels, toggles, dropdowns, sliders, text fields, and more. The form layout is built by calling methods to add components before calling show(). Any Observable values bound to form components will automatically update the UI when their values change. - [FormRejectError](/server-ui/classes/FormRejectError.md): error Beta 当表单被拒绝时抛出。包含拒绝的原因。 Thrown when a form is rejected. Contains the reason for the rejection. - [FormVisibilityError](/server-ui/classes/FormVisibilityError.md): error Beta 当表单可见性操作失败时抛出,例如尝试显示一个已经正在显示的表单,或尝试关闭一个当前未打开的表单。 Thrown when a form visibility operation fails, such as attempting to show a form that is already showing or attempting to close a form that is not currently open. - [InvalidFormError](/server-ui/classes/InvalidFormError.md): error Beta Thrown when attempting to interact with a form using an invalid or unknown form identifier. 当尝试使用无效或未知的表单标识符与表单交互时抛出。 - [InvalidFormModificationError](/server-ui/classes/InvalidFormModificationError.md): error Beta Thrown when attempting to modify a form after it has already been shown to a player. Form properties cannot be changed while the form is active. 当尝试在表单已展示给玩家后修改表单时抛出。表单处于活动状态时,其属性无法更改。 - [InvalidObservableError](/server-ui/classes/InvalidObservableError.md): error Beta Thrown when an observable value is expected to be writable, but it is not. 当期望可观察值是可写的,但它不可写时抛出。 - [MessageBox](/server-ui/classes/MessageBox.md): Beta A simple message form with two buttons and a text body. Use this class to show a basic dialog to a player and handle the player's button selection. - [MessageFormData](/server-ui/classes/MessageFormData.md): Beta Builds a simple two-button modal dialog. 构建一个简单的双按钮模态对话框。 - [ModalFormData](/server-ui/classes/ModalFormData.md): Beta Used to create a fully customizable pop-up form for a player. 用于为玩家创建完全可自定义的弹出表单。 - [ObservableBoolean](/server-ui/classes/ObservableBoolean.md): Beta An observable that holds a boolean value. Listeners are notified whenever the value changes. 一个持有布尔值的可观察对象。当值发生变化时,会通知所有监听器。 - [ObservableNumber](/server-ui/classes/ObservableNumber.md): Beta An observable that holds a numeric value. Listeners are notified whenever the value changes. 一个持有数值的可观察对象。当值发生变化时,会通知所有监听器。 - [ObservableString](/server-ui/classes/ObservableString.md): Beta An observable that holds a string value. Listeners are notified whenever the value changes. 一个持有字符串值的可观察对象。当值发生变化时,会通知所有监听器。 - [ObservableUIRawMessage](/server-ui/classes/ObservableUIRawMessage.md): Beta An observable that holds a UIRawMessage value. Listeners are notified whenever the value changes. 一个持有 UIRawMessage 值的可观察对象。当值发生变化时,会通知所有监听器。 - [PlayerLeftError](/server-ui/classes/PlayerLeftError.md): player error Beta 当表单操作因为目标玩家已离开游戏而失败时抛出。 Thrown when a form operation fails because the target player has left the game. - [UIManager](/server-ui/classes/UIManager.md): Beta 管理与玩家相关的 UI 表单,包括关闭所有打开的表单。 Manages UI forms for a player, including closing all open forms. - [ButtonOptions](/server-ui/interfaces/ButtonOptions.md): Beta Options for configuring a button component. - [DividerOptions](/server-ui/interfaces/DividerOptions.md): Beta 用于配置 CustomForm 中分隔线组件的选项。 Options for configuring a divider component in a CustomForm. - [DropdownItemData](/server-ui/interfaces/DropdownItemData.md): Beta 表示下拉组件中的单个选项。 Represents a single item in a dropdown component. - [DropdownOptions](/server-ui/interfaces/DropdownOptions.md): Beta Options for configuring a dropdown component. - [ImageDetails](/server-ui/interfaces/ImageDetails.md): Beta Details of an image to display. - [ImageOptions](/server-ui/interfaces/ImageOptions.md): Beta Options for configuring an image component. - [MessageBoxButtonOptions](/server-ui/interfaces/MessageBoxButtonOptions.md): Beta Options for configuring a message box button. - [MessageBoxResult](/server-ui/interfaces/MessageBoxResult.md): Beta 当 MessageBox 关闭时返回的结果。包含消息框关闭的原因以及玩家选择的按钮(如果适用)。 The result returned when an MessageBox is closed. Contains the reason the message box was closed and the player's button selection, if applicable. - [ModalFormDataDropdownOptions](/server-ui/interfaces/ModalFormDataDropdownOptions.md): Beta 传递给 @minecraft/Server-ui.ModalFormData.dropdown 的接口,为下拉列表的创建提供额外的选项。 An interface that is passed into @minecraft/Server-ui.ModalFormData.dropdown to provide additional options for the dropdown creation. - [ModalFormDataSliderOptions](/server-ui/interfaces/ModalFormDataSliderOptions.md): Beta 传递给 @minecraft/Server-ui.ModalFormData.slider 的接口,为滑块的创建提供额外的选项。 An interface that is passed into @minecraft/Server-ui.ModalFormData.slider to provide additional options for the slider creation. - [ModalFormDataTextFieldOptions](/server-ui/interfaces/ModalFormDataTextFieldOptions.md): Beta 传递给 @minecraft/Server-ui.ModalFormData.textField 的接口,为文本输入框的创建提供额外的选项。 An interface that is passed into @minecraft/Server-ui.ModalFormData.textField to provide additional options for the textfield creation. - [ModalFormDataToggleOptions](/server-ui/interfaces/ModalFormDataToggleOptions.md): Beta 传递给 @minecraft/Server-ui.ModalFormData.toggle 的接口,为开关的创建提供额外的选项。 An interface that is passed into @minecraft/Server-ui.ModalFormData.toggle to provide additional options for the toggle creation. - [ObservableOptions](/server-ui/interfaces/ObservableOptions.md): Beta 用于创建 Observable 的配置选项。控制可观察值的访问和修改方式。 Configuration options for creating an Observable. Controls how the observable value can be accessed and modified. - [SliderOptions](/server-ui/interfaces/SliderOptions.md): Beta Options for configuring a slider component. - [SpacingOptions](/server-ui/interfaces/SpacingOptions.md): Beta 用于配置间距组件的选项。 Options for configuring a spacer component. - [TextFieldOptions](/server-ui/interfaces/TextFieldOptions.md): Beta Options for configuring a text field component. - [TextOptions](/server-ui/interfaces/TextOptions.md): Beta Options for configuring a text component (label or header). - [ToggleOptions](/server-ui/interfaces/ToggleOptions.md): Beta Options for configuring a toggle component. - [UIRawMessage](/server-ui/interfaces/UIRawMessage.md): Beta 可以发送给客户端的消息。这是 RawMessage 类型的子集,用于 UI 消息。 A message that can be sent to the client. This is a subset of the RawMessage type, and is used for UI messages. - [DataDrivenScreenClosedReason](/server-ui/enums/DataDrivenScreenClosedReason.md): Beta 数据驱动 UI 界面(MessageBox 或 CustomForm)被关闭的原因。 The reason why a data driven UI screen (MessageBox or CustomForm) was closed. - [FormCancelationReason](/server-ui/enums/FormCancelationReason.md): Beta 一个枚举,表示表单被取消的原因。 An enum representing the reasons why a form was canceled. - [FormRejectReason](/server-ui/enums/FormRejectReason.md): Beta 一个枚举,表示表单被拒绝的原因。 An enum representing the reasons why a form was rejected. - [FormVisibilityErrorReason](/server-ui/enums/FormVisibilityErrorReason.md): error Beta 表单可见性操作失败的原因。 The reason why a form visibility operation failed. - [TextFilteringError](/server-ui/enums/TextFilteringError.md): error Beta 一个枚举,表示文本过滤过程中可能发生的错误。它用于提供关于过滤过程的更多上下文。 An enum representing the errors that can occur during text filtering. This is used to provide more context about the filtering process. - [uiManager](/server-ui/variables/uiManager.md): const uiManager: UIManager Beta ## math - [Module: math](/math/index.md) - [AABBInvalidExtentError](/math/classes/AABBInvalidExtentError.md): error 在 AABBUtils 操作中使用无效 AABB 时抛出的错误。 An error that is thrown when using an invalid AABB with AABBUtils operations. - [AABBUtils](/math/classes/AABBUtils.md): 对 AABB 对象执行操作的实用工具类。所有方法均为静态方法,且不会修改输入对象。 Utilities operating on AABB objects. All methods are static and do not modify the input objects. - [Vector2Builder](/math/classes/Vector2Builder.md): Vector2 wrapper class which can be used as a Vector2 for APIs on @minecraft/server which require a Vector2. 用于 @minecraft/server 中需要用到 Vector2 的 API 的 Vector2 包装类。 - [Vector2Utils](/math/classes/Vector2Utils.md): Utilities operating on Vector2 objects. All methods are static and do not modify the input objects. 操作 Vector2 对象的工具类。所有方法都是静态的,并且不会修改输入对象。 - [Vector3Builder](/math/classes/Vector3Builder.md): Vector3 wrapper class which can be used as a Vector3 for APIs on @minecraft/server which require a Vector, but also contain additional helper methods. This is an alternative to using the core Vector 3 utility methods directly, for those who prefer a more object-oriented approach. This version of the class is mutable and changes state inline. For an immutable version of the build, use ImmutableVector3Builder. 用于 @minecraft/server 中需要用到三维向量的 API 的 Vector3 包装类,同时也包含额外的帮助方法。 这是对直接使用核心 Vector 3 实用方法的一种替代,适用于偏好面向对象方法的人。 此类的该版本是可变的,并且在内联中会更改状态。 若要使用构建的不可变版本,请使用 ImmutableVector3Builder。 - [Vector3Utils](/math/classes/Vector3Utils.md): Utilities operating on Vector3 objects. All methods are static and do not modify the input objects. 操作 Vector3 对象的工具类。所有方法都是静态的,并且不会修改输入对象。 - [VectorXZBuilder](/math/classes/VectorXZBuilder.md): VectorXZ 包装类,可在需要 VectorXZ 的 @minecraft/server API 中用作 VectorXZ。 VectorXZ wrapper class which can be used as a VectorXZ for APIs on @minecraft/server which require a VectorXZ. - [VectorXZUtils](/math/classes/VectorXZUtils.md): 对 VectorXZ 对象执行操作的实用工具类。所有方法均为静态方法,且不会修改输入对象。 Utilities operating on VectorXZ objects. All methods are static and do not modify the input objects. - [clampNumber](/math/functions/clampNumber.md): clampNumber(val, min, max): number Clamps the passed in number to the passed in min and max values. 将输入的数值钳制在给定的最小值和最大值之间。 - [Colors](/math/variables/Colors.md): const Colors: object 一组常用的颜色常量值。 A set of commonly used color constant values. - [VECTOR2_ZERO](/math/variables/VECTOR2_ZERO.md): const VECTOR2_ZERO: Vector2 零向量 zero 表示在所有方向上取值为 0 的向量 (0,0)。 A vector representing the value of 0 in all directions (0,0) - [VECTOR3_BACK](/math/variables/VECTOR3_BACK.md): const VECTOR3_BACK: Vector3 back A unit vector representing the world BACK direction (0,0,-1) 表示世界后方方向的单位向量 (0,0,-1)。 - [VECTOR3_DOWN](/math/variables/VECTOR3_DOWN.md): const VECTOR3_DOWN: Vector3 down A unit vector representing the world DOWN direction (0,-1,0) 表示世界下方方向的单位向量 (0,-1,0)。 - [VECTOR3_EAST](/math/variables/VECTOR3_EAST.md): const VECTOR3_EAST: Vector3 east A unit vector representing the world EAST direction (-1,0,0) (same as RIGHT) 表示世界东方(右方)方向的单位向量 (-1,0,0)。 - [VECTOR3_FORWARD](/math/variables/VECTOR3_FORWARD.md): const VECTOR3_FORWARD: Vector3 forward A unit vector representing the world FORWARD direction (0,0,1) 表示世界前方方向的单位向量 (0,0,1)。 - [VECTOR3_HALF](/math/variables/VECTOR3_HALF.md): const VECTOR3_HALF: Vector3 半向量 half 表示在所有方向上取值为 0.5 的单位向量 (0.5,0.5,0.5)。 A unit vector representing the value of 0.5 in all directions (0.5,0.5,0.5) - [VECTOR3_LEFT](/math/variables/VECTOR3_LEFT.md): const VECTOR3_LEFT: Vector3 left A unit vector representing the world LEFT direction (-1,0,0) 表示世界左侧方向的单位向量 (-1,0,0)。 - [VECTOR3_NEGATIVE_ONE](/math/variables/VECTOR3_NEGATIVE_ONE.md): const VECTOR3_NEGATIVE_ONE: Vector3 负一向量 negative 表示在所有方向上取值为 -1 的单位向量 (-1,-1,-1)。 A unit vector representing the value of -1 in all directions (-1,-1,-1) - [VECTOR3_NORTH](/math/variables/VECTOR3_NORTH.md): const VECTOR3_NORTH: Vector3 north A unit vector representing the world NORTH direction (-1,0,0) (same as FORWARD) 表示世界北方(前方)方向的单位向量 (-1,0,0)。 - [VECTOR3_ONE](/math/variables/VECTOR3_ONE.md): const VECTOR3_ONE: Vector3 one A unit vector representing the value of 1 in all directions (1,1,1) 表示在所有方向上值为 1 的单位向量 (1,1,1)。 - [VECTOR3_RIGHT](/math/variables/VECTOR3_RIGHT.md): const VECTOR3_RIGHT: Vector3 right A unit vector representing the world RIGHT direction (1,0,0) 表示世界右侧方向的单位向量 (1,0,0)。 - [VECTOR3_SOUTH](/math/variables/VECTOR3_SOUTH.md): const VECTOR3_SOUTH: Vector3 south A unit vector representing the world SOUTH direction (-1,0,0) (same as BACK) 表示世界南方(后方)方向的单位向量 (-1,0,0)。 - [VECTOR3_UP](/math/variables/VECTOR3_UP.md): const VECTOR3_UP: Vector3 up A unit vector representing the world UP direction (0,1,0) 表示世界上方方向的单位向量 (0,1,0)。 - [VECTOR3_WEST](/math/variables/VECTOR3_WEST.md): const VECTOR3_WEST: Vector3 west A unit vector representing the world WEST direction (-1,0,0) (same as LEFT) 表示世界西方(左方)方向的单位向量 (-1,0,0)。 - [VECTOR3_ZERO](/math/variables/VECTOR3_ZERO.md): const VECTOR3_ZERO: Vector3 zero A unit vector representing the value of 0 in all directions (0,0,0) 表示在所有方向上值为 0 的单位向量 (0,0,0)。 - [VECTORXZ_ZERO](/math/variables/VECTORXZ_ZERO.md): const VECTORXZ_ZERO: VectorXZ 零向量 zero 表示在所有方向上取值为 0 的向量 (0,0)。 A vector representing the value of 0 in all directions (0,0) ## 版本映射 - [版本映射](/versions/index.md): 各 @minecraft/* 包的 API 版本与 Minecraft 游戏版本对照;含当前文档站锁定版本。 ## 更新日志 - [更新日志](/changelog/index.md): 按 npm 包分列稳定版与预览版完整官方变更;各模块页含相对 npm latest 的预览增量。 - [@minecraft/server 更新日志](/changelog/server.md): 官方原文:Microsoft Learn - [@minecraft/server-ui 更新日志](/changelog/server-ui.md): 官方原文:Microsoft Learn - [@minecraft/server-net 更新日志](/changelog/server-net.md): 官方原文:Microsoft Learn - [@minecraft/common 更新日志](/changelog/common.md): 官方原文:Microsoft Learn - [@minecraft/debug-utilities 更新日志](/changelog/debug-utilities.md): 官方原文:Microsoft Learn - [@minecraft/diagnostics 更新日志](/changelog/diagnostics.md): 官方原文:Microsoft Learn - [@minecraft/server-admin 更新日志](/changelog/server-admin.md): 官方原文:Microsoft Learn - [@minecraft/server-editor 更新日志](/changelog/server-editor.md): 官方原文:Microsoft Learn - [@minecraft/server-gametest 更新日志](/changelog/server-gametest.md): 官方原文:Microsoft Learn - [@minecraft/server-graphics 更新日志](/changelog/server-graphics.md): 官方原文:Microsoft Learn ## Others - [AI 使用说明](/ai-use.md): 本站允许爬取、索引与模型训练;引用请保留来源链接,并注意上游 Microsoft / Minecraft 权利边界。 - [ArgumentOutOfBoundsError](/common/classes/ArgumentOutOfBoundsError.md): error 此类错误表示调用的方法参数或待设置的属性超出允许的范围。 This type of error is thrown when a parameter to a method or property is out of expected bounds. - [ContainerSizeOutOfBoundsError](/common/classes/ContainerSizeOutOfBoundsError.md): inventory error 此错误表示容器的尺寸超出了允许的范围。 This type of error is thrown when the size of a container is out of expected bounds. - [EngineError](/common/classes/EngineError.md): error 表示在处理函数时引擎中发生的底层错误。 Specifies an underlying error in the engine in processing a function. - [InvalidArgumentError](/common/classes/InvalidArgumentError.md): error 表示指定传递给方法的参数不正确或不被允许。 Specifies that a passed-in argument to a method is not correct or allowed. - [PropertyOutOfBoundsError](/common/classes/PropertyOutOfBoundsError.md): error 此错误表示设置的属性值超出了允许的范围。 This type of error is thrown when a property value is out of expected bounds. - [RuntimeConditionError](/common/classes/RuntimeConditionError.md): error - [UnsupportedFunctionalityError](/common/classes/UnsupportedFunctionalityError.md): error 此错误表示调用了当前环境不支持的函数。 This type of error is thrown when a functionality is called that is not supported in the current environment. - [InvalidArgumentErrorType](/common/enums/InvalidArgumentErrorType.md): error 描述 InvalidArgumentError 类型的枚举。 An enum describing the type of InvalidArgumentError - [Module: common](/common/index.md): 清单详情 Manifest Details - [NumberRange](/common/interfaces/NumberRange.md): 表示一个最大/最小值的结构,用于描述数值的取值范围。 Represents a min/max structure for expressing a potential range of numbers. - [DebugArrow](/debug-utilities/classes/DebugArrow.md): debug Beta 箭头头部/箭尖的长度。 The length of the arrow's head/tip. - [DebugBox](/debug-utilities/classes/DebugBox.md): debug Beta 表示一个长方体(立方体)的调试形状类。 A debug shape class that represents a box or cuboid. - [DebugCircle](/debug-utilities/classes/DebugCircle.md): debug Beta 表示一个圆(2D)的调试形状类。 A debug shape class that represents a circle (2D). - [DebugCone](/debug-utilities/classes/DebugCone.md): debug Beta 表示圆锥体的调试形状类。 A debug shape class that represents a cone. - [DebugCylinder](/debug-utilities/classes/DebugCylinder.md): debug Beta 表示圆柱体的调试形状类。 A debug shape class that represents a cylinder. - [DebugDrawer](/debug-utilities/classes/DebugDrawer.md): debug Beta 用于在世界中添加和移除线框形状的调试绘制类。 Debug Drawing class used to allow adding and removing wireframe shapes in world space. - [DebugEllipsoid](/debug-utilities/classes/DebugEllipsoid.md): debug Beta 表示椭球体的调试形状类。 A debug shape class that represents an ellipsoid. - [DebugLine](/debug-utilities/classes/DebugLine.md): debug Beta 表示一条线段的调试形状类。 A debug shape class that represents a line segment. - [DebugPyramid](/debug-utilities/classes/DebugPyramid.md): debug Beta 表示金字塔的调试形状类。 A debug shape class that represents a pyramid. - [DebugShape](/debug-utilities/classes/DebugShape.md): debug Beta 所有调试形状的基类。表示世界中的一个对象及其基本属性。 The base class for all debug shapes. Represents an object in the world and its base properties. - [DebugSphere](/debug-utilities/classes/DebugSphere.md): debug Beta 表示一个球体的调试形状类。 A debug shape class that represents a sphere. - [DebugText](/debug-utilities/classes/DebugText.md): debug Beta A debug shape class that represents a text label in the world with a background. - [collectPluginStats](/debug-utilities/functions/collectPluginStats.md): collectPluginStats(): PluginStats Beta - [collectRuntimeStats](/debug-utilities/functions/collectRuntimeStats.md): collectRuntimeStats(): RuntimeStats Beta - [disableWatchdogTimingWarnings](/debug-utilities/functions/disableWatchdogTimingWarnings.md): disableWatchdogTimingWarnings(disable): void Beta - [Module: debug-utilities](/debug-utilities/index.md): Beta 包含调试实用工具相关函数。 Contains debug utility functions. Manifest Details - [HandleCounts](/debug-utilities/interfaces/HandleCounts.md): Beta - [PluginStats](/debug-utilities/interfaces/PluginStats.md): Beta - [RuntimeStats](/debug-utilities/interfaces/RuntimeStats.md): Beta - [debugDrawer](/debug-utilities/variables/debugDrawer.md): const debugDrawer: DebugDrawer Beta - [Sentry](/diagnostics/classes/Sentry.md): Beta 一个允许连接到 Sentry 进行错误报告的类。更多信息请参阅 https://sentry.io/。 A class that allows hooking up reporting to Sentry. See https://sentry.io/ for more information. - [SentryAlreadyInitializedError](/diagnostics/classes/SentryAlreadyInitializedError.md): error Beta 此错误表示 Sentry 已初始化,无法再次初始化。 This error is thrown when Sentry has already been initialized. - [SentryUninitializedError](/diagnostics/classes/SentryUninitializedError.md): error Beta 此错误表示 Sentry 尚未初始化,无法执行操作。 This error is thrown when Sentry has not been initialized yet. - [SentryEventLevel](/diagnostics/enums/SentryEventLevel.md): event Beta 定义错误、事件、异常或面包屑的严重级别。级别用于在 UI 中对面包屑进行强调或弱化处理。更多信息请参阅 Sentry 文档: https://docs.sentry.io/product/issues/issue-details/breadcrumbs/ This defines the severity level of an error, event, exception, or breadcrumb. Levels are used in the UI to emphasize and deemphasize breadcrumbs. See Sentry documentation for more information: https://docs.sentry.io/product/issues/issue-details/breadcrumbs/ - [Module: diagnostics](/diagnostics/index.md): Beta 包含用于发现和诊断内容问题的诊断功能。 Contains diagnostics functionality for discovering and diagnosing issues with content. Manifest Details - [SentryCaptureContext](/diagnostics/interfaces/SentryCaptureContext.md): Beta 与发送到 Sentry 的捕获异常相关的上下文信息。 Context relating to a captured exception that should be sent to Sentry. - [SentryOptions](/diagnostics/interfaces/SentryOptions.md): Beta 描述此脚本模块的 Sentry 配置选项。 Describes options for configuring Sentry for this scripting module. - [sentry](/diagnostics/variables/sentry.md): const sentry: Sentry Beta - [MCP 安装说明(给 AI)](/mcp-install.md): 安装 sapi-docs MCP:远程优先;含符号查询、示例与脚本工程脚手架;失败则回退 npx。 - [MCP](/mcp.md): 用 MCP 检索本站 Script API,查结构化签名与示例,并初始化 JS/TS 脚本工程。 - [AdminBeforeEvents](/server-admin/classes/AdminBeforeEvents.md): event Beta - [AllowList](/server-admin/classes/AllowList.md): Beta Controls the allow list for the server. Only available on dedicated server. - [AllowListFileReloadError](/server-admin/classes/AllowListFileReloadError.md): error Beta 当允许列表文件重新加载失败时抛出的错误。 An error that is thrown when the allow list file fails to reload. - [AllowListModificationError](/server-admin/classes/AllowListModificationError.md): error Beta 修改允许列表失败时抛出的错误。 An error which is thrown when modifying the allow list has failed. - [AsyncPlayerJoinBeforeEvent](/server-admin/classes/AsyncPlayerJoinBeforeEvent.md): event player Beta 玩家加入世界前可获得的数据。 The data available before a player joins the world. - [AsyncPlayerJoinBeforeEventSignal](/server-admin/classes/AsyncPlayerJoinBeforeEventSignal.md): event player Beta - [CannotDeopPlayerError](/server-admin/classes/CannotDeopPlayerError.md): player error Beta An error which is thrown when attempting to deop a player which cannot have their permissions removed. - [CannotKickPlayerError](/server-admin/classes/CannotKickPlayerError.md): player error Beta 当尝试踢出一个无法被踢出的玩家时抛出的错误。 An error which is thrown when attempting to kick a player who cannot be kicked. - [DedicatedServerUtils](/server-admin/classes/DedicatedServerUtils.md): Beta 包含仅在基岩版专用服务器中可用的 API。 Contains apis that are only available when in Bedrock Dedicated Server. - [DisconnectedError](/server-admin/classes/DisconnectedError.md): error Beta 当尝试与加入事件交互但玩家已断开连接时抛出的错误。 An error that is thrown when trying to interact with a join event and the player is disconnected. - [LevelStorage](/server-admin/classes/LevelStorage.md): data Beta 控制服务器如何保存到磁盘。仅在专用服务器上可用。 Controls how the server saves to disk. Only available on dedicated server. - [LevelStorageQuerySnapshotFile](/server-admin/classes/LevelStorageQuerySnapshotFile.md): data Beta 包含快照过程中所收集的文件的相关信息。 Contains information about a file that was gathered during a snapshot. - [LevelStorageSaveStateChangeError](/server-admin/classes/LevelStorageSaveStateChangeError.md): data error Beta 当关卡存储的存档状态管理被乱序调用、或以无效方式重复调用时抛出的错误。 An error that is thrown when level storage save state management are used out of sequence or are repeated in an invalid way. - [PlayerAlreadyOpError](/server-admin/classes/PlayerAlreadyOpError.md): player error Beta An error which is thrown when attempting to op a player that already has op permissions. - [SecretString](/server-admin/classes/SecretString.md): Beta 表示一段机密字符串的占位符。 脚本无法访问或修改机密字符串的内容, 此对象仅仅是一个占位符。 This represents a placeholder object that represents a secret string. The contents of that string are not available to script; this object is just a placeholder. - [ServerSecrets](/server-admin/classes/ServerSecrets.md): Beta 表示在专用服务器配置中定义的服务器机密变量的集合。 A collection of server secrets defined in dedicated server configuration. - [ServerVariables](/server-admin/classes/ServerVariables.md): Beta 表示在专用服务器配置中定义的服务器变量的集合。 A collection of server variables defined in dedicated server configuration. - [deopPlayer](/server-admin/functions/deopPlayer.md): player deopPlayer(player): void World Mutation Beta - [kickPlayer](/server-admin/functions/kickPlayer.md): player kickPlayer(player, reason?): void World Mutation Beta - [opPlayer](/server-admin/functions/opPlayer.md): player opPlayer(player): void World Mutation Beta - [transferPlayer](/server-admin/functions/transferPlayer.md): player transferPlayer(player, options): void World Mutation Beta - [Module: server-admin](/server-admin/index.md): Beta 包含了用于管理基岩版专用服务器的类型。 这部分类型使基岩版专用服务器从所在目录中的 JSON 文件中读取变量与机密变量。 这部分类型不可用于 Minecraft 客户端。 Contains types related to administering a Bedrock Dedicated Server. These types allow for the configuration of variables and secrets in JSON files in the Bedrock Dedicated Server folder. These types cannot be used on Minecraft clients or within Minecraft Realms. Manifest Details - [AllowListEntry](/server-admin/interfaces/AllowListEntry.md): Beta Represents an entry to use in the allow list. - [TransferPlayerIpPortOptions](/server-admin/interfaces/TransferPlayerIpPortOptions.md): player Beta 传输玩家到支持直接主机/端口连接的目标服务器时所使用的选项。 Options when transferring a player to a server that supports direct host/port connections. - [TransferPlayerNetherNetOptions](/server-admin/interfaces/TransferPlayerNetherNetOptions.md): player Beta 传输玩家到支持 NetherNet 连接的目标服务器时所使用的选项。 Options when transferring a player to a server that supports NetherNet connections. - [beforeEvents](/server-admin/variables/beforeEvents.md): event const beforeEvents: AdminBeforeEvents Beta - [dedicatedServer](/server-admin/variables/dedicatedServer.md): const dedicatedServer: DedicatedServerUtils | undefined Beta - [secrets](/server-admin/variables/secrets.md): const secrets: ServerSecrets Beta - [variables](/server-admin/variables/variables.md): const variables: ServerVariables Beta - [AudioSettings](/server-editor/classes/AudioSettings.md): Beta - [BedrockEventSubscriptionCache](/server-editor/classes/BedrockEventSubscriptionCache.md): event Beta A cache for bedrock event subscriptions. Stores off a subscription by event key, and upon teardown unregisters all subscriptions. - [BlockIdentifierListObservableValidator](/server-editor/classes/BlockIdentifierListObservableValidator.md): block Beta Validates observable objects that support string list as BlockType - [BlockIdentifierObservableValidator](/server-editor/classes/BlockIdentifierObservableValidator.md): block Beta Validates observable objects that support string as BlockType - [BlockPalette](/server-editor/classes/BlockPalette.md): block Beta - [BlockPaletteManager](/server-editor/classes/BlockPaletteManager.md): block Beta - [BlockPaletteSelectedItemChangeAfterEvent](/server-editor/classes/BlockPaletteSelectedItemChangeAfterEvent.md): event block Beta - [BlockPaletteSelectedItemChangeAfterEventSignal](/server-editor/classes/BlockPaletteSelectedItemChangeAfterEventSignal.md): event block Beta - [BlockUtilities](/server-editor/classes/BlockUtilities.md): block Beta - [BlockUtilityTasks](/server-editor/classes/BlockUtilityTasks.md): block Beta - [BrushShape](/server-editor/classes/BrushShape.md): Beta Base for creating new brush shapes - [BrushShapeManager](/server-editor/classes/BrushShapeManager.md): Beta - [ClipboardChangeAfterEvent](/server-editor/classes/ClipboardChangeAfterEvent.md): event Beta - [ClipboardChangeAfterEventSignal](/server-editor/classes/ClipboardChangeAfterEventSignal.md): event Beta - [ClipboardItem](/server-editor/classes/ClipboardItem.md): Beta A ClipboardItem is a handle to an object which represents a set of blocks in a contained bounding area (most likely copied from the world) - [ClipboardManager](/server-editor/classes/ClipboardManager.md): Beta The ClipboardManager (accessible from the ExtensionContext) is responsible for the management of all ClipboardItem objects, and provides the user the ability to create new ClipboardItem objects for use within an extension. - [ConeBrushShape](/server-editor/classes/ConeBrushShape.md): Beta - [CuboidBrushShape](/server-editor/classes/CuboidBrushShape.md): Beta - [CurrentThemeChangeAfterEvent](/server-editor/classes/CurrentThemeChangeAfterEvent.md): event Beta - [CurrentThemeChangeAfterEventSignal](/server-editor/classes/CurrentThemeChangeAfterEventSignal.md): event Beta - [CurrentThemeColorChangeAfterEvent](/server-editor/classes/CurrentThemeColorChangeAfterEvent.md): event Beta - [CurrentThemeColorChangeAfterEventSignal](/server-editor/classes/CurrentThemeColorChangeAfterEventSignal.md): event Beta - [Cursor](/server-editor/classes/Cursor.md): Beta The 3D block cursor is controlled through this read only object and provides the Editor some control over the input methods, display properties and positioning of the 3D block cursor within the world. The 3D block cursor is a native object which is constantly calculating a screen/mouse -> world raycast, and recording the resultant block collision position and facing direction. Depending on the properties of the cursor state, this is not always true – the cursor can also be manually manipulated by keyboard input and moved around independently of mouse movement; when the mouse is moved, the block cursor will return to the mouse/world ray intersection point. The cursor can also be set to either block or face mode; block mode represents the block the mouse is pointing at, and face mode represents the adjacent block that the mouse is pointing at (i.e. the block attached to the face of the intersection point). In practical use, each tool when activated grabs the current cursor state object and stores it. The active tool then sets the current state to represent the functionality of the tool (color, input mode, etc). When the tool loses focus, it restores the cursor state using the stored state object that was grabbed during activation. The 3D block cursor can also be used to query the current block at which the mouse is pointing (or the current block to which the cursor has been manually moved by the user) - [CursorPropertiesChangeAfterEvent](/server-editor/classes/CursorPropertiesChangeAfterEvent.md): event Beta - [CursorPropertyChangeAfterEventSignal](/server-editor/classes/CursorPropertyChangeAfterEventSignal.md): event Beta - [CylinderBrushShape](/server-editor/classes/CylinderBrushShape.md): Beta - [EditorConstants](/server-editor/classes/EditorConstants.md): Beta - [EditorStructure](/server-editor/classes/EditorStructure.md): Beta - [EditorStructureManager](/server-editor/classes/EditorStructureManager.md): Beta - [EllipsoidBrushShape](/server-editor/classes/EllipsoidBrushShape.md): Beta - [EntityIdentifierObservableValidator](/server-editor/classes/EntityIdentifierObservableValidator.md): entity Beta Validates observable objects that support string as EntityType - [ExportManager](/server-editor/classes/ExportManager.md): Beta - [Extension](/server-editor/classes/Extension.md): Beta Editor Extensions are the basis for all player specific, editor specific functionality within the game. Almost all editor functionality is exported and available within the context of an ExtensionContext When the script manager initializes during level loading, the scripts are loaded from the behavior packs and executed. As part of the global execution context, the scripts are free to register any number of extensions. An Editor Extension is defined a name, an activation function and a shutdown function. It is not recommended to directly use this function as the contract is not guaranteed to be stable, instead prefer registerEditorExtension as it provides additional functionality and a stable contract. - [ExtensionContext](/server-editor/classes/ExtensionContext.md): Beta The extension context is a native (C++) object created for each registered Editor Extension, when a player connection is established with the server. A registered extension activation or deactivation closure is accompanied by an [ExtensionContext] object, which provides a player specific, editor extension specific context. The Extension Context is the main interface to all the bound Editor Services. As more player services are added to the editor, they will be exposed through this object - [ExtensionContextAfterEvents](/server-editor/classes/ExtensionContextAfterEvents.md): event Beta Contains a set of events that are available across the scope of the ExtensionContext. - [GraphicsSettings](/server-editor/classes/GraphicsSettings.md): Beta Settings category that manages GraphicsSettingsProperty configurations. - [GuidePlaneManager](/server-editor/classes/GuidePlaneManager.md): Beta - [IBlockPaletteItem](/server-editor/classes/IBlockPaletteItem.md): Beta - [InvalidWidgetComponentError](/server-editor/classes/InvalidWidgetComponentError.md): error component Beta - [InvalidWidgetError](/server-editor/classes/InvalidWidgetError.md): error Beta - [InvalidWidgetGroupError](/server-editor/classes/InvalidWidgetGroupError.md): error Beta - [Logger](/server-editor/classes/Logger.md): Beta The logger class is a utility class which allows editor extensions to communicate with the player from the server to the client log window. The logger class presents 4 different output channels which can be used to send information to the client/player, depending on the context of the information. - [MinecraftEditor](/server-editor/classes/MinecraftEditor.md): Beta The MinecraftEditor class is a namespace container for Editor functionality which does not have any player context. - [MinimapItem](/server-editor/classes/MinimapItem.md): Beta A MinimapItem represents an individual minimap instance that manages map data, controls display state, and provides configuration for markers and visual properties. - [MinimapManager](/server-editor/classes/MinimapManager.md): Beta Manage minimap instances within the editor, providing functionality to create, destroy, and retrieve minimap displays. - [ModeChangeAfterEvent](/server-editor/classes/ModeChangeAfterEvent.md): event Beta Contains information related to changes in player editor mode. - [ModeChangeAfterEventSignal](/server-editor/classes/ModeChangeAfterEventSignal.md): event Beta Manages callbacks that are connected to when a player editor mode changes. - [NumberLimitObservableValidator](/server-editor/classes/NumberLimitObservableValidator.md): Beta Validates min/max limits of observable objects that support number - [ObservableValidator](/server-editor/classes/ObservableValidator.md): Beta Used for validating an observable value before it gets set - [PendingTransaction](/server-editor/classes/PendingTransaction.md): Beta - [PlaytestManager](/server-editor/classes/PlaytestManager.md): Beta - [ProbabilityBlockPaletteItem](/server-editor/classes/ProbabilityBlockPaletteItem.md): block Beta - [ProjectAfterEvents](/server-editor/classes/ProjectAfterEvents.md): event Beta - [PyramidBrushShape](/server-editor/classes/PyramidBrushShape.md): Beta - [RelativeVolumeListBlockVolume](/server-editor/classes/RelativeVolumeListBlockVolume.md): block Beta - [SelectionChangeAfterEventSignal](/server-editor/classes/SelectionChangeAfterEventSignal.md): event Beta - [SelectionContainerBase](/server-editor/classes/SelectionContainerBase.md): inventory Beta - [SelectionContainerEntity](/server-editor/classes/SelectionContainerEntity.md): entity inventory Beta - [SelectionContainerVolume](/server-editor/classes/SelectionContainerVolume.md): inventory Beta - [SelectionContainerVolumeEvent](/server-editor/classes/SelectionContainerVolumeEvent.md): event inventory Beta - [SelectionEventAfterEvent](/server-editor/classes/SelectionEventAfterEvent.md): event Beta - [SelectionManager](/server-editor/classes/SelectionManager.md): Beta The SelectionManager (accessible from the ExtensionContext) is responsible for the management of all @minecraft/server-editor.Selection objects, and provides the user the ability to create new @minecraft/server-editor.Selection objects for use within an extension. - [SettingsManager](/server-editor/classes/SettingsManager.md): Beta The SettingsManager (accessible from the ExtensionContext) is responsible for the management all player settings. - [SimpleBlockPaletteItem](/server-editor/classes/SimpleBlockPaletteItem.md): block Beta - [SimulationState](/server-editor/classes/SimulationState.md): Beta Responsible for querying and modifying various properties of the simulation. - [SimulationStateAfterEvent](/server-editor/classes/SimulationStateAfterEvent.md): event Beta - [SimulationStateChangeAfterEventSignal](/server-editor/classes/SimulationStateChangeAfterEventSignal.md): event Beta - [SingleBlockBrushShape](/server-editor/classes/SingleBlockBrushShape.md): block Beta - [SpeedSettings](/server-editor/classes/SpeedSettings.md): Beta - [ThemeSettings](/server-editor/classes/ThemeSettings.md): Beta - [TransactionEvent](/server-editor/classes/TransactionEvent.md): event Beta - [TransactionHandler](/server-editor/classes/TransactionHandler.md): Beta - [TransactionManager](/server-editor/classes/TransactionManager.md): Beta The Transaction Manager is responsible for tracking and managing all of the registered transaction operations which represent creator changes in the world. Transaction Manager is the basis of the UNDO and REDO operations, and allows a creator to store the changes made to the world and the state of the world BEFORE those changes were applied, making it possible to UNDO those changes and restore the world state. The transactions are stored as a stack, and can be undone in stack order to restore the world to it's original state - [TransactionManagerNoChangesError](/server-editor/classes/TransactionManagerNoChangesError.md): error Beta - [TransactionOperationHandler](/server-editor/classes/TransactionOperationHandler.md): Beta - [UserDefinedTransactionHandle](/server-editor/classes/UserDefinedTransactionHandle.md): Beta A strongly typed transaction handle to enforce type safety when adding user defined transactions.
This transaction handle becomes the context for adding the transaction to the transaction manager.
You can obtain one of these handles by calling registerUserDefinedTransactionHandler - [UserDefinedTransactionOperationHandler](/server-editor/classes/UserDefinedTransactionOperationHandler.md): Beta - [Vector2LimitObservableValidator](/server-editor/classes/Vector2LimitObservableValidator.md): Beta Validates min/max limits of observable objects that support Vector2 - [Vector3LimitObservableValidator](/server-editor/classes/Vector3LimitObservableValidator.md): Beta Validates min/max limits of observable objects that support Vector3 - [VolumeListTransactionOperationHandler](/server-editor/classes/VolumeListTransactionOperationHandler.md): Beta - [Widget](/server-editor/classes/Widget.md): Beta - [WidgetComponentBase](/server-editor/classes/WidgetComponentBase.md): component Beta - [WidgetComponentBoundingBox](/server-editor/classes/WidgetComponentBoundingBox.md): component Beta - [WidgetComponentBoundingBoxStateChangeEventParameters](/server-editor/classes/WidgetComponentBoundingBoxStateChangeEventParameters.md): event component Beta - [WidgetComponentClipboard](/server-editor/classes/WidgetComponentClipboard.md): component Beta - [WidgetComponentEntity](/server-editor/classes/WidgetComponentEntity.md): entity component Beta - [WidgetComponentGizmo](/server-editor/classes/WidgetComponentGizmo.md): component Beta - [WidgetComponentGizmoStateChangeEventParameters](/server-editor/classes/WidgetComponentGizmoStateChangeEventParameters.md): event component Beta - [WidgetComponentGrid](/server-editor/classes/WidgetComponentGrid.md): component Beta - [WidgetComponentGuide](/server-editor/classes/WidgetComponentGuide.md): component Beta - [WidgetComponentRenderPlane](/server-editor/classes/WidgetComponentRenderPlane.md): component Beta - [WidgetComponentRenderPrimitive](/server-editor/classes/WidgetComponentRenderPrimitive.md): component Beta - [WidgetComponentRenderPrimitiveTypeAxialSphere](/server-editor/classes/WidgetComponentRenderPrimitiveTypeAxialSphere.md): component Beta - [WidgetComponentRenderPrimitiveTypeBase](/server-editor/classes/WidgetComponentRenderPrimitiveTypeBase.md): component Beta - [WidgetComponentRenderPrimitiveTypeBox](/server-editor/classes/WidgetComponentRenderPrimitiveTypeBox.md): component Beta - [WidgetComponentRenderPrimitiveTypeCone](/server-editor/classes/WidgetComponentRenderPrimitiveTypeCone.md): component Beta - [WidgetComponentRenderPrimitiveTypeCuboid](/server-editor/classes/WidgetComponentRenderPrimitiveTypeCuboid.md): component Beta - [WidgetComponentRenderPrimitiveTypeCylinder](/server-editor/classes/WidgetComponentRenderPrimitiveTypeCylinder.md): component Beta - [WidgetComponentRenderPrimitiveTypeDisc](/server-editor/classes/WidgetComponentRenderPrimitiveTypeDisc.md): component Beta - [WidgetComponentRenderPrimitiveTypeEllipsoid](/server-editor/classes/WidgetComponentRenderPrimitiveTypeEllipsoid.md): component Beta - [WidgetComponentRenderPrimitiveTypeLine](/server-editor/classes/WidgetComponentRenderPrimitiveTypeLine.md): component Beta - [WidgetComponentRenderPrimitiveTypePyramid](/server-editor/classes/WidgetComponentRenderPrimitiveTypePyramid.md): component Beta - [WidgetComponentRenderPrimitiveTypeWireframeMesh](/server-editor/classes/WidgetComponentRenderPrimitiveTypeWireframeMesh.md): component Beta - [WidgetComponentSpline](/server-editor/classes/WidgetComponentSpline.md): component Beta - [WidgetComponentText](/server-editor/classes/WidgetComponentText.md): component Beta - [WidgetComponentVolumeOutline](/server-editor/classes/WidgetComponentVolumeOutline.md): component Beta - [WidgetGroup](/server-editor/classes/WidgetGroup.md): Beta - [WidgetManager](/server-editor/classes/WidgetManager.md): Beta - [WidgetMouseButtonEventData](/server-editor/classes/WidgetMouseButtonEventData.md): event Beta - [WidgetStateChangeEventData](/server-editor/classes/WidgetStateChangeEventData.md): event Beta - [ActionTypes](/server-editor/enums/ActionTypes.md): Beta The types of actions that are supported. This type corresponds to the expected arguments passed by the onExecute handler of an action. - [AudioSettingsProperty](/server-editor/enums/AudioSettingsProperty.md): Beta - [Axis](/server-editor/enums/Axis.md): Beta - [BlockMaskListType](/server-editor/enums/BlockMaskListType.md): block Beta - [BlockPaletteItemType](/server-editor/enums/BlockPaletteItemType.md): item block Beta - [BlockTableOperationType](/server-editor/enums/BlockTableOperationType.md): block Beta The possible operation types supported by BlockTable property item. - [BlockUtilityExtrudeDirection](/server-editor/enums/BlockUtilityExtrudeDirection.md): block Beta - [BlockUtilityFloodMatchCriteria](/server-editor/enums/BlockUtilityFloodMatchCriteria.md): block Beta - [BoolPropertyItemVariant](/server-editor/enums/BoolPropertyItemVariant.md): Beta The possible variants of a bool. - [BrushDirectionalPlacementMode](/server-editor/enums/BrushDirectionalPlacementMode.md): Beta - [BrushElevationMode](/server-editor/enums/BrushElevationMode.md): Beta - [ButtonVariant](/server-editor/enums/ButtonVariant.md): Beta The possible variants of a Button property item. - [CollectionTreeEntryItemType](/server-editor/enums/CollectionTreeEntryItemType.md): item Beta - [CollectionTreeSortType](/server-editor/enums/CollectionTreeSortType.md): Beta Determines how collection tree folders will be sorted - [ColorPickerPropertyItemVariant](/server-editor/enums/ColorPickerPropertyItemVariant.md): Beta The possible variants of a color picker. - [ComboBoxPropertyItemDataType](/server-editor/enums/ComboBoxPropertyItemDataType.md): Beta The possible data types supported by ComboBox property item. - [ContiguousSelectionType](/server-editor/enums/ContiguousSelectionType.md): Beta - [ContinuousActionState](/server-editor/enums/ContinuousActionState.md): Beta Execution state of the continuous action - [CoreActionBarItemType](/server-editor/enums/CoreActionBarItemType.md): item Beta Predefined action bar items - [CoreBrushShapeType](/server-editor/enums/CoreBrushShapeType.md): Beta Core brush shape types - [CoreInputBindingCategory](/server-editor/enums/CoreInputBindingCategory.md): Beta Built-in control categories for use with KeyBindingInfo.bindingCategory. Pass any CoreInputBindingCategory value or a custom string to categorize a binding. - [CoreMenuType](/server-editor/enums/CoreMenuType.md): Beta Predefined top level menus for core editor - [CoreModalDialogType](/server-editor/enums/CoreModalDialogType.md): Beta - [CursorControlMode](/server-editor/enums/CursorControlMode.md): Beta An enumeration used by the 3D block cursor Cursor - [CursorTargetMode](/server-editor/enums/CursorTargetMode.md): Beta Describes how the cursor targets a point on the screen. - [DataPickerModalDialogVariant](/server-editor/enums/DataPickerModalDialogVariant.md): Beta - [DaylightCycle](/server-editor/enums/DaylightCycle.md): Beta - [EditorInputContext](/server-editor/enums/EditorInputContext.md): Beta Global editor input contexts - [EditorMode](/server-editor/enums/EditorMode.md): Beta Enumeration representing the different modes Editor can be in. - [EntityOperationType](/server-editor/enums/EntityOperationType.md): entity Beta - [ExportResult](/server-editor/enums/ExportResult.md): Beta - [FlattenMode](/server-editor/enums/FlattenMode.md): Beta - [GamePublishSetting](/server-editor/enums/GamePublishSetting.md): Beta - [GraphicsSettingsProperty](/server-editor/enums/GraphicsSettingsProperty.md): Beta Enumeration representing identifiers for graphics settings properties. - [ImageResourceType](/server-editor/enums/ImageResourceType.md): Beta Supported image types. - [InputModifier](/server-editor/enums/InputModifier.md): Beta Input modifier flags to create chorded bindings - [KeyProcessingState](/server-editor/enums/KeyProcessingState.md): Beta Determines how key binding should be processed to fire actions - [KeyboardKey](/server-editor/enums/KeyboardKey.md): Beta Keyboard key - [LayoutAlignment](/server-editor/enums/LayoutAlignment.md): Beta Alignment options for UI elements - [LayoutFlex](/server-editor/enums/LayoutFlex.md): Beta Flexible layout types - [LayoutSizeType](/server-editor/enums/LayoutSizeType.md): Beta Layout size types - [ListPaneEntryType](/server-editor/enums/ListPaneEntryType.md): Beta - [ListPaneSlotVariant](/server-editor/enums/ListPaneSlotVariant.md): Beta Determines theming variation for the list slot - [ListPaneViewSortType](/server-editor/enums/ListPaneViewSortType.md): Beta Determines how list pane slots will be sorted - [ListViewControlFilterFlags](/server-editor/enums/ListViewControlFilterFlags.md): Beta - [LogChannel](/server-editor/enums/LogChannel.md): Beta - [MinimapMarkerType](/server-editor/enums/MinimapMarkerType.md): Beta - [MinimapTrackingMode](/server-editor/enums/MinimapTrackingMode.md): Beta - [MinimapViewType](/server-editor/enums/MinimapViewType.md): Beta - [ModalDialogResponseType](/server-editor/enums/ModalDialogResponseType.md): Beta Common response types for modal dialog - [ModalDialogType](/server-editor/enums/ModalDialogType.md): Beta - [MouseActionCategory](/server-editor/enums/MouseActionCategory.md): Beta Mouse device action categories - [MouseActionType](/server-editor/enums/MouseActionType.md): Beta Detailed mouse device actions - [MouseCursorIconType](/server-editor/enums/MouseCursorIconType.md): Beta - [MouseInputType](/server-editor/enums/MouseInputType.md): Beta Input event information about mouse actions - [NumberPropertyItemVariant](/server-editor/enums/NumberPropertyItemVariant.md): Beta The possible variants of a Number property item. - [PaintCompletionState](/server-editor/enums/PaintCompletionState.md): Beta - [PaintMode](/server-editor/enums/PaintMode.md): Beta - [PaneLayoutType](/server-editor/enums/PaneLayoutType.md): Beta Layout directions for property panes. - [Plane](/server-editor/enums/Plane.md): Beta - [PlaytestSessionResult](/server-editor/enums/PlaytestSessionResult.md): Beta - [PrimitiveType](/server-editor/enums/PrimitiveType.md): Beta - [ProgressIndicatorPropertyItemVariant](/server-editor/enums/ProgressIndicatorPropertyItemVariant.md): Beta The possible variants of a ProgressIndicator property item. - [ProjectExportType](/server-editor/enums/ProjectExportType.md): Beta - [PropertyItemType](/server-editor/enums/PropertyItemType.md): item Beta Type of item that can be added to the property pane - [RenderPlaneGridResolution](/server-editor/enums/RenderPlaneGridResolution.md): Beta - [RootPaneLocation](/server-editor/enums/RootPaneLocation.md): Beta Determines the location root pane will be displayed in - [SelectionVolumeEventType](/server-editor/enums/SelectionVolumeEventType.md): event Beta - [SpeedSettingsProperty](/server-editor/enums/SpeedSettingsProperty.md): Beta - [SplineType](/server-editor/enums/SplineType.md): Beta - [StatusBarAlignment](/server-editor/enums/StatusBarAlignment.md): Beta Position for items on the status bar - [StructureSource](/server-editor/enums/StructureSource.md): Beta - [TagContainerVariant](/server-editor/enums/TagContainerVariant.md): inventory Beta The possible variants of a TagContainer property item. - [ThemeSettingsColorKey](/server-editor/enums/ThemeSettingsColorKey.md): Beta - [TimelinePlayerPlaybackState](/server-editor/enums/TimelinePlayerPlaybackState.md): player Beta Playback state for Timeline Player property item. - [TransactionProcessState](/server-editor/enums/TransactionProcessState.md): Beta - [WidgetCollisionType](/server-editor/enums/WidgetCollisionType.md): Beta - [WidgetComponentType](/server-editor/enums/WidgetComponentType.md): component Beta - [WidgetGizmoEventType](/server-editor/enums/WidgetGizmoEventType.md): event Beta - [WidgetGizmoScaleMode](/server-editor/enums/WidgetGizmoScaleMode.md): Beta - [WidgetGroupSelectionMode](/server-editor/enums/WidgetGroupSelectionMode.md): Beta - [WidgetMouseButtonActionType](/server-editor/enums/WidgetMouseButtonActionType.md): Beta - [WorldGeneratorType](/server-editor/enums/WorldGeneratorType.md): world Beta - [deserialize](/server-editor/functions/deserialize.md): deserialize(s): unknown Beta - [executeLargeOperation](/server-editor/functions/executeLargeOperation.md): executeLargeOperation(volume, operation): Promise Beta - [executeLargeOperationFromIterator](/server-editor/functions/executeLargeOperationFromIterator.md): executeLargeOperationFromIterator(blockLocationIterator, operation): Promise Beta - [getDefaultAllowBlockList](/server-editor/functions/getDefaultAllowBlockList.md): block getDefaultAllowBlockList(): string[] Beta - [getDefaultBrushShapes](/server-editor/functions/getDefaultBrushShapes.md): getDefaultBrushShapes(excludeList?): BrushShape[] Beta - [makeObservable](/server-editor/functions/makeObservable.md): makeObservable(initialValue, validator?): IObservable Beta - [registerEditorExtension](/server-editor/functions/registerEditorExtension.md): registerEditorExtension(extensionName, activationFunction, shutdownFunction, options?): Extension Beta - [registerSerializationForType](/server-editor/functions/registerSerializationForType.md): registerSerializationForType(typeConstructor, name, serializer, deserializer): void Beta - [registerUserDefinedTransactionHandler](/server-editor/functions/registerUserDefinedTransactionHandler.md): registerUserDefinedTransactionHandler(transactionManager, undoHandler, redoHandler): UserDefinedTransactionHandle Beta - [serialize](/server-editor/functions/serialize.md): serialize(obj): string Beta - [stringFromException](/server-editor/functions/stringFromException.md): stringFromException(e): string Beta - [Module: server-editor](/server-editor/index.md): Beta Manifest Details - [ActionManager](/server-editor/interfaces/ActionManager.md): Beta Binds actions to the client and manages their lifetime. Action managers are managed on a per player basis since client side UI is per player. - [BlockMaskList](/server-editor/interfaces/BlockMaskList.md): block Beta - [BlockUtilityManifest](/server-editor/interfaces/BlockUtilityManifest.md): block Beta - [BlockUtilityManifestEntry](/server-editor/interfaces/BlockUtilityManifestEntry.md): block Beta - [BuiltInUIManager](/server-editor/interfaces/BuiltInUIManager.md): Beta Represents a UI session for a given player - [ClipboardWriteOptions](/server-editor/interfaces/ClipboardWriteOptions.md): Beta Interface used to specify the options when a clipboard item is being written to the world - [ConeBrushShapeSettings](/server-editor/interfaces/ConeBrushShapeSettings.md): Beta Settings for Cone brush shapes - [ContiguousSelectionProperties](/server-editor/interfaces/ContiguousSelectionProperties.md): Beta - [CuboidBrushShapeSettings](/server-editor/interfaces/CuboidBrushShapeSettings.md): Beta Settings for Cuboid brush shapes - [CursorPosition](/server-editor/interfaces/CursorPosition.md): Beta - [CursorProperties](/server-editor/interfaces/CursorProperties.md): Beta The CursorProperties interface is used to describe the properties of the Editor 3D block cursor construct. The 3D block cursor can be queried to retrieve the current properties, and the same property class can be used to set the current properties of the cursor. This interface is generally used at the activation stage of the active tool to set up the color, visibility and input properties of the 3D block cursor - [CursorRay](/server-editor/interfaces/CursorRay.md): Beta - [CylinderBrushShapeSettings](/server-editor/interfaces/CylinderBrushShapeSettings.md): Beta Settings for Cylinder brush shapes - [EditorStructureSearchOptions](/server-editor/interfaces/EditorStructureSearchOptions.md): Beta - [EllipsoidBrushShapeSettings](/server-editor/interfaces/EllipsoidBrushShapeSettings.md): Beta Settings for Ellipsoid brush shapes - [EventSink](/server-editor/interfaces/EventSink.md): event Beta An event that can be subscribed to. You can use the token, returned from the subscribe method, to clean up handlers. - [ExtensionOptionalParameters](/server-editor/interfaces/ExtensionOptionalParameters.md): Beta An interface which defines the set of optional parameters which can be used when calling the registerEditorExtension function - [GameOptions](/server-editor/interfaces/GameOptions.md): Beta - [GuidePlane](/server-editor/interfaces/GuidePlane.md): Beta - [IActionBar](/server-editor/interfaces/IActionBar.md): Beta Manager for IActionBarItem objects. - [IActionBarItem](/server-editor/interfaces/IActionBarItem.md): Beta Registered item handle in the Action Bar collection. - [IActionBarItemCreationParams](/server-editor/interfaces/IActionBarItemCreationParams.md): Beta Properties required to create an Action Bar item. - [IBlockListPropertyItem](/server-editor/interfaces/IBlockListPropertyItem.md): Beta A property item which supports block list properties - [IBlockListPropertyItemOptions](/server-editor/interfaces/IBlockListPropertyItemOptions.md): Beta Optional properties for Bool property item - [IBlockTableEntryInfo](/server-editor/interfaces/IBlockTableEntryInfo.md): Beta Block Table Entry info for block table property item - [IBlockTablePropertyItem](/server-editor/interfaces/IBlockTablePropertyItem.md): Beta A property item which supports Block Table properties - [IBlockTablePropertyItemOptions](/server-editor/interfaces/IBlockTablePropertyItemOptions.md): Beta Properties of block table item - [IBoolPropertyItem](/server-editor/interfaces/IBoolPropertyItem.md): Beta A property item which supports boolean properties - [IBoolPropertyItemOptions](/server-editor/interfaces/IBoolPropertyItemOptions.md): Beta Optional properties for Bool property item - [IButtonPanePropertyItem](/server-editor/interfaces/IButtonPanePropertyItem.md): Beta A property item pane which supports multiple buttons - [IButtonPanePropertyItemOptions](/server-editor/interfaces/IButtonPanePropertyItemOptions.md): Beta Optional properties for Button Pane property item - [IButtonPropertyItem](/server-editor/interfaces/IButtonPropertyItem.md): Beta A property item which supports Button properties - [IButtonPropertyItemOptions](/server-editor/interfaces/IButtonPropertyItemOptions.md): Beta Optional properties for Button property item - [ICollectionTreeEntry](/server-editor/interfaces/ICollectionTreeEntry.md): Beta - [ICollectionTreeEntryDropdownItem](/server-editor/interfaces/ICollectionTreeEntryDropdownItem.md): Beta - [ICollectionTreeEntryItem](/server-editor/interfaces/ICollectionTreeEntryItem.md): Beta - [ICollectionTreeEntryNumberItem](/server-editor/interfaces/ICollectionTreeEntryNumberItem.md): Beta - [ICollectionTreeEntryStringItem](/server-editor/interfaces/ICollectionTreeEntryStringItem.md): Beta - [ICollectionTreeFolder](/server-editor/interfaces/ICollectionTreeFolder.md): Beta Container for collection items - [ICollectionTreePropertyItem](/server-editor/interfaces/ICollectionTreePropertyItem.md): Beta A property item which supports creating nested folders of collection items - [ICollectionTreePropertyItemOptions](/server-editor/interfaces/ICollectionTreePropertyItemOptions.md): Beta Optional properties for Collection Tree Pane property item - [ICollectionTreeViewControlPaneOptions](/server-editor/interfaces/ICollectionTreeViewControlPaneOptions.md): Beta - [IColorPickerPropertyItem](/server-editor/interfaces/IColorPickerPropertyItem.md): Beta A property item which supports Color Picker properties - [IColorPickerPropertyItemOptions](/server-editor/interfaces/IColorPickerPropertyItemOptions.md): Beta Optional properties for Color Picker property item - [IColorTimelinePropertyItem](/server-editor/interfaces/IColorTimelinePropertyItem.md): Beta A property item which supports Color Timeline properties - [IColorTimelinePropertyItemEntry](/server-editor/interfaces/IColorTimelinePropertyItemEntry.md): Beta Properties of color timeline property item entry - [IColorTimelinePropertyItemOptions](/server-editor/interfaces/IColorTimelinePropertyItemOptions.md): Beta Optional properties for Color Timeline property item - [IComboBoxPropertyItem](/server-editor/interfaces/IComboBoxPropertyItem.md): Beta A property item which supports Combo Box properties - [IComboBoxPropertyItemEntry](/server-editor/interfaces/IComboBoxPropertyItemEntry.md): Beta Properties of toggle group property item list entry - [IComboBoxPropertyItemOptions](/server-editor/interfaces/IComboBoxPropertyItemOptions.md): Beta Optional properties for ComboBox property item - [IContentBadgeManager](/server-editor/interfaces/IContentBadgeManager.md): Beta - [IDataTablePropertyItem](/server-editor/interfaces/IDataTablePropertyItem.md): Beta A property item which supports data entries displayed in a table - [IDataTablePropertyItemEntry](/server-editor/interfaces/IDataTablePropertyItemEntry.md): Beta Properties of data table property item menu entry - [IDataTablePropertyItemOptions](/server-editor/interfaces/IDataTablePropertyItemOptions.md): Beta Properties of data table item - [IDisposable](/server-editor/interfaces/IDisposable.md): Beta Simple abstraction for disposable objects. - [IDividerPropertyItemOptions](/server-editor/interfaces/IDividerPropertyItemOptions.md): Beta Optional properties for Divider property item - [IDropdownPropertyItem](/server-editor/interfaces/IDropdownPropertyItem.md): Beta A property item which supports Dropdown properties - [IDropdownPropertyItemEntry](/server-editor/interfaces/IDropdownPropertyItemEntry.md): Beta Properties of dropdown property item menu entry - [IDropdownPropertyItemOptions](/server-editor/interfaces/IDropdownPropertyItemOptions.md): Beta Optional properties for Dropdown property item - [IEventToken](/server-editor/interfaces/IEventToken.md): Beta Returned from an event subscription. Provides functionality for cleaning up listeners - [IGlobalInputManager](/server-editor/interfaces/IGlobalInputManager.md): Beta - [IImagePropertyItem](/server-editor/interfaces/IImagePropertyItem.md): Beta A property item which supports Image properties - [IImagePropertyItemOptions](/server-editor/interfaces/IImagePropertyItemOptions.md): Beta Optional properties for Image property item - [IIntroductionPane](/server-editor/interfaces/IIntroductionPane.md): Beta A root pane that can store property items. - [IIntroductionPaneOptions](/server-editor/interfaces/IIntroductionPaneOptions.md): Beta The options to create introduction pane. - [ILinkPropertyItem](/server-editor/interfaces/ILinkPropertyItem.md): Beta A property item which supports Link properties - [ILinkPropertyItemOptions](/server-editor/interfaces/ILinkPropertyItemOptions.md): Beta Optional properties for Link property item - [IListPaneBoolEntry](/server-editor/interfaces/IListPaneBoolEntry.md): Beta List Pane button entry - [IListPaneButtonEntry](/server-editor/interfaces/IListPaneButtonEntry.md): Beta List Pane button entry - [IListPaneEntry](/server-editor/interfaces/IListPaneEntry.md): Beta List Pane entry - [IListPaneImageEntry](/server-editor/interfaces/IListPaneImageEntry.md): Beta List Pane image entry - [IListPanePropertyItem](/server-editor/interfaces/IListPanePropertyItem.md): Beta A property item which supports Sub Pane properties - [IListPanePropertyItemOptions](/server-editor/interfaces/IListPanePropertyItemOptions.md): Beta Optional properties for List Pane property item - [IListPaneSlot](/server-editor/interfaces/IListPaneSlot.md): Beta List Pane slot - [IListPaneSlotOptions](/server-editor/interfaces/IListPaneSlotOptions.md): Beta List Pane slot optional properties - [IListPaneTextEntry](/server-editor/interfaces/IListPaneTextEntry.md): Beta List Pane text entry - [IListPaneViewControlPaneOptions](/server-editor/interfaces/IListPaneViewControlPaneOptions.md): Beta - [IListViewControlPane](/server-editor/interfaces/IListViewControlPane.md): Beta - [IListViewControlPaneOptions](/server-editor/interfaces/IListViewControlPaneOptions.md): Beta - [IMenu](/server-editor/interfaces/IMenu.md): Beta - [IMenuContainer](/server-editor/interfaces/IMenuContainer.md): inventory Beta Manager and container for IMenu objects - [IMenuCreationParams](/server-editor/interfaces/IMenuCreationParams.md): Beta Properties required to create a Menu - [IMenuPropertyItem](/server-editor/interfaces/IMenuPropertyItem.md): Beta A property item which supports Menu properties - [IMenuPropertyItemOptions](/server-editor/interfaces/IMenuPropertyItemOptions.md): Beta Optional properties for Menu property item - [IMinimapPropertyItem](/server-editor/interfaces/IMinimapPropertyItem.md): Beta A property item which supports Minimap properties - [IMinimapPropertyItemOptions](/server-editor/interfaces/IMinimapPropertyItemOptions.md): Beta Optional properties for Minimap property item - [IModalControlPane](/server-editor/interfaces/IModalControlPane.md): Beta A sub pane for modal control elements. - [IModalDialog](/server-editor/interfaces/IModalDialog.md): Beta - [IModalDialogActivationRequest](/server-editor/interfaces/IModalDialogActivationRequest.md): Beta Represents modal dialog state for the specific activation request - [IModalDialogManager](/server-editor/interfaces/IModalDialogManager.md): Beta - [IModalOverlayPane](/server-editor/interfaces/IModalOverlayPane.md): Beta A modal overlay pane is displayed over a root pane. - [IModalOverlayPaneOptions](/server-editor/interfaces/IModalOverlayPaneOptions.md): Beta The options to create a modal overlay pane. - [IModalTool](/server-editor/interfaces/IModalTool.md): Beta - [IModalToolContainer](/server-editor/interfaces/IModalToolContainer.md): inventory Beta - [INumberPropertyItem](/server-editor/interfaces/INumberPropertyItem.md): Beta A property item which supports Number properties - [INumberPropertyItemOptions](/server-editor/interfaces/INumberPropertyItemOptions.md): Beta Optional properties for Number property item - [INumberTimelinePropertyItem](/server-editor/interfaces/INumberTimelinePropertyItem.md): Beta A property item which supports Number Timeline properties - [INumberTimelinePropertyItemEntry](/server-editor/interfaces/INumberTimelinePropertyItemEntry.md): Beta Properties of the Number timeline property item entry - [INumberTimelinePropertyItemOptions](/server-editor/interfaces/INumberTimelinePropertyItemOptions.md): Beta Optional properties for Number Timeline property item - [IObservable](/server-editor/interfaces/IObservable.md): Beta Represents a stateful value that can be observed by different objects. - [IPane](/server-editor/interfaces/IPane.md): Beta Pane represents a container for UI components. - [IPaneManager](/server-editor/interfaces/IPaneManager.md): Beta Manager for creating and controlling property panes. - [IPlayerLogger](/server-editor/interfaces/IPlayerLogger.md): Beta Log helper interface for Player. - [IPlayerLoggerProperties](/server-editor/interfaces/IPlayerLoggerProperties.md): Beta Player Logger Properties. - [IProgressIndicatorPropertyItem](/server-editor/interfaces/IProgressIndicatorPropertyItem.md): Beta A property item which supports ProgressIndicator properties - [IProgressIndicatorPropertyItemOptions](/server-editor/interfaces/IProgressIndicatorPropertyItemOptions.md): Beta Optional properties for progress indicator property item - [IPropertyItemBase](/server-editor/interfaces/IPropertyItemBase.md): Beta Common base for all property items - [IPropertyItemOptionsBase](/server-editor/interfaces/IPropertyItemOptionsBase.md): Beta Common optional properties for property items - [IPropertyPane](/server-editor/interfaces/IPropertyPane.md): Beta Property pane present dynamic content. It can be associated with an object and presented with different kind of controls. - [IPropertyPaneOptions](/server-editor/interfaces/IPropertyPaneOptions.md): Beta Common optional properties used for constructing a property pane. - [IRegisterExtensionOptionalParameters](/server-editor/interfaces/IRegisterExtensionOptionalParameters.md): Beta Optional parameter definition for RegisterEditorExtension function Allows the extension registrar to specify optional textual description and notes which would be visible through the extension manager - [IRegisteredKeyBinding](/server-editor/interfaces/IRegisteredKeyBinding.md): Beta Key binding that is registered to an input context - [IRootPropertyPane](/server-editor/interfaces/IRootPropertyPane.md): Beta A root pane that can store property items. - [IRootPropertyPaneHeaderAction](/server-editor/interfaces/IRootPropertyPaneHeaderAction.md): Beta Represents the data to display an action button on a root property pane header. - [IRootPropertyPaneOptions](/server-editor/interfaces/IRootPropertyPaneOptions.md): Beta The options to create a root pane. - [IStatusBar](/server-editor/interfaces/IStatusBar.md): Beta Manager and container for IStatusBarItem objects - [IStatusBarItem](/server-editor/interfaces/IStatusBarItem.md): Beta - [IStatusBarItemCreationParams](/server-editor/interfaces/IStatusBarItemCreationParams.md): Beta Properties required to create a status bar item - [IStringPropertyItem](/server-editor/interfaces/IStringPropertyItem.md): Beta A property item which supports String properties - [IStringPropertyItemOptions](/server-editor/interfaces/IStringPropertyItemOptions.md): Beta Optional properties for String property item - [ISubPanePropertyItem](/server-editor/interfaces/ISubPanePropertyItem.md): Beta A property item which supports Sub Pane properties - [ISubPanePropertyItemOptions](/server-editor/interfaces/ISubPanePropertyItemOptions.md): Beta Optional properties for Sub Pane property item - [ITagContainerPropertyItem](/server-editor/interfaces/ITagContainerPropertyItem.md): inventory Beta A property item which supports Tag Container properties - [ITagContainerPropertyItemOptions](/server-editor/interfaces/ITagContainerPropertyItemOptions.md): inventory Beta Optional properties for Tag Container property item - [ITextPropertyItem](/server-editor/interfaces/ITextPropertyItem.md): Beta A property item which supports Text properties - [ITextPropertyItemOptions](/server-editor/interfaces/ITextPropertyItemOptions.md): Beta Optional properties for Text property item - [ITimelinePlayer](/server-editor/interfaces/ITimelinePlayer.md): player Beta A pane that hosts a single playhead and a collection of timeline entries that share it - [ITimelinePlayerEntry](/server-editor/interfaces/ITimelinePlayerEntry.md): player Beta Common interface for all entries owned by a Timeline Player pane - [ITimelinePlayerGroup](/server-editor/interfaces/ITimelinePlayerGroup.md): player Beta A group entry shown in a Timeline Player's group dropdown - [ITimelinePlayerOptions](/server-editor/interfaces/ITimelinePlayerOptions.md): player Beta Optional properties for a Timeline Player pane - [IToggleGroupPropertyItem](/server-editor/interfaces/IToggleGroupPropertyItem.md): Beta A property item which supports toggle button properties - [IToggleGroupPropertyItemEntry](/server-editor/interfaces/IToggleGroupPropertyItemEntry.md): Beta Properties of toggle group property item list entry - [IToggleGroupPropertyItemOptions](/server-editor/interfaces/IToggleGroupPropertyItemOptions.md): Beta Optional properties for Toggle Group property item - [IVector2PropertyItem](/server-editor/interfaces/IVector2PropertyItem.md): Beta A property item which supports Vector2 properties - [IVector2PropertyItemOptions](/server-editor/interfaces/IVector2PropertyItemOptions.md): Beta Optional properties for Vector2 property item - [IVector3Keyframe](/server-editor/interfaces/IVector3Keyframe.md): Beta A keyframe in a Vector3 Timeline Player entry - [IVector3PropertyItem](/server-editor/interfaces/IVector3PropertyItem.md): Beta A property item which supports Vector3 properties - [IVector3PropertyItemOptions](/server-editor/interfaces/IVector3PropertyItemOptions.md): Beta Optional properties for Vector3 property item - [IVector3TimelinePlayerEntry](/server-editor/interfaces/IVector3TimelinePlayerEntry.md): player Beta A Vector3 timeline entry owned by a Timeline Player pane - [IVector3TimelinePlayerEntryOptions](/server-editor/interfaces/IVector3TimelinePlayerEntryOptions.md): player Beta Optional properties for a Vector3 timeline entry inside a Timeline Player pane - [IVector3TimelinePropertyItem](/server-editor/interfaces/IVector3TimelinePropertyItem.md): Beta A property item which supports Vector3 Timeline properties - [IVector3TimelinePropertyItemEntry](/server-editor/interfaces/IVector3TimelinePropertyItemEntry.md): Beta Properties of vector3 timeline property item entry - [IVector3TimelinePropertyItemOptions](/server-editor/interfaces/IVector3TimelinePropertyItemOptions.md): Beta Optional properties for Vector3 Timeline property item - [IntroductionPaneTabProps](/server-editor/interfaces/IntroductionPaneTabProps.md): Beta Properties for introduction pane tab. - [LocalizationEntry](/server-editor/interfaces/LocalizationEntry.md): Beta - [LogProperties](/server-editor/interfaces/LogProperties.md): Beta A properties class for the global instance of the logger object. While the logger object is available through the ExtensionContext - using the global instance allows the creator to use this properties class to perform direct server->client messaging and broadcasts. - [MinimapCreateOptions](/server-editor/interfaces/MinimapCreateOptions.md): Beta - [MinimapMarkerData](/server-editor/interfaces/MinimapMarkerData.md): Beta - [ModalDialogCreationParams](/server-editor/interfaces/ModalDialogCreationParams.md): Beta Represents parameters to create a modal dialog - [ModalToolCreationParameters](/server-editor/interfaces/ModalToolCreationParameters.md): Beta Parameters for creating a modal tool in the tool container - [ProjectExportOptions](/server-editor/interfaces/ProjectExportOptions.md): Beta - [PyramidBrushShapeSettings](/server-editor/interfaces/PyramidBrushShapeSettings.md): Beta Settings for Pyramid brush shapes - [QuickExtrudeProperties](/server-editor/interfaces/QuickExtrudeProperties.md): Beta - [SelectionManifestData](/server-editor/interfaces/SelectionManifestData.md): Beta - [SelectionManifestEntry](/server-editor/interfaces/SelectionManifestEntry.md): Beta - [WeightedBlock](/server-editor/interfaces/WeightedBlock.md): block Beta - [WidgetComponentBaseOptions](/server-editor/interfaces/WidgetComponentBaseOptions.md): component Beta - [WidgetComponentBoundingBoxLimit](/server-editor/interfaces/WidgetComponentBoundingBoxLimit.md): component Beta - [WidgetComponentBoundingBoxOptions](/server-editor/interfaces/WidgetComponentBoundingBoxOptions.md): component Beta - [WidgetComponentClipboardOptions](/server-editor/interfaces/WidgetComponentClipboardOptions.md): component Beta - [WidgetComponentEntityOptions](/server-editor/interfaces/WidgetComponentEntityOptions.md): entity component Beta - [WidgetComponentGizmoOptions](/server-editor/interfaces/WidgetComponentGizmoOptions.md): component Beta - [WidgetComponentGridOptions](/server-editor/interfaces/WidgetComponentGridOptions.md): component Beta - [WidgetComponentGuideOptions](/server-editor/interfaces/WidgetComponentGuideOptions.md): component Beta - [WidgetComponentRenderPlaneOptions](/server-editor/interfaces/WidgetComponentRenderPlaneOptions.md): component Beta - [WidgetComponentRenderPrimitiveOptions](/server-editor/interfaces/WidgetComponentRenderPrimitiveOptions.md): component Beta - [WidgetComponentSplineOptions](/server-editor/interfaces/WidgetComponentSplineOptions.md): component Beta - [WidgetComponentTextOptions](/server-editor/interfaces/WidgetComponentTextOptions.md): component Beta - [WidgetComponentVolumeOutlineOptions](/server-editor/interfaces/WidgetComponentVolumeOutlineOptions.md): component Beta - [WidgetCreateOptions](/server-editor/interfaces/WidgetCreateOptions.md): Beta - [WidgetGroupCreateOptions](/server-editor/interfaces/WidgetGroupCreateOptions.md): Beta - [WireframeMeshOptions](/server-editor/interfaces/WireframeMeshOptions.md): Beta - [Action](/server-editor/types/Action.md): Action = NoArgsAction | MouseRayCastAction | StatefulAction | ContinuousAction Beta Full set of all possible raw actions - [ActionID](/server-editor/types/ActionID.md): ActionID = object Beta All actions have a unique identifier. Identifiers are globally unique and often GUIDs - [ActivationFunctionType](/server-editor/types/ActivationFunctionType.md): ActivationFunctionType = (uiSession) => IDisposable[] Beta Callback type when an extension instance is activated for a given player. It is expected to return an array of disposables that will automatically be cleaned up on shutdown. - [AudioSettingsPropertyTypeMap](/server-editor/types/AudioSettingsPropertyTypeMap.md): AudioSettingsPropertyTypeMap = object Beta - [BasicTooltipContent](/server-editor/types/BasicTooltipContent.md): BasicTooltipContent = LocalizedString | TooltipContent Beta Possible tooltip types - [BrushShapeSettings](/server-editor/types/BrushShapeSettings.md): BrushShapeSettings = ConeBrushShapeSettings | CuboidBrushShapeSettings | CylinderBrushShapeSettings | EllipsoidBrushShapeSettings | PyramidBrushShapeSettings | undefined Beta Setting types for all brush shapes - [ButtonPropertyItemSupportedActionTypes](/server-editor/types/ButtonPropertyItemSupportedActionTypes.md): ButtonPropertyItemSupportedActionTypes = (() => void) | RegisteredAction Beta All possible button item action types - [ContinuousAction](/server-editor/types/ContinuousAction.md): ContinuousAction = object Beta An action that continues to execute after activation - [EventHandler](/server-editor/types/EventHandler.md): event EventHandler = (eventArg) => void Beta A generic handler for an event sink. - [GraphicsSettingsPropertyTypeMap](/server-editor/types/GraphicsSettingsPropertyTypeMap.md): GraphicsSettingsPropertyTypeMap = object Beta Defines type information for graphics settings properties. - [ICollectionTreeEntryDropdownItemMenuOption](/server-editor/types/ICollectionTreeEntryDropdownItemMenuOption.md): ICollectionTreeEntryDropdownItemMenuOption = object Beta Menu options for the collection tree entry dropdown item - [ICollectionTreeEntryDropdownItemParams](/server-editor/types/ICollectionTreeEntryDropdownItemParams.md): ICollectionTreeEntryDropdownItemParams = object Beta Parameters to create dropdown in a collection tree entry - [ICollectionTreeEntryNumberItemParams](/server-editor/types/ICollectionTreeEntryNumberItemParams.md): ICollectionTreeEntryNumberItemParams = object Beta Parameters to create number field in a collection tree entry - [ICollectionTreeEntryOptions](/server-editor/types/ICollectionTreeEntryOptions.md): ICollectionTreeEntryOptions = object Beta Options to create an entry in a collection tree folder - [ICollectionTreeEntryStringItemParams](/server-editor/types/ICollectionTreeEntryStringItemParams.md): ICollectionTreeEntryStringItemParams = object Beta Parameters to create string field in a collection tree entry - [ICollectionTreeFolderHeaderActionParams](/server-editor/types/ICollectionTreeFolderHeaderActionParams.md): ICollectionTreeFolderHeaderActionParams = object Beta Parameters to create an action button on the folder header - [ICollectionTreeFolderOptions](/server-editor/types/ICollectionTreeFolderOptions.md): ICollectionTreeFolderOptions = object Beta Contains collection folders and entries - [IObservableProp](/server-editor/types/IObservableProp.md): IObservableProp = IObservable | T Beta Type that can be an observable or a value. - [IPlayerUISession](/server-editor/types/IPlayerUISession.md): IPlayerUISession = object Beta The IPlayerUISession represents the editor user interface for a given player and given extension. Extensions registered with Minecraft are instantiated for each player which joins a server, and this interface provides the set of functionality needed to create and modify the editor UI for that player. The associated Editor Context for this session object is also player specific. From a given IPlayerUISession object, there is no way to interact with the UI of another player, that must be done from global extension scope registration and/or data sharing independent of the UI object. - [ImageAnimationData](/server-editor/types/ImageAnimationData.md): animation ImageAnimationData = object Beta Animation properties for a horizontally laid out sprite sheet image - [ImageResourceData](/server-editor/types/ImageResourceData.md): ImageResourceData = object Beta - [KeyBinding](/server-editor/types/KeyBinding.md): KeyBinding = object Beta Keyboard binding properties. - [KeyBindingInfo](/server-editor/types/KeyBindingInfo.md): KeyBindingInfo = object Beta Additional information about key binding. - [LayoutSize](/server-editor/types/LayoutSize.md): LayoutSize = object Beta Layout size definition - [ListPaneBoolEntryParams](/server-editor/types/ListPaneBoolEntryParams.md): ListPaneBoolEntryParams = object Beta List Pane Bool entry creation parameter - [ListPaneButtonEntryParams](/server-editor/types/ListPaneButtonEntryParams.md): ListPaneButtonEntryParams = object Beta List Pane Button entry creation parameter - [ListPaneEntryMap](/server-editor/types/ListPaneEntryMap.md): ListPaneEntryMap = object Beta List Pane entry type map - [ListPaneEntryParams](/server-editor/types/ListPaneEntryParams.md): ListPaneEntryParams = ListPaneButtonEntryParams | ListPaneBoolEntryParams | ListPaneTextEntryParams | ListPaneImageEntryParams Beta List Pane entry creation parameters - [ListPaneImageEntryParams](/server-editor/types/ListPaneImageEntryParams.md): ListPaneImageEntryParams = object Beta List Pane Image entry creation parameter - [ListPaneSlotConfiguration](/server-editor/types/ListPaneSlotConfiguration.md): ListPaneSlotConfiguration = object Beta - [ListPaneSlotCreationProps](/server-editor/types/ListPaneSlotCreationProps.md): ListPaneSlotCreationProps = object Beta Properties required to create a slot - [ListPaneSlotLayoutEntry](/server-editor/types/ListPaneSlotLayoutEntry.md): ListPaneSlotLayoutEntry = object Beta - [ListPaneSlotLayoutSections](/server-editor/types/ListPaneSlotLayoutSections.md): ListPaneSlotLayoutSections = object Beta - [ListPaneTextEntryParams](/server-editor/types/ListPaneTextEntryParams.md): ListPaneTextEntryParams = object Beta List Pane Text entry creation parameter - [ListPaneViewFilter](/server-editor/types/ListPaneViewFilter.md): ListPaneViewFilter = object Beta Determines filtering properties for list pane - [ListViewControlAction](/server-editor/types/ListViewControlAction.md): ListViewControlAction = object & ListViewControlActionState Beta Action item to be displayed on a list view control - [ListViewControlActionState](/server-editor/types/ListViewControlActionState.md): ListViewControlActionState = object Beta Action item state for list view control - [LocalizedString](/server-editor/types/LocalizedString.md): LocalizedString = string | { id: string; props?: string[]; } Beta Represents a localized string or an object with a localized string and optional properties - [ModalDialogActivationParams](/server-editor/types/ModalDialogActivationParams.md): ModalDialogActivationParams = object & T extends CoreModalDialogType ? object : object Beta Parameters required to activate a modal dialog instance - [ModalDialogCoreResponseType](/server-editor/types/ModalDialogCoreResponseType.md): ModalDialogCoreResponseType = object Beta Response data for core modal dialogs - [ModalDialogCustomResponse](/server-editor/types/ModalDialogCustomResponse.md): ModalDialogCustomResponse = object Beta Response data for custom modal dialog - [ModalDialogDataPickerResponse](/server-editor/types/ModalDialogDataPickerResponse.md): ModalDialogDataPickerResponse = object Beta Payloads that confirm data picker selection - [ModalDialogDismissResponse](/server-editor/types/ModalDialogDismissResponse.md): ModalDialogDismissResponse = object Beta - [ModalDialogRequestData](/server-editor/types/ModalDialogRequestData.md): ModalDialogRequestData = object Beta Data types supported by a modal dialog request - [ModalToolLifecycleEventPayload](/server-editor/types/ModalToolLifecycleEventPayload.md): event ModalToolLifecycleEventPayload = object Beta Modal tool lifecycle event payload - [MouseModifiers](/server-editor/types/MouseModifiers.md): MouseModifiers = object Beta Input modifier states for mouse actions - [MouseProps](/server-editor/types/MouseProps.md): MouseProps = object Beta Mouse properties that provide additional information from client event handling - [MouseRayCastAction](/server-editor/types/MouseRayCastAction.md): MouseRayCastAction = object Beta An action which returns the ray corresponding to a vector from the users mouse click in the viewport. - [NoArgsAction](/server-editor/types/NoArgsAction.md): NoArgsAction = object Beta An action which needs no additional client side arguments on execute - [PaneItemStyle](/server-editor/types/PaneItemStyle.md): PaneItemStyle = object Beta Optional style arguments for pane items - [PropertyBag](/server-editor/types/PropertyBag.md): PropertyBag = Record Beta - [PropertyPaneVisibilityUpdate](/server-editor/types/PropertyPaneVisibilityUpdate.md): PropertyPaneVisibilityUpdate = object Beta Callback to execute when a visibility of a property pane is updated. - [Ray](/server-editor/types/Ray.md): Ray = object Beta Ray representing a direction from a set location. This location typically corresponds to the location of a mouse click performed on the client. - [RegisteredAction](/server-editor/types/RegisteredAction.md): RegisteredAction = T & ActionID Beta A registered action is an action that has been registered with the action manager system and has a unique ID representing the action now. An action must be registered before it can be used in other systems. - [SelectedModalToolChangedEventPayload](/server-editor/types/SelectedModalToolChangedEventPayload.md): event SelectedModalToolChangedEventPayload = object Beta Modal tool state event payload - [ShutdownFunctionType](/server-editor/types/ShutdownFunctionType.md): ShutdownFunctionType = (uiSession) => void Beta Callback type when an extension instance is shutdown for a given player. Used for performing any final work or clean up that can't be handled automatically via Disposables. - [SpeedSettingsPropertyTypeMap](/server-editor/types/SpeedSettingsPropertyTypeMap.md): SpeedSettingsPropertyTypeMap = object Beta - [StatefulAction](/server-editor/types/StatefulAction.md): StatefulAction = object Beta An action which returns the activation state. - [SupportedKeyboardActionTypes](/server-editor/types/SupportedKeyboardActionTypes.md): SupportedKeyboardActionTypes = RegisteredAction | RegisteredAction | RegisteredAction Beta Full set of all possible keyboard actions - [SupportedMouseActionTypes](/server-editor/types/SupportedMouseActionTypes.md): SupportedMouseActionTypes = RegisteredAction Beta Full set of all possible mouse actions - [TooltipButton](/server-editor/types/TooltipButton.md): TooltipButton = object Beta Tooltip action description - [TooltipContent](/server-editor/types/TooltipContent.md): TooltipContent = object Beta Content properties to display tooltips - [TooltipInteractiveContent](/server-editor/types/TooltipInteractiveContent.md): TooltipInteractiveContent = object Beta Content properties to display interactive tooltips - [TooltipInteractiveContentDescriptionItem](/server-editor/types/TooltipInteractiveContentDescriptionItem.md): TooltipInteractiveContentDescriptionItem = LocalizedString | TooltipLink | TooltipButton Beta Supported description elements for interactive tooltips - [TooltipLink](/server-editor/types/TooltipLink.md): TooltipLink = object Beta Tooltip link description - [UnregisterInputBindingCallback](/server-editor/types/UnregisterInputBindingCallback.md): UnregisterInputBindingCallback = () => void Beta - [editor](/server-editor/variables/editor.md): const editor: MinecraftEditor Beta - [FenceConnectivity](/server-gametest/classes/FenceConnectivity.md): Beta 返回此栅栏是否在多个方向上与其他栅栏连接的信息。 Returns information about whether this fence is connected to other fences in several directions. - [GameTestCompletedError](/server-gametest/classes/GameTestCompletedError.md): error Beta - [GameTestError](/server-gametest/classes/GameTestError.md): error Beta - [GameTestSequence](/server-gametest/classes/GameTestSequence.md): Beta 按顺序执行通过链式 .thenXyz 方法定义的一系列步骤。 这便于按时间顺序编写 GameTest 设置方法与断言的「脚本」。 Executes a set of steps defined via chained .thenXyz methods, sequentially. This facilitates a 'script' of GameTest setup methods and assertions over time. - [NavigationResult](/server-gametest/classes/NavigationResult.md): Beta - [RegistrationBuilder](/server-gametest/classes/RegistrationBuilder.md): Beta 用于为测试设置 GameTest 参数的工具类。可以将多个方法链式 调用以设置多个属性。 A utility class to set GameTest parameters for a test. Methods can be chained together to set multiple properties. - [SculkSpreader](/server-gametest/classes/SculkSpreader.md): Beta 实现一个可用于测试幽匿蔓延行为的类。此幽匿蔓延器类可以驱动特定方块周围的幽匿生长。 Implements a class that can be used for testing sculk spreading behaviors. This sculk spreader class can drive the growth of sculk around a particular block. - [SimulatedPlayer](/server-gametest/classes/SimulatedPlayer.md): player Beta 可在 GameTest 中使用的模拟玩家,用于表示 玩家在世界中如何移动,并用于测试实体和 环境对玩家的反应。该类型的大部分结构和方法 都来自 Player 类型。请注意,许多 在更广泛的实体上可用的事件类型, 例如物品使用事件,可能不会以相同的 形式在模拟玩家上触发。 A simulated player can be used within GameTests to represent how a player moves throughout the world and to support testing of how entities and the environment will react to a player. This type derives much of its structure and methods from the Player type. Note that many types of events that may be available for entities more broadly, such as item use events, may not fire in the same capacity for simulated players. - [Tags](/server-gametest/classes/Tags.md): Beta 这些众所周知的标签可用于将不同测试分类到要运行的测试套件中。 These well-known tags can be used to classify different tests into suites to run. - [Test](/server-gametest/classes/Test.md): Beta GameTest 函数的主类,附带用于操作相应测试的辅助工具和数据。请注意,该类的所有方法都期望传入相对于 GameTest 结构方块的位置(BlockLocation 与 Location)。 Main class for GameTest functions, with helpers and data for manipulating the respective test. Note that all methods of this class expect BlockLocations and Locations relative to the GameTest structure block. - [GameTestCompletedErrorReason](/server-gametest/enums/GameTestCompletedErrorReason.md): error Beta - [GameTestErrorType](/server-gametest/enums/GameTestErrorType.md): error Beta - [LookDuration](/server-gametest/enums/LookDuration.md): Beta - [PersonaArmSize](/server-gametest/enums/PersonaArmSize.md): Beta - [PersonaPieceType](/server-gametest/enums/PersonaPieceType.md): Beta - [getPlayerSkin](/server-gametest/functions/getPlayerSkin.md): player getPlayerSkin(player): PlayerSkinData World Mutation Beta - [register](/server-gametest/functions/register.md): register(testClassName, testName, testFunction): RegistrationBuilder World Mutation Early Execution Beta - [registerAsync](/server-gametest/functions/registerAsync.md): registerAsync(testClassName, testName, testFunction): RegistrationBuilder World Mutation Early Execution Beta - [setAfterBatchCallback](/server-gametest/functions/setAfterBatchCallback.md): setAfterBatchCallback(batchName, batchCallback): void World Mutation Early Execution Beta - [setBeforeBatchCallback](/server-gametest/functions/setBeforeBatchCallback.md): setBeforeBatchCallback(batchName, batchCallback): void World Mutation Early Execution Beta - [spawnSimulatedPlayer](/server-gametest/functions/spawnSimulatedPlayer.md): player spawnSimulatedPlayer(location, name, gameMode): SimulatedPlayer World Mutation Beta - [Module: server-gametest](/server-gametest/index.md): Beta @minecraft/server-gametest 为脚本API在脚手架与内容测试方面提供支持。 The @minecraft/server-gametest module provides scriptable APIs for scaffolding and testing content experiences in Minecraft. Manifest Details - [GameTestErrorContext](/server-gametest/interfaces/GameTestErrorContext.md): error Beta - [MoveToOptions](/server-gametest/interfaces/MoveToOptions.md): Beta - [PlayerPersonaPiece](/server-gametest/interfaces/PlayerPersonaPiece.md): player Beta 与特定玩家角色(Persona)部件相关的数据。 Data pertaining to a specific player Persona piece. - [PlayerSkinData](/server-gametest/interfaces/PlayerSkinData.md): player Beta 与玩家已配置皮肤相关的数据。 Data pertaining to a player's configured skin. - [BiomeAtmospherics](/server-graphics/classes/BiomeAtmospherics.md): biome Beta 用于在「灵动视效」(Vibrant Visuals) 中按生物群系影响大气散射。 Used to affect atmospheric scattering per biome for Vibrant Visuals - [BiomeColorGrading](/server-graphics/classes/BiomeColorGrading.md): biome Beta 用于影响 Vibrant Visuals(灵动视效)的颜色分级。 Used to affect color grading for Vibrant Visuals - [BiomeLighting](/server-graphics/classes/BiomeLighting.md): biome Beta 用于在「灵动视效」(Vibrant Visuals) 中影响光照。 Used to affect lighting for Vibrant Visuals - [BiomeWater](/server-graphics/classes/BiomeWater.md): biome Beta 用于在“鲜艳视觉”(Vibrant Visuals)中影响水的效果。 Used to affect water for Vibrant Visuals - [getBiomeAtmospherics](/server-graphics/functions/getBiomeAtmospherics.md): biome getBiomeAtmospherics(biome): BiomeAtmospherics World Mutation Beta - [getBiomeColorGrading](/server-graphics/functions/getBiomeColorGrading.md): biome getBiomeColorGrading(biome): BiomeColorGrading World Mutation Beta - [getBiomeLighting](/server-graphics/functions/getBiomeLighting.md): biome getBiomeLighting(biome): BiomeLighting World Mutation Beta - [getBiomeWater](/server-graphics/functions/getBiomeWater.md): biome getBiomeWater(biome): BiomeWater World Mutation Beta - [getPlayerAtmospherics](/server-graphics/functions/getPlayerAtmospherics.md): player getPlayerAtmospherics(biome, player): BiomeAtmospherics World Mutation Beta - [getPlayerColorGrading](/server-graphics/functions/getPlayerColorGrading.md): player getPlayerColorGrading(biome, player): BiomeColorGrading World Mutation Beta - [getPlayerLighting](/server-graphics/functions/getPlayerLighting.md): player getPlayerLighting(biome, player): BiomeLighting World Mutation Beta - [getPlayerWater](/server-graphics/functions/getPlayerWater.md): player getPlayerWater(biome, player): BiomeWater World Mutation Beta - [Module: server-graphics](/server-graphics/index.md): Beta @minecraft/server-graphics 模块包含用于更改图形和渲染设置的 API。 The @minecraft/server-graphics module contains APIs to change graphics and rendering settings. Manifest Details - [CloseAfterEventSignal](/server-net/classes/CloseAfterEventSignal.md): event Beta - [HttpClient](/server-net/classes/HttpClient.md): network Beta - [HttpHeader](/server-net/classes/HttpHeader.md): network Beta 表示一个请求标头,即包含了请求元数据的键值对。 Represents an HTTP header - a key/value pair of meta-information about a request. - [HttpRequest](/server-net/classes/HttpRequest.md): network Beta 包含构成 HTTP 请求所需的参数。主要用于发起请求。 Main object for structuring a request. - [HttpRequestLimitExceededError](/server-net/classes/HttpRequestLimitExceededError.md): network error Beta 当并发的 HTTP 请求数达到上限时抛出的错误。 An error thrown when the maximum number of concurrent HTTP requests has been reached. - [HttpResponse](/server-net/classes/HttpResponse.md): network Beta 表示一个 HTTP 响应。包含了请求及对应响应的相关信息。 Main object that contains result information from a request. - [InternalHttpRequestError](/server-net/classes/InternalHttpRequestError.md): network error Beta 当发生平台级 HTTP 错误时抛出的错误。此类中提供的信息可能对诊断很有用,但因平台而异。 An error thrown when a platform-level HTTP error occurs. Information provided in this class may be useful for diagnostics purposes but will differ from platform to platform. - [InternalWebSocketError](/server-net/classes/InternalWebSocketError.md): network error Beta 当发生平台级 WebSocket 错误时抛出的错误。此类中提供的信息可能对诊断很有用,但因平台而异。 An error thrown when a platform-level WebSocket error occurs. Information provided in this class may be useful for diagnostics purposes but will differ from platform to platform. - [MalformedUriError](/server-net/classes/MalformedUriError.md): error Beta 当使用格式不正确的 URI 时抛出的错误。 An error thrown when a malformed URI is used. - [MessageAfterEventSignal](/server-net/classes/MessageAfterEventSignal.md): event Beta - [NetworkBeforeEvents](/server-net/classes/NetworkBeforeEvents.md): event Beta - [PacketReceiveBeforeEventSignal](/server-net/classes/PacketReceiveBeforeEventSignal.md): event network Beta - [PacketReceivedBeforeEvent](/server-net/classes/PacketReceivedBeforeEvent.md): event network Beta 当服务器从客户端接收到网络数据包时发送。如果取消,服务器将不会解析该网络数据包, 并会静默忽略它。 Sent as the server receives a network packet from a client. If cancelled, the server will not parse the network packet and will silently ignore it. - [PacketSendBeforeEvent](/server-net/classes/PacketSendBeforeEvent.md): event network Beta 在服务器向客户端发送网络数据包时触发的事件。如果取消,服务器将不会向接收客户端发送该网络数据包。 Sent as the server sends a network packet to clients. If cancelled, the server will not send the network packet to the receiving clients. - [PacketSendBeforeEventSignal](/server-net/classes/PacketSendBeforeEventSignal.md): event network Beta - [RequestBodyTooLargeError](/server-net/classes/RequestBodyTooLargeError.md): error Beta 当网络请求体超过配置的尺寸限制时抛出的错误。 An error thrown when an network request body exceeds the configured size limit. - [SerializableParseError](/server-net/classes/SerializableParseError.md): error Beta - [TLSOnlyError](/server-net/classes/TLSOnlyError.md): error Beta 当需要使用安全 URI 协议但提供了非安全 URI 时抛出的错误。 An error thrown when secure URI scheme is required but a non-secure URI was provided. - [UriNotAllowedError](/server-net/classes/UriNotAllowedError.md): error Beta 当网络请求的目标 URI 不在已配置的允许列表中时抛出的错误。 An error thrown when a network request targets a URI that is not in the configured allow list. - [WebSocket](/server-net/classes/WebSocket.md): network Beta 用于管理 WebSocket 连接。 Used to manage WebSocket connections. - [WebSocketClient](/server-net/classes/WebSocketClient.md): network Beta 一个活跃的 WebSocket 客户端。 An active WebSocket client. - [WebSocketClientAfterEvents](/server-net/classes/WebSocketClientAfterEvents.md): event network Beta - [WebSocketClientCloseAfterEvent](/server-net/classes/WebSocketClientCloseAfterEvent.md): event network Beta - [WebSocketClientReceiveAfterEvent](/server-net/classes/WebSocketClientReceiveAfterEvent.md): event network Beta - [WebSocketConnectionFailedError](/server-net/classes/WebSocketConnectionFailedError.md): network error Beta 当与 WebSocket 服务器的连接失败时抛出的错误。 An error thrown when the connection with the WebSocket server has failed. - [WebSocketLimitExceededError](/server-net/classes/WebSocketLimitExceededError.md): network error Beta 当已连接的 WebSocket 数量达到上限时抛出的错误。 An error that is thrown when the maximum number of connected WebSockets is reached. - [WebSocketNotConnectedError](/server-net/classes/WebSocketNotConnectedError.md): network error Beta 当 WebSocket 尚未连接到服务器时尝试使用 WebSocket 所抛出的错误。 An error thrown when attempting to use a WebSocket while the socket is not connected to a server. - [HttpRequestMethod](/server-net/enums/HttpRequestMethod.md): network Beta - [HttpStatusCode](/server-net/enums/HttpStatusCode.md): network Beta - [PacketId](/server-net/enums/PacketId.md): network Beta 表示网络数据包的唯一类型。 Represents the unique type of network packet. - [WebSocketClientCloseReasons](/server-net/enums/WebSocketClientCloseReasons.md): network Beta - [Module: server-net](/server-net/index.md): Beta @minecraft/server-net 模块包含了用于发起基于 HTTP 的请求的类型。 此模块仅可用于基岩版专用服务器。 The @minecraft/server-net module contains types for executing HTTP-based requests. This module can only be used on Bedrock Dedicated Server. These APIs do not function within the Minecraft game client or within Minecraft Realms. Manifest Details - [PacketEventOptions](/server-net/interfaces/PacketEventOptions.md): event network Beta 用于网络数据包触发事件的选项。 Options for events triggered by network packets. - [beforeEvents](/server-net/variables/beforeEvents.md): event const beforeEvents: NetworkBeforeEvents Beta - [http](/server-net/variables/http.md): const http: HttpClient Beta - [websocket](/server-net/variables/websocket.md): const websocket: WebSocket Beta - [标签索引](/tags/index.md): 按领域、模块与类型筛选 Script API 符号 - [vanilla-data](/vanilla-data/index.md): @minecraft/vanilla-data 枚举/常量名称索引(精简,不展开成员)