Skip to content

Commit

Permalink
Update COMPUTERCRAFT_zh-CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrh0 committed Apr 26, 2023
1 parent 42a6a55 commit 43a2df8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions COMPUTERCRAFT_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,9 @@ da.setLine(1)
da.print("Text on first line again")
```
函数 `getMaxLines()` 将返回使用数字适配器可以显示的最大行数(将始终返回16)。

### Other

The function `getDurationDistance(blocks, rpm)` will return the time needed to push a Mechanical Piston, Pulley or Gantry a number of blocks at the given rpm.

The function `getDurationAngle(degrees, rpm)` will return the time needed to rotate a Mechanical Bearing by a number of degrees at the given rpm.

0 comments on commit 43a2df8

Please sign in to comment.