@@ -180,13 +180,13 @@ pl:kick()
180180 - type : ` Integer `
181181 (Optional parameter) The type of text message to send, default is ` 0 ` .
182182
183- | Type Parameter | Message Type |
184- | -------------- | --------------------------------- |
185- | 0 | Normal Message (Raw) |
186- | 1 | Chat Message (Chat) |
187- | 4 | Music Box Message (Popup) |
188- | 5 | Message Above the Inventory (Tip) |
189- | 9 | JSON format message (JSON) |
183+ | Type Parameter | Message Type |
184+ | ---------------- | ----------------------------------- |
185+ | 0 | Normal Message (Raw) |
186+ | 1 | Chat Message (Chat) |
187+ | 4 | Music Box Message (Popup) |
188+ | 5 | Message Above the Inventory (Tip) |
189+ | 9 | JSON format message (JSON) |
190190
191191- Return value: Whether the message was sent successfully.
192192
@@ -211,17 +211,17 @@ pl.tell("Welcome back ~ ", 5);
211211 - type : ` Integer `
212212 (optional) The title type, default = 2.
213213
214- | Types | Description |
215- | ----- | ------------------- |
216- | 0 | Clear |
217- | 1 | Reset |
218- | 2 | SetTitle |
219- | 3 | SetSubTitle |
220- | 4 | SetActionBar |
221- | 5 | SetDurations |
222- | 6 | TitleTextObject |
223- | 7 | SubtitleTextObject |
224- | 8 | ActionbarTextObject |
214+ | Types | Description |
215+ | ------- | --------------------- |
216+ | 0 | Clear |
217+ | 1 | Reset |
218+ | 2 | SetTitle |
219+ | 3 | SetSubTitle |
220+ | 4 | SetActionBar |
221+ | 5 | SetDurations |
222+ | 6 | TitleTextObject |
223+ | 7 | SubtitleTextObject |
224+ | 8 | ActionbarTextObject |
225225
226226 - fadeInTime : ` Integer `
227227 (optional) Fade in time, in ` Tick ` , default is 10
@@ -250,13 +250,13 @@ pl.tell("Welcome back ~ ", 5);
250250 - type : ` Integer `
251251 (Optional parameter) The type of text message to send, default is ` 0 ` .
252252
253- | Type Parameter | Message Type |
254- | -------------- | --------------------------------- |
255- | 0 | Normal Message (Raw) |
256- | 1 | Chat Message (Chat) |
257- | 4 | Music Box Message (Popup) |
258- | 5 | Message Above the Inventory (Tip) |
259- | 9 | JSON format message (JSON) |
253+ | Type Parameter | Message Type |
254+ | ---------------- | ----------------------------------- |
255+ | 0 | Normal Message (Raw) |
256+ | 1 | Chat Message (Chat) |
257+ | 4 | Music Box Message (Popup) |
258+ | 5 | Message Above the Inventory (Tip) |
259+ | 9 | JSON format message (JSON) |
260260
261261- Return value: Whether the message was sent successfully.
262262
@@ -747,11 +747,11 @@ items.
747747 - level : ` Integer `
748748 Target operation authority level
749749
750- | Player Permission Level | Corresponding Permission Authority |
751- | ----------------------- | ---------------------------------- |
752- | 0 | Ordinary Member Permissions |
753- | 1 | OP Permissions |
754- | 4 | OP + Console Permissions |
750+ | Player Permission Level | Corresponding Permission Authority |
751+ | ------------------------- | ------------------------------------ |
752+ | 0 | Ordinary Member Permissions |
753+ | 1 | OP Permissions |
754+ | 4 | OP + Console Permissions |
755755
756756- Return value: Whether the modification was successful.
757757
@@ -1559,53 +1559,51 @@ Note: If you need automatic pathfinding, consider using `Simulate Navigate Move`
15591559Reference: [ mojang-gametest docs] ( https://docs.microsoft.com/en-us/minecraft/creator/scriptapi/mojang-gametest/simulatedplayer#navigatetoblock )
15601560Return value example:
15611561
1562- ``` js
1562+ ``` json
15631563{
1564- isFullPath: false ,
1565- path
1566- :
1564+ isFullPath: false,
1565+ path: [
1566+ [
1567+ -8 ,
1568+ 0 ,
1569+ -3
1570+ ],
1571+ [
1572+ -7 ,
1573+ 0 ,
1574+ -2
1575+ ],
1576+ [
1577+ -6 ,
1578+ 0 ,
1579+ -2
1580+ ],
1581+ [
1582+ -5 ,
1583+ 0 ,
1584+ -2
1585+ ],
1586+ [
1587+ -4 ,
1588+ 0 ,
1589+ -1
1590+ ],
1591+ [
1592+ -3 ,
1593+ 0 ,
1594+ -1
1595+ ],
1596+ [
1597+ -2 ,
1598+ 0 ,
1599+ -1
1600+ ],
15671601 [
1568- [
1569- - 8 ,
1570- 0 ,
1571- - 3
1572- ],
1573- [
1574- - 7 ,
1575- 0 ,
1576- - 2
1577- ],
1578- [
1579- - 6 ,
1580- 0 ,
1581- - 2
1582- ],
1583- [
1584- - 5 ,
1585- 0 ,
1586- - 2
1587- ],
1588- [
1589- - 4 ,
1590- 0 ,
1591- - 1
1592- ],
1593- [
1594- - 3 ,
1595- 0 ,
1596- - 1
1597- ],
1598- [
1599- - 2 ,
1600- 0 ,
1601- - 1
1602- ],
1603- [
1604- - 1 ,
1605- 0 ,
1606- 0
1607- ]
1602+ -1 ,
1603+ 0 ,
1604+ 0
16081605 ]
1606+ ]
16091607}
16101608```
16111609
0 commit comments