Rewrite documentation for Bedrock Scripting#46
Merged
Merged
Conversation
Collaborator
|
Should I move these files into minecraft server folder? They don't belong to the docs root https://github.com/JaylyDev/ScriptAPI/blob/docs_rewrite/docs/commands_you_have_to_use.md |
Owner
Author
|
TODO: rewrite server-net directory. |
Closed
Closed
bot174
reviewed
Nov 20, 2022
| - [Symbol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) | ||
| - [globalThis](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis) | ||
| - [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | ||
| > :warning: Warning: Date does not have access to the local time - the time known to the device where JavaScript is executed. |
Collaborator
There was a problem hiding this comment.
Change Date to Script Engine
I will update it after i get less busy
…into docs_rewrite
Owner
Author
|
Add async usage...? |
Collaborator
|
Why is there a MinecraftApi directory and other minecraft api folders, should they group it in one? |
Co-Authored-By: ConMaster2112 <64863757+ConsoleTerm@users.noreply.github.com>
bot174
approved these changes
Nov 27, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve documentation for bedrock scripting begineers to understand the documents easier.
Why
JSON to JS
Many scripting beginners don't have the knowledge of JavaScript programming language, due to Minecraft Bedrock's add-ons primarily uses JSON. They are supposed to be expected that they to have a solid understanding of JavaScript before creating scripts for Minecraft.
Bedrock Addons #script-api channel is full of general javascript questions. Hopefully this pr can teach beginners the fundamentals from scratch.
Repo docs
They aren't great examples anyway, new beginners may get confused by the content they see.