本页为英文技术参考;字段、编号与支持状态直接来自同一契约源。中文学习路线见 开发文档。
MutationPlan
This is the exact wire model. Non-nullable fields are required; field types do not imply undocumented defaults. Domain ownership, bounds and phase checks still apply.
| Field | Type | Meaning |
|---|---|---|
Id | EntityId | Identity in this model’s domain. Use the identity issued or declared for this object, not a display name or filesystem path. |
Revision | Revision | Opaque version token issued by the owner. Do not increment it or substitute another object’s revision. |
InputsHash | string | Digest binding a plan to its prepared inputs. Do not replace inputs after review. |
Summary | LocalizedText | User-facing description of the proposed or observed result; it does not replace the bound target identity. |
Confirmation | ConfirmationRequirement | Declared confirmation requirement. The Host owns the prompt and decision. |
Constraints | NamedValue[] | Structured NamedValue value; follow its linked field contract. A bounded collection; do not assume an unbounded result or unspecified ordering. |
Used directly by
- Definitions.PreviewOverlay
- Workflows.Preview
- Minecraft.Instances.PrepareCreate
- Minecraft.Instances.PrepareClone
- Minecraft.Instances.PrepareDelete
- Minecraft.Java.PrepareInstall
- Minecraft.Java.PrepareManagedInstall
- Minecraft.Content.PreviewClearTrash
- Minecraft.Worlds.PlanDelete
- Minecraft.Worlds.PlanSetDataPack
- Minecraft.Worlds.PreviewRestore
- Settings.PreviewChange
- Backups.PrepareCapture
- Backups.PreviewRestore
- Backups.PreviewPrune
- Files.PrepareMove
- Files.PrepareDelete
- Minecraft.Diagnostics.PreviewRepair
For nested uses, follow the model links from the owning request or result. A successful decode establishes shape, not permission or business success.
来源: NexaCL-Plugin-SDK · Apache-2.0.