Mc Unequip

Clear or swap equipped item. Returns success/failure

bdambrosio 2966085 3 files · 4.4 KB Updated

File contents

Minecraft Unequip Tool

Clears or swaps equipped item from hand or offhand slot. Returns success/failure status.

Purpose

Item unequipping for inventory management and tool switching. Moves items from hand/offhand back to inventory.

Input

  • slot: "hand" | "offhand" (default: "hand")
  • 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

  • Clears specified slot
  • Item returns to inventory
  • Fails if slot already empty

Guidelines

  • Use before equipping different items
  • Hand slot is default if slot not specified
  • Empty slots cannot be unequipped

Usage Examples

Unequip hand slot:

{"type":"mc-unequip","slot":"hand","out":"$unequip"}

bdambrosio/cognitive_workbench/tree/main/src/world-tools/minecraft/mc-unequip commit 2966085fed

Frequently asked questions

npx skillmds@latest add bdambrosio/mc-unequip