Skip to content

Commit 08208e2

Browse files
authored
Update Minecraft Wiki links to new domain after fork (#3203)
* Update Minecraft Wiki links to new domain after fork * Update minecraftwiki.net links
1 parent 7016c19 commit 08208e2

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ Fires when a note block goes off somewhere.
13961396
* `pitch`: The pitch of the note (between 0-24 inclusive where 0 is the
13971397
lowest and 24 is the highest). More information about how the pitch values
13981398
correspond to notes in real life are available on the
1399-
[official Minecraft wiki](http://www.minecraftwiki.net/wiki/Note_Block).
1399+
[official Minecraft wiki](http://minecraft.wiki/w/Note_Block).
14001400

14011401
#### "pistonMove" (block, isPulling, direction)
14021402

docs/es/api_es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ Se emite cuando un bloque de notas se dispara en algún sitio
12891289
* `instrument`:
12901290
- `id`: id con números enteros
12911291
- `name`: uno de estos [`harp`, `doubleBass`, `snareDrum`, `sticks`, `bassDrum`]. (`harpa`, `dobleBajo`, `tambor`, `palos`, `tamborBajo`)
1292-
* `pitch`: El tono de la nota (entre 0 y 24 ambos incluídos donde 0 es el más bajo y 24 es el más alto). Se puede leer más (sobre como los valores de los tonos corresponden a las notas en la vida real) aquí: [official Minecraft wiki](http://www.minecraftwiki.net/wiki/Note_Block).
1292+
* `pitch`: El tono de la nota (entre 0 y 24 ambos incluídos donde 0 es el más bajo y 24 es el más alto). Se puede leer más (sobre como los valores de los tonos corresponden a las notas en la vida real) aquí: [official Minecraft wiki](http://minecraft.wiki/w/Note_Block).
12931293

12941294
#### "pistonMove" (block, isPulling, direction)
12951295

docs/ru/api_ru.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ UUID существа, который определяется боссом.
14201420
* `instrument`: Объект
14211421
- `id` : ID в виде `integer`.
14221422
- `name` : Один из видов звука.
1423-
* `pitch` - Высота ноты (от 0 до 24 включительно, где 0 - это самая низкая, а 24 - самая высокая). Больше информации об этом можно найти на [оффициальной Minecraft википедии](http://www.minecraftwiki.net/wiki/Note_Block).
1423+
* `pitch` - Высота ноты (от 0 до 24 включительно, где 0 - это самая низкая, а 24 - самая высокая). Больше информации об этом можно найти на [оффициальной Minecraft википедии](http://minecraft.wiki/w/Note_Block).
14241424

14251425
#### "pistonMove" (block, isPulling, direction)
14261426

docs/zh/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ comparison.
13081308
* `pitch`: The pitch of the note (between 0-24 inclusive where 0 is the
13091309
lowest and 24 is the highest). More information about how the pitch values
13101310
correspond to notes in real life are available on the
1311-
[official Minecraft wiki](http://www.minecraftwiki.net/wiki/Note_Block).
1311+
[official Minecraft wiki](http://minecraft.wiki/w/Note_Block).
13121312

13131313
#### "pistonMove" (block, isPulling, direction)
13141314

lib/plugins/explosion.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { Vec3 } = require('vec3')
22

33
module.exports = inject
44

5-
// https://minecraft.fandom.com/wiki/Explosion
5+
// https://minecraft.wiki/w/Explosion
66
function calcExposure (playerPos, explosionPos, world) {
77
const dx = 1 / (0.6 * 2 + 1)
88
const dy = 1 / (1.8 * 2 + 1)
@@ -29,14 +29,14 @@ function calcExposure (playerPos, explosionPos, world) {
2929
return exposed / sampled
3030
}
3131

32-
// https://minecraft.fandom.com/wiki/Armor#Damage_protection
32+
// https://minecraft.wiki/w/Armor#Damage_protection
3333
function getDamageAfterAbsorb (damages, armorValue, toughness) {
3434
const var3 = 2 + toughness / 4
3535
const var4 = Math.min(Math.max(armorValue - damages / var3, armorValue * 0.2), 20)
3636
return damages * (1 - var4 / 25)
3737
}
3838

39-
// https://minecraft.fandom.com/wiki/Attribute#Operations
39+
// https://minecraft.wiki/w/Attribute#Operations
4040
function getAttributeValue (prop) {
4141
let X = prop.value
4242
for (const mod of prop.modifiers) {

lib/plugins/inventory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = inject
1010
const DIG_CLICK_TIMEOUT = 500
1111
// The number of milliseconds to wait for the server to respond with consume completion.
1212
// This number is larger than the eat time of 1.61 seconds to account for latency and low tps.
13-
// The eat time comes from https://minecraft.fandom.com/wiki/Food#Usage
13+
// The eat time comes from https://minecraft.wiki/w/Food#Usage
1414
const CONSUME_TIMEOUT = 2500
1515
// milliseconds to wait for the server to respond to a window click transaction
1616
const WINDOW_TIMEOUT = 5000

0 commit comments

Comments
 (0)