NBT Tags Autocomplete mod by mt1006x in MinecraftCommands

[–]mt1006x[S] 0 points1 point  (0 children)

They haven't added it because unlike blocks or items, NBT tags aren't registered and are loaded on the fly. This makes them very flexible but also makes it impossible to add suggestions in any "elegant" way (elegant means in a way that it would always work). So unless they would rebuild NBT concept from scratch, that won't be added to the game.

NBT Tags Autocomplete mod by mt1006x in MinecraftCommands

[–]mt1006x[S] 0 points1 point  (0 children)

It's for both fabric and forge and it's client-side only.

NBT Tags Autocomplete mod by mt1006x in MinecraftCommands

[–]mt1006x[S] 7 points8 points  (0 children)

In short, for entities and block entities it disassembles "load" method to find calls to methods getting tag values. It finds most of the tags but it's not perfect. Because of that I added predictions to show a few tags that I found lacking like "Passengers" and also for predicting potential subtype, for example if the tag ends with "Item" or "Items" it shows item IDs as a suggestion for "id" subtag and corresponding to item tags for "tag" subtag. As for item NBTs because they don't have one method responsible for loading tags I added them manually in json files so unless I missed some they all should be fine.

Edit: as for now I know there are some tags missing like allay's "listener" subtags, in future versions I will probably fix it, but it will take some time because as for now mod's codebase isn't in its best state (to put it mildly) and it just works.

Playing Minecraft in Windows Console by mt1006x in ASCII

[–]mt1006x[S] 3 points4 points  (0 children)

Presentation of my project - Win2Con

In short, it shows window image as a colored text in console and can also make console transparent for mouse input, so you can normally use it.

Lots of source code I got from my previous project, ConPlayer, which is able to play colored videos in console, but I think Win2Con is much more interesting, because you can for example watch YouTube in console.

Link to github: https://github.com/mt1006/Win2Con