Skip to content

Hide JavaPlugin commands from datapack macros#10997

Closed
Machine-Maker wants to merge 1 commit into
PaperMC:masterfrom
Machine-Maker:fix/datapack-macros
Closed

Hide JavaPlugin commands from datapack macros#10997
Machine-Maker wants to merge 1 commit into
PaperMC:masterfrom
Machine-Maker:fix/datapack-macros

Conversation

@Machine-Maker
Copy link
Copy Markdown
Member

@Machine-Maker Machine-Maker commented Jun 27, 2024

Fixes #10994


Creates a second CommandDispatcher that contains all vanilla commands (and namespaced versions) as well as commands registered during bootstrap. One potential issue with this is... that you can't use the internal dispatcher provided to register commands for datapack functions. Not sure if that's resolveable and if we do want to resolve it, might have to take a different, more invasive, approach.


Download the paperclip jar for this pull request: paper-10997.zip

@Machine-Maker Machine-Maker added the publish-pr Enables a workflow to build Paperclip jars on the pull request. label Jun 27, 2024
@Machine-Maker Machine-Maker deleted the fix/datapack-macros branch August 20, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

publish-pr Enables a workflow to build Paperclip jars on the pull request.

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

Data packs using function macros are now broken by plugins that overwrite vanilla commands

1 participant