Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Wiki Page for commands #20

Closed
SpyCoder77 opened this issue Mar 31, 2024 · 7 comments
Closed

[Feature] Wiki Page for commands #20

SpyCoder77 opened this issue Mar 31, 2024 · 7 comments

Comments

@SpyCoder77
Copy link

You should make a button next to the autocomplete that has the wiki page for it.

@mt1006
Copy link
Owner

mt1006 commented Mar 31, 2024

I don't think it's even possible, as NBT tags don't have their separate pages. On each entity page there's just list of available tags with short descriptions.

Edit: I'm talking about minecraft.wiki ofc

@mt1006
Copy link
Owner

mt1006 commented Mar 31, 2024

I could theoretically add short descriptions for each tag, but:

  1. tags for entities and block entities are mostly dynamically generated and not predefined, thanks to that they don't require too much updating
  2. it would be too much work, even if I would copy everything from minecraft.wiki

@SpyCoder77
Copy link
Author

You could just add a button that takes you too the link. Also, I don't fully understand number 1.

@mt1006
Copy link
Owner

mt1006 commented Mar 31, 2024

That would have to be a link to the entire entity page, so you would have to find tag in it anyway.

As for point 1, suggestions for items are predefined in resource files, but suggestions for entities and block entities aren't. In short, when first running mod it disassembles Minecraft code in search of NBT related method calls and that way it knows the tag names and types. To give some additional suggestions, like automatic entity id suggestions there are also predefined predictions in resource files which are responsible for fixing some missing tags and these additional suggestions (subtypes).

@SpyCoder77
Copy link
Author

Ok, I understand.

@mt1006
Copy link
Owner

mt1006 commented Mar 31, 2024

As I said earlier, I may some day add it, but that won't be soon. I also see a need for some form of tag descriptions, but I also don't see an easy way I could add them.

@SpyCoder77
Copy link
Author

SpyCoder77 commented Mar 31, 2024 via email

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

No branches or pull requests

2 participants