Skip to content

Commit c2794e4

Browse files
committed
Replace wiki.vg by minecraft.wiki. Close PrismarineJS#3596
1 parent 6d0dc67 commit c2794e4

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

docs/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,11 +764,11 @@ Determines what color the boss bar color is, one of `pink`, `blue`, `red`, `gree
764764

765765
#### Particle.id
766766

767-
Particle ID, as defined in the [protocol](https://wiki.vg/Protocol#Particle)
767+
Particle ID, as defined in the [protocol](https://minecraft.wiki/w/Protocol#Particle)
768768

769769
#### Particle.name
770770

771-
Particle Name, as defined in the [protocol](https://wiki.vg/Protocol#Particle)
771+
Particle Name, as defined in the [protocol](https://minecraft.wiki/w/Protocol#Particle)
772772

773773
#### Particle.position
774774

@@ -1139,7 +1139,7 @@ All scoreboards known to the bot in an object scoreboard displaySlot -> scoreboa
11391139
* `belowName` - scoreboard placed in belowName
11401140
* `sidebar` - scoreboard placed in sidebar
11411141
* `list` - scoreboard placed in list
1142-
* `0-18` - slots defined in [protocol](https://wiki.vg/Protocol#Display_Scoreboard)
1142+
* `0-18` - slots defined in [protocol](https://minecraft.wiki/w/Protocol#Display_Scoreboard)
11431143

11441144
#### bot.teams
11451145

@@ -2158,7 +2158,7 @@ mode support:
21582158
- drag clicks (5)
21592159
- double clicks (6)
21602160

2161-
Click on the current window. See details at https://wiki.vg/Protocol#Click_Container
2161+
Click on the current window. See details at https://minecraft.wiki/w/Protocol#Click_Container
21622162

21632163
Prefer using bot.simpleClick.*
21642164

docs/br/api_br.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ Esses são métodos de nível mais baixo para o inventário e podem ser úteis e
19201920

19211921
Esta função também retorna uma `Promise`, com `void` como argumento quando concluída.
19221922

1923-
Clique na janela/interface atual; os detalhes estão em https://wiki.vg/Protocol#Click_Window
1923+
Clique na janela/interface atual; os detalhes estão em https://minecraft.wiki/w/Protocol#Click_Window
19241924
* slot - número que representa a posição na janela
19251925
* mouseButton - 0 para clique esquerdo e 1 para clique direito
19261926
* mode - mineflayer só tem o modo 0 disponível

docs/es/api_es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ Todos los scoreboards que el bot conoce en un object de forma casilla de visuali
993993
* `belowName` - scoreboard que está debajo del nombre
994994
* `sidebar` - scoreboard que está en la barra del lado
995995
* `list` - scoreboard que está en la lista
996-
* `0-18` - casillas definidas en el [protocol](https://wiki.vg/Protocol#Display_Scoreboard)
996+
* `0-18` - casillas definidas en el [protocol](https://minecraft.wiki/w/Protocol#Display_Scoreboard)
997997

998998
#### bot.controlState
999999

@@ -1931,7 +1931,7 @@ Estos son métodos de un nivel más bajo para el inventario, pueden ser útils a
19311931

19321932
Esta función también devueve un `Promise`, con `void` como argumento al finalizar.
19331933

1934-
Hacer click en la ventana/interfaz actual, los detalles están en https://wiki.vg/Protocol#Click_Window
1934+
Hacer click en la ventana/interfaz actual, los detalles están en https://minecraft.wiki/w/Protocol#Click_Window
19351935
* slot - número que representa la casilla de la ventan
19361936
* mouseButton - 0 para click izquierdo, y 1 para click derecho
19371937
* mode - mineflayer solo tiene disponible el modo 0

docs/ru/api_ru.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -773,11 +773,11 @@ UUID существа, который определяется боссом.
773773

774774
#### Particle.id
775775

776-
Идентификатор частицы, который прописан в [протоколе](https://wiki.vg/Protocol#Particle).
776+
Идентификатор частицы, который прописан в [протоколе](https://minecraft.wiki/w/Protocol#Particle).
777777

778778
#### Particle.name
779779

780-
Название частицы, которое прописано в [протоколе](https://wiki.vg/Protocol#Particle).
780+
Название частицы, которое прописано в [протоколе](https://minecraft.wiki/w/Protocol#Particle).
781781

782782
#### Particle.position
783783

@@ -1170,7 +1170,7 @@ UUID существа, который определяется боссом.
11701170
* `belowName` - Cкорборд размещен снизу никнейма.
11711171
* `sidebar` - Cкорборд размещен на боковой панели.
11721172
* `list` - Cкорборд помещен в список игроков.
1173-
* `0-18` - Cлоты, определённые в [протоколе](https://wiki.vg/Protocol#Display_Scoreboard).
1173+
* `0-18` - Cлоты, определённые в [протоколе](https://minecraft.wiki/w/Protocol#Display_Scoreboard).
11741174

11751175
#### bot.teams
11761176

@@ -2120,7 +2120,7 @@ bot.once('login', () => {
21202120

21212121
Единственное действительное значение для `mode` - 0. Нажатие с шифтом или перемещение через мышь не реализовано.
21222122

2123-
Нажимает на текущее окно. Подробнее - https://wiki.vg/Protocol#Click_Container
2123+
Нажимает на текущее окно. Подробнее - https://minecraft.wiki/w/Protocol#Click_Container
21242124

21252125
Рекомендуется использовать `bot.simpleClick.*`
21262126

docs/zh/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,8 @@ Determines what color the boss bar color is, `pink`, `blue`, `red`, `green`, `y
737737
* port : 端口,默认为 25565
738738
* password : 可以省略 (如果token也被省略,那么它将尝试以离线模式连接)
739739
* host : 默认为 localhost
740-
* version : 默认为自动猜测服务器的版本。值示例:1.12.2
741-
* auth : 默认为mojang,也可以是microsoft
740+
* version : 默认为自动猜测服务器的版本。值示例:"1.12.2"
741+
* auth : 默认为"mojang",也可以是"microsoft"
742742
* clientToken : 如果给定密码,则生成
743743
* accessToken : 如果给定密码,则生成
744744
* logErrors : 默认情况下为true,捕获错误并记录它们
@@ -1041,7 +1041,7 @@ All scoreboards known to the bot in an object scoreboard displaySlot -> scoreboa
10411041
* `belowName` - scoreboard placed in belowName
10421042
* `sidebar` - scoreboard placed in sidebar
10431043
* `list` - scoreboard placed in list
1044-
* `0-18` - slots defined in [protocol](https://wiki.vg/Protocol#Display_Scoreboard)
1044+
* `0-18` - slots defined in [protocol](https://minecraft.wiki/w/Protocol#Display_Scoreboard)
10451045

10461046
#### bot.teams
10471047

@@ -2022,7 +2022,7 @@ These are lower level methods for the inventory, they can be useful sometimes bu
20222022

20232023
This function also returns a `Promise`, with `void` as its argument upon completion.
20242024

2025-
Click on the current window. See details at https://wiki.vg/Protocol#Click_Window
2025+
Click on the current window. See details at https://minecraft.wiki/w/Protocol#Click_Window
20262026

20272027
#### bot.putSelectedItemRange(start, end, window, slot)
20282028

lib/conversions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const PI_2 = Math.PI * 2
66
const TO_RAD = PI / 180
77
const TO_DEG = 1 / TO_RAD
88
const FROM_NOTCH_BYTE = 360 / 256
9-
// From wiki.vg: Velocity is believed to be in units of 1/8000 of a block per server tick (50ms)
9+
// From minecraft.wiki: Velocity is believed to be in units of 1/8000 of a block per server tick (50ms)
1010
const FROM_NOTCH_VEL = 1 / 8000
1111

1212
exports.toRadians = toRadians

lib/plugins/block_actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function inject (bot) {
103103
const entity = bot.entities[packet.entityId]
104104

105105
if (destroyStage < 0 || destroyStage > 9) {
106-
// http://wiki.vg/Protocol#Block_Break_Progress
106+
// http://minecraft.wiki/w/Protocol#Block_Break_Progress
107107
// "0-9 to set it, any other value to remove it"
108108
bot.emit('blockBreakProgressEnd', block, entity)
109109
} else {

0 commit comments

Comments
 (0)