b75a737c11
Common errors seen in prod:
- Count before brackets: sword 1[enchantments=...] → sword[enchantments=...] 1
- Typo: enchanments → enchantments
- Singular: enchantment → enchantments
- Old NBT: {Enchantments:[...]} → [enchantments={...}]
- Old abbreviated: {ench:[...]} → [enchantments={...}]
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 lines
4.9 KiB
JSON
8 lines
4.9 KiB
JSON
{"id": "err-enchant-order-000", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Count must come AFTER the item and components, not between item and brackets", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword 1[enchantments={sharpness:5}]"], "error": "Count must come AFTER the item and components, not between item and brackets"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|
|
{"id": "err-enchant-order-001", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Components attach to the item ID directly, count goes last", "commands": ["give slingshooter08 minecraft:netherite_pickaxe[enchantments={efficiency:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:netherite_pickaxe 1[enchantments={efficiency:5}]"], "error": "Components attach to the item ID directly, count goes last"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|
|
{"id": "err-enchant-order-002", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Brackets must follow item ID with no space or count between", "commands": ["give slingshooter08 minecraft:bow[enchantments={power:5,infinity:1}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:bow 1[enchantments={power:5,infinity:1}]"], "error": "Brackets must follow item ID with no space or count between"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|
|
{"id": "err-enchant-order-003", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Typo: enchanments -> enchantments", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword[enchanments={sharpness:5}] 1"], "error": "Typo: enchanments -> enchantments"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|
|
{"id": "err-enchant-order-004", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Wrong key: enchantment -> enchantments (plural)", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword[enchantment={sharpness:5}] 1"], "error": "Wrong key: enchantment -> enchantments (plural)"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|
|
{"id": "err-enchant-order-005", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword{Enchantments:[{id:sharpness,lvl:5}]} 1"], "error": "Old NBT format. 1.21 uses [enchantments={name:level}] not {Enchantments:[...]}"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|
|
{"id": "err-enchant-order-006", "source": "manual", "category": "negative", "input": {"user_message": "sudo give me an enchanted diamond sword", "server_context": {"server_type": "paper", "version": "1.21.x", "online_players": ["slingshooter08"]}}, "output": {"reasoning": "Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]", "commands": ["give slingshooter08 minecraft:diamond_sword[enchantments={sharpness:5}] 1"], "safety_flags": []}, "negative_output": {"commands": ["give slingshooter08 minecraft:diamond_sword{ench:[{id:sharpness,lvl:5}]} 1"], "error": "Old abbreviated NBT. 1.21 uses component syntax [enchantments={name:level}]"}, "metadata": {"difficulty": "medium", "validated": true, "risk_level": 3}}
|