pakkit icon indicating copy to clipboard operation
pakkit copied to clipboard

Document Scripting and Provide meaningful examples

Open Julienraptor01 opened this issue 1 year ago • 2 comments

The current docs are just not enough

Julienraptor01 avatar Mar 16 '24 17:03 Julienraptor01

Well its based on https://github.com/PrismarineJS/node-minecraft-protocol so the docs there should cover a lot of it (mainly https://prismarinejs.github.io/minecraft-data/?d=protocol)

Heath123 avatar Mar 17 '24 18:03 Heath123

Well its based on https://github.com/PrismarineJS/node-minecraft-protocol so the docs there should cover a lot of it (mainly https://prismarinejs.github.io/minecraft-data/?d=protocol)

OK now with https://prismarinejs.github.io/minecraft-data/?d=protocol i kinda understand, but i just didn't find where to find that link I had found this, but it didn't help https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/docs%2FAPI.md

Providing an example script a bit longer than the one provided and linking that exact URL could prob be useful to make it easier to use

Also, what is exactly meta, does it hold anything other than name ? Is there a way i can see that somewhere ? Maybe put an example where you "create" a packet And is there any way to do smth like console.log or smth ? To be able to do classic simple print debugging ?

Thanks for your help

Julienraptor01 avatar Mar 17 '24 18:03 Julienraptor01