Mc Respawn

Reset embodiment after death - lifecycle/recovery. Returns ok

bdambrosio 15ed95a 3 files · 5.6 KB Updated

File contents

Minecraft Respawn Tool

Resets embodiment after death. Lifecycle and recovery tool for post-death state restoration.

Purpose

Post-death recovery for restoring bot state after death. Resets health, position, and other death-related state.

Input

  • value: Ignored

Output

Returns uniform_return format with:

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

Behavior & Performance

  • Resets bot state after death
  • Restores health and position
  • Returns immediately after respawn

Guidelines

  • Use after detecting death (via mc-status)
  • Resets embodiment to spawn point or bed location
  • Inventory may be lost depending on game mode
  • Use mc-status after respawn to verify state

Usage Examples

Respawn after death:

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

bdambrosio/cognitive_workbench/tree/main/src/world-tools/minecraft/mc-respawn commit 15ed95a60e

Frequently asked questions

npx skillmds@latest add bdambrosio/mc-respawn