Skip to content

Commit

Permalink
Merge pull request #17 from YlmfGo/main
Browse files Browse the repository at this point in the history
修正1.20+获取地图的指令
  • Loading branch information
ToKiNoBug authored Aug 12, 2024
2 parents d57869f + 6aa7e2d commit 7f2f8f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/SlopeCraft-tutorial.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,8 @@ ________________________________________________________________________________
This method **should not** prompt a "Replace or Skip Files" window. If it does, close the window and check if there is a conflict with the map index.

- In 1.12, use `/give @s filled_map 1 i` to obtain the map with index i.
- In 1.13+, use `/give @s filled_map{map:i}` to obtain the map with index i.
- In 1.13-1.19, use `/give @s filled_map{map:i}` to obtain the map with index i.
- In 1.20+, use `/give @s filled_map[map_id=i]` to obtain the map with index i.

- If you do not want to use commands, only replace the map files:

Expand Down Expand Up @@ -580,4 +581,4 @@ The above json message shows the information of a block with half a tile on a ro
src="https://cdn.jsdelivr.net/npm/sakana-widget@2.7.0/lib/sakana.min.js"
></script>

*(=・ω・=)*
*(=・ω・=)*
3 changes: 2 additions & 1 deletion docs/SlopeCraft-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ ________________________________________________________________________________
这种方式**不应该**弹出“替换或跳过文件”窗口,如果弹出,请关闭窗口,并检查地图序号是否有冲突。

- 在 1.12,使用 `/give @s filled_map 1 i` 来获得序号为 i 的地图。
- 在 1.13+,使用 `/give @s filled_map{map:i}` 来获得序号为 i 的地图。
- 在 1.13-1.19,使用 `/give @s filled_map{map:i}` 来获得序号为 i 的地图。
- 在 1.20+,使用 `/give @s filled_map[map_id=i]` 来获得序号为 i 的地图。

- 不使用命令,只替换地图文件:

Expand Down

0 comments on commit 7f2f8f6

Please sign in to comment.