Command literal aliases do not work with Brigadier
评估
调研方向
首先,使用链接的示例重现缺失的 Brigadier 建议,并检查负责命令别名的 Brigadier 集成。该 issue 没有在记录预期行为和添加 opt-in 选项之间作出选择,因此预期的完成标准需要 maintainer 澄清。
由索引模型根据 Issue 内容生成。
描述
Aliases of literal arguments do not show up in the command suggestions for Brigadier. The commands do, however, still work if you use the aliases. I had a little chat on the Discord server with a couple of the devs and found that this is intentional due to polluting the Brigadier command node map. I would recommend either documenting that this is intentional somewhere (the wiki perhaps?), or maybe add an option to enable this functionality explicitly since it has downsides.
Example code: https://pastebin.com/71hT3fSW
Gif of executing the command with suggestions: https://gyazo.com/c78e08a403f6e95194e1574167e70990
- 主要语言
- Java
- 星标
- 111
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Incendo/cloud-minecraft 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
Incendo/cloud-minecraft#110 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 30/100
Incendo/cloud-minecraft#108 ·
-
bukkit enhancement paper
难度 4/5 3-5 天 新手友好度 20/100
Incendo/cloud-minecraft#22 ·
-
dependencies
难度 5/5 一周以上 新手友好度 15/100
-
Minestom support未关闭help wanted
难度 5/5 一周以上 新手友好度 25/100
Incendo/cloud-minecraft#9 · 4 条评论 · 3 个 reaction ·
查看 Incendo/cloud-minecraft 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 60/100
quelea-projection/Quelea#749 ·
维护者通常 1 天内回复
-
free_port can hand one port to two callers, so the fixed-port http tests fail in parallel runs可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 92/100
erkamyaman/rust-anything#963 ·
维护者通常 1 天内回复
-
api-diagnostics bug jdbc
难度 2/5 1-3 小时 新手友好度 75/100
ClickHouse/clickhouse-java#3464 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 76/100
-
Deferred
难度 2/5 1-3 小时 新手友好度 78/100
Sanne/incus-spawn#2768 ·
维护者通常 1 天内回复