Mc Close

Close currently open UI. Returns success/failure

bdambrosio 1ecf857 3 files · 3.6 KB Updated

File contents

Minecraft Close Tool

Closes currently open UI interface. Returns success/failure status.

Purpose

UI management for closing opened interfaces like crafting tables, chests, and furnaces.

Input

  • value: Ignored

Output

Returns uniform_return format with:

  • value: Text summary (success/failure message)
  • data: Structured data dict (machine-readable). Key fields:
    • success: Boolean

Behavior & Performance

  • Closes currently open UI
  • Fails if no UI is open
  • Returns immediately after closing

Guidelines

  • Use after completing operations in opened UI
  • Fails silently if no UI is open
  • Use mc-open to open UI interfaces

Usage Examples

Close open UI:

{"type":"mc-close","out":"$close"}

bdambrosio/cognitive_workbench/tree/main/src/world-tools/minecraft/mc-close commit 1ecf857c23

Frequently asked questions

npx skillmds@latest add bdambrosio/mc-close