Skip to content

Rewrite documentation for Bedrock Scripting#46

Merged
JaylyDev merged 23 commits into
mainfrom
docs_rewrite
Nov 27, 2022
Merged

Rewrite documentation for Bedrock Scripting#46
JaylyDev merged 23 commits into
mainfrom
docs_rewrite

Conversation

@JaylyDev
Copy link
Copy Markdown
Owner

@JaylyDev JaylyDev commented Nov 16, 2022

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.

@JaylyDev JaylyDev added enhancement New feature or request docs Pull requests that update documentation labels Nov 16, 2022
@bot174
Copy link
Copy Markdown
Collaborator

bot174 commented Nov 19, 2022

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
https://github.com/JaylyDev/ScriptAPI/blob/docs_rewrite/docs/impact_of_removing_runCommand.md

@JaylyDev
Copy link
Copy Markdown
Owner Author

TODO: rewrite server-net directory.

@JaylyDev JaylyDev linked an issue Nov 19, 2022 that may be closed by this pull request
@JaylyDev JaylyDev linked an issue Nov 20, 2022 that may be closed by this pull request
@JaylyDev JaylyDev removed a link to an issue Nov 20, 2022
Comment thread docs/JavaScript/README.md
- [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.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change Date to Script Engine

@JaylyDev
Copy link
Copy Markdown
Owner Author

Add async usage...?

@bot174
Copy link
Copy Markdown
Collaborator

bot174 commented Nov 24, 2022

Why is there a MinecraftApi directory and other minecraft api folders, should they group it in one?

JaylyDev and others added 4 commits November 24, 2022 18:09
Co-Authored-By: ConMaster2112 <64863757+ConsoleTerm@users.noreply.github.com>
@JaylyDev JaylyDev requested a review from bot174 November 27, 2022 13:40
Comment thread docs/JavaScript/APIs.md Outdated
Comment thread package.json Outdated
@bot174 bot174 marked this pull request as ready for review November 27, 2022 14:24
@JaylyDev JaylyDev merged commit ce911bd into main Nov 27, 2022
@JaylyDev JaylyDev deleted the docs_rewrite branch November 27, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Pull requests that update documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve documentation for server-net module

3 participants