Files
Romain BeaumontandClaude c949824c7a Fix features schema inconsistencies and validation issues (#1047)
* Fix features schema inconsistencies and validation issues

- Add support for both 'version' and 'versions' fields in features schema
- Add 'values' field to schema for version-specific feature values
- Add missing description to usesBlockStates feature
- Make description field optional in schema
- Add proper validation constraints with oneOf for feature types
- Ensure schema matches supportsFeature.js implementation

Fixes https://github.com/PrismarineJS/minecraft-data/issues/1046

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Make description field required and add missing descriptions

- Add missing descriptions to 4 PC features: effectNamesMatchRegistryName, shieldSlot, village&pillageInventoryWindows, netherUpdateInventoryWindows
- Make description field required in features schema since all features now have descriptions
- All features tests now pass with proper validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-08 21:50:55 +02:00
..
2025-06-29 01:03:08 -04:00