From aeff08f5fa23a22376945a616504d735420eae50 Mon Sep 17 00:00:00 2001 From: Gjum Date: Thu, 13 Mar 2025 23:03:42 +0100 Subject: [PATCH] update dead wiki.vg links (#209) --- azalea-auth/README.md | 2 +- azalea-client/src/plugins/packet/game/mod.rs | 2 +- azalea-protocol/README.md | 4 ++-- codegen/README.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/azalea-auth/README.md b/azalea-auth/README.md index a35fee1f..4b46bfce 100755 --- a/azalea-auth/README.md +++ b/azalea-auth/README.md @@ -24,4 +24,4 @@ async fn main() { } ``` -Thanks to [wiki.vg contributors](https://wiki.vg/Microsoft_Authentication_Scheme), [Overhash](https://gist.github.com/OverHash/a71b32846612ba09d8f79c9d775bfadf), and [prismarine-auth contributors](https://github.com/PrismarineJS/prismarine-auth). +Thanks to [wiki contributors](https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Microsoft_Authentication_Scheme), [Overhash](https://gist.github.com/OverHash/a71b32846612ba09d8f79c9d775bfadf), and [prismarine-auth contributors](https://github.com/PrismarineJS/prismarine-auth). diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs index 80249cdc..c72ce551 100644 --- a/azalea-client/src/plugins/packet/game/mod.rs +++ b/azalea-client/src/plugins/packet/game/mod.rs @@ -1249,7 +1249,7 @@ impl GamePacketHandler<'_> { // TODO: handle ContainerSetData packet // this is used for various things like the furnace progress // bar - // see https://wiki.vg/Protocol#Set_Container_Property + // see https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Protocol#Set_Container_Property // as_system::>(self.ecs, |mut query| { // let inventory = query.get_mut(self.player).unwrap(); diff --git a/azalea-protocol/README.md b/azalea-protocol/README.md index e1923c9e..5b1907df 100755 --- a/azalea-protocol/README.md +++ b/azalea-protocol/README.md @@ -12,11 +12,11 @@ Unfortunately, using azalea-protocol requires Rust nightly because [specializati Adding new packets is usually pretty easy, but you'll want to have Minecraft's decompiled source code which you can obtain with tools such as [DecompilerMC](https://github.com/hube12/DecompilerMC). -1. First, you'll need the packet id. You can get this from azalea-protocol error messages or from wiki.vg. +1. First, you'll need the packet id. You can get this from azalea-protocol error messages or from [the wiki](https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge). 2. Run `python codegen/newpacket.py [packet id] [clientbound or serverbound] \[game/handshake/login/status\]`\ 3. Go to the directory where it told you the packet was generated. If there's no comments, you're done. Otherwise, keep going. 4. Find the packet in Minecraft's source code. Minecraft's packets are in the `net/minecraft/network/protocol/` directory. The state for your packet is usually `game`. -5. Add the fields from Minecraft's source code from either the read or write methods. You can look at [wiki.vg](https://wiki.vg/Protocol) if you're not sure about how a packet is structured, but be aware that wiki.vg uses different names for most things. +5. Add the fields from Minecraft's source code from either the read or write methods. You can look at [the wiki](https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Protocol) if you're not sure about how a packet is structured, but be aware that the wiki uses different names for most things. 6. Format the code, submit a pull request, and wait for it to be reviewed. ### Implementing packets diff --git a/codegen/README.md b/codegen/README.md index 341a432d..465aec47 100755 --- a/codegen/README.md +++ b/codegen/README.md @@ -40,7 +40,7 @@ If it all works, make a pull request. If the version you updated to is a snapsho At the time of writing, the following data generators are used: -- [Vanilla data generator](https://wiki.vg/Data_Generators) +- [Vanilla data generator](https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Data_Generators) - [Burger](https://github.com/mat-1/Burger) - [PixLyzer](https://gitlab.bixilon.de/bixilon/pixlyzer)