Skip to content

Add client-side command api - #380

Merged
Hendrix-Shen merged 8 commits into
dev/0.8from
feat/client-command-api
Aug 30, 2026
Merged

Add client-side command api#380
Hendrix-Shen merged 8 commits into
dev/0.8from
feat/client-command-api

Conversation

@Hendrix-Shen

Copy link
Copy Markdown
Owner

Summary

This PR introduces a client-side command argument API to magiclib-minecraft-api, porting the complete vanilla net.minecraft.commands.arguments argument set so that client-side commands can be registered and used without a server-side CommandSourceStack. All argument types bind to MagicLib's ClientCommandSource instead.

The work follows the design of clientcommands / clientarguments, reusing the vanilla implementation wherever possible and only falling back to custom code when the vanilla counterpart is unavailable or inaccessible.

Test

  • CheckStyle passed
  • Mixin Audit passed
  • Java Compile passed

AI-Coding

This PR introduces AI-Coding for the first time, all code has been human-reviewed. The code was designed by DeepSeek Harness, model: DeepSeek-V4-Flash-0731

- Designed by dsh with deepseek-flash

Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
- Designed by dsh with deepseek-flash

Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
- Designed by dsh with deepseek-flash

Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
- Designed by dsh with deepseek-v4-flash

Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
@mergify

mergify Bot commented Aug 28, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

- Designed by dsh with deepseek-v4-flash

Signed-off-by: Hendrix-Shen <HendrixShen@hendrixshen.top>
@Hendrix-Shen
Hendrix-Shen merged commit b41bb80 into dev/0.8 Aug 30, 2026
7 of 8 checks passed
@Hendrix-Shen
Hendrix-Shen deleted the feat/client-command-api branch August 30, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant