Skip to content

feat: Items API - #116

Closed
osipxd wants to merge 3 commits into
developfrom
claude/items-api-0d94ee
Closed

osipxd wants to merge 3 commits into
developfrom
claude/items-api-0d94ee

Conversation

@osipxd

@osipxd osipxd commented Nov 16, 2026

Copy link
Copy Markdown
Member
  • New ItemProvider and Items APIs with Mimic.items and Mimic.registerItemProvider(): Key IDs with a required namespace, creation for a player, String payload
  • An item belongs to the highest-priority provider recognizing it, so a custom item no longer matches its vanilla base
  • Built-in providers: minecraft, mmoitems (<type>/<id>), craftengine, customitems
  • ItemsRegistry API is deprecated: registries are bridged to providers, Mimic.itemsRegistry is a view over the new aggregator keeping IDs without namespace, ns:a:b and bare MMOItems IDs
  • /mimic items uses the new API, disabled-items-registries is renamed to disabled-item-providers with migration

Closes #95, closes #85, closes #86, closes #87

🤖 Generated with Claude Code

osipxd and others added 3 commits November 16, 2026 10:21
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ItemProvider for implementers and Items for consumers, aggregated by Mimic.
An item belongs to the provider with the highest priority recognizing it.
Every registered ItemsRegistry is bridged to an item provider,
Mimic.itemsRegistry is a view over the new aggregator.

Closes #95, closes #85, closes #86, closes #87

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@osipxd osipxd added this to the 0.11 milestone Nov 16, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 140 complexity · 4 duplication

Metric Results
Complexity 140
Duplication 4

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@osipxd

osipxd commented Nov 16, 2026

Copy link
Copy Markdown
Member Author

Superseded by #117: the same change split into smaller commits on feature/items-api.

@osipxd osipxd closed this Nov 16, 2026
@osipxd
osipxd deleted the claude/items-api-0d94ee branch November 16, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant