Creating your own extension: tutorials?
Hello, I've been looking into extension, and creating my own content for MC:Edu, to fill in the parts of the codebuilder which I find lacking, but I'm having a rather hard time getting started from the lack of resources.
I found a link to build my own blocks: https://makecode.com/playground#basic-types
But I'm not sure how far I can go with this, how do I access minecraft information with this? For exemple, if I wanted access to a player gaze (something that in command blocks is accessed with ^ ^ ^ coordinates) how would I go about it?
-
Sure, creating add-ons is fairly easy. You need a little knowledge of typeScript, it depends on what exactly you want to get. An example of what I think you wanted.
result
read here: https://makecode.microbit.org/blocks/custom
0 -
Hey thanks for the answer, but it's not quite what I meant. I didn't explain it very well, it's my bad, but I meant, typeScript is the language, but minecraft specific 'vocabulary' in typeScript, is there any place where I can find that?
Like, in the exemple, you knew that to get the dropdown for a block choice, the typeScript syntax was block:Block.
Or to set the block, the syntax is blocks.place.But for other minecraft actions, events, etc, is there any place, any website, any documents where I can find that?
I had already found the link from microbits on how to create custom blocks etc, but I'm missing the minecraft specific syntax documentation. That's what I can't find.
0 -
I get all my knowledge from the functions that were created by the developers and I try to deduce how something works, especially from the sims.d.ts file and other
And see it: https://makecode.com/defining-blocks
0 -
Thank you for sharing, this helped me
0
Please sign in to leave a comment.
Comments
4 comments