Skip to content

Commit

Permalink
2024/8/19 update
Browse files Browse the repository at this point in the history
  • Loading branch information
qndm committed Aug 19, 2024
1 parent 0750351 commit d761555
Show file tree
Hide file tree
Showing 8 changed files with 455 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.vercel
site
site
docs/learn/arithmetic/*.js
docs/learn/arithmetic/*.ts
docs/learn/arithmetic/*.py
docs/learn/arithmetic/*.cpp
5 changes: 5 additions & 0 deletions docs/_assets/iconsParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ const defsMap = {
setInterval: ["function", "https://developer.mozilla.org/zh-CN/docs/Web/API/setInterval", "function"],
clearTimeout: ["function", "https://developer.mozilla.org/zh-CN/docs/Web/API/clearTimeout", "function"],
clearInterval: ["function", "https://developer.mozilla.org/zh-CN/docs/Web/API/clearInterval", "function"],
Symbol: ["interface", "https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Symbol", "interface"],
Function: ["interface", "https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Function", "interface"],
RegExp: ["interface", "https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/RegExp", "interface"],
Date: ["interface", "https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Date", "interface"],

resources: ["object private", 'api/resources', 'const'],
Box3ResourceSystem: ["class private", 'api/resources', 'class'],
Expand Down Expand Up @@ -256,6 +260,7 @@ const keywordDefsMap = {
keyof: [],
async: ["https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/async_function"],
await: ["https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/await"],
for: ["https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/for"],
}
const iconTagMap = {
method: ["method parent-class", "#c2c262"],
Expand Down
5 changes: 3 additions & 2 deletions docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

- Edgar_勿安 - [Github个人主页](https://github.com/Edgar-wuan)
- 可乐OωO
- 全能岛民 - [编程猫个人主页](https://shequ.codemao.cn/user/6715468) [神奇代码岛个人主页(旧岛)](https://box3.codemao.cn/u/qndm) [神奇代码岛个人主页(新岛)](https://dao3.fun/profile/1349822) [GitHub个人主页](https://github.com/qndm)
- 全能岛民 - [编程猫个人主页](https://shequ.codemao.cn/user/7202807) [神奇代码岛个人主页(旧岛)](https://box3.codemao.cn/u/qndm) [神奇代码岛个人主页(新岛)](https://dao3.fun/profile/1349822) [GitHub个人主页](https://github.com/qndm)
- 屑全能 [神奇代码岛个人主页](https://box3.codemao.cn/u/jmd123456)
- 树树屑
- Nomen - [神奇代码岛个人主页](https://box3.codemao.cn/u/zhongjimo)
Expand All @@ -39,4 +39,5 @@
- [Material for MkDocs](https://squidfunk.github.io/mkdocs-material)
- [Material for MkDocs 中文文档](https://mkdoc-material.llango.com)
- [Mermaid.js](https://mermaid.js.org/)
- [Github](https://github.com)
- [Github](https://github.com)
- [OI Wiki](https://oi-wiki.org/)
4 changes: 3 additions & 1 deletion docs/api/voxels.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@

!!! bug

若是创建一个中等大小(`64`*`128`*`64`)的地图,在控制台输入时该属性正常,在代码文件中[shape](readonly)会变成`{ x:32, y:32, z:32 }`
若是创建一个中等大小(`64`*`128`*`64`)的地图,在控制台输入时该属性正常,在代码文件中[shape](readonly)会变成`{ x:32, y:32, z:32 }`
经2024/8/19测试,超大地图(`256`*`64`*`256`)也有此问题
可以通过`#!javascript voxels.shape.set(...)`修复

[VoxelTypes](readonly): [](string)[]
: 一个包含所有方块 **名称** 的数组。
Expand Down
Loading

0 comments on commit d761555

Please sign in to comment.