From 219527dcb245255916619a865a20654fad9c56d8 Mon Sep 17 00:00:00 2001 From: Snowiiii Date: Tue, 3 Dec 2024 23:36:11 +0100 Subject: [PATCH] Remove all wiki.vg mentions wiki.vg is gone --- pumpkin-core/src/text/README.md | 1 - pumpkin-core/src/text/mod.rs | 1 - pumpkin-inventory/src/lib.rs | 1 - pumpkin-inventory/src/player.rs | 3 --- pumpkin-nbt/src/lib.rs | 2 -- 5 files changed, 8 deletions(-) diff --git a/pumpkin-core/src/text/README.md b/pumpkin-core/src/text/README.md index 85c1f0edb..421edeee8 100644 --- a/pumpkin-core/src/text/README.md +++ b/pumpkin-core/src/text/README.md @@ -43,4 +43,3 @@ Here we build Mojang's Textcomponent, Which is used across many places, Often wh - [x] Alt - [x] Illageralt -Reference: https://wiki.vg/Text_formatting \ No newline at end of file diff --git a/pumpkin-core/src/text/mod.rs b/pumpkin-core/src/text/mod.rs index 695f04e90..bdab8b531 100644 --- a/pumpkin-core/src/text/mod.rs +++ b/pumpkin-core/src/text/mod.rs @@ -18,7 +18,6 @@ pub mod style; pub struct Text<'a>(pub Box>); // Represents a Text component -// Reference: https://wiki.vg/Text_formatting#Text_components #[derive(Clone, Debug, Deserialize, PartialEq, Eq, Hash)] #[serde(rename_all = "camelCase")] pub struct TextComponent<'a> { diff --git a/pumpkin-inventory/src/lib.rs b/pumpkin-inventory/src/lib.rs index 96731c801..bf56dca63 100644 --- a/pumpkin-inventory/src/lib.rs +++ b/pumpkin-inventory/src/lib.rs @@ -15,7 +15,6 @@ pub mod window_property; pub use error::InventoryError; pub use open_container::*; -/// https://wiki.vg/Inventory #[derive(Debug, FromPrimitive, Clone, Copy, Eq, PartialEq)] #[repr(u8)] pub enum WindowType { diff --git a/pumpkin-inventory/src/player.rs b/pumpkin-inventory/src/player.rs index 5943b04b3..3a230385c 100644 --- a/pumpkin-inventory/src/player.rs +++ b/pumpkin-inventory/src/player.rs @@ -43,9 +43,6 @@ impl PlayerInventory { } /// Set the contents of an item in a slot /// - /// ## Slot - /// The slot according to https://wiki.vg/Inventory#Player_Inventory - /// /// ## Item /// The optional item to place in the slot /// diff --git a/pumpkin-nbt/src/lib.rs b/pumpkin-nbt/src/lib.rs index 9bfec0ff5..b2be0d657 100644 --- a/pumpkin-nbt/src/lib.rs +++ b/pumpkin-nbt/src/lib.rs @@ -91,7 +91,6 @@ impl Nbt { } /// Reads NBT tag, that doesn't contain the name of root compound. - /// Used in [Network NBT](https://wiki.vg/NBT#Network_NBT_(Java_Edition)). pub fn read_unnamed(bytes: &mut impl Buf) -> Result { let tag_type_id = bytes.get_u8(); @@ -124,7 +123,6 @@ impl Nbt { } /// Writes NBT tag, without name of root compound. - /// Used in [Network NBT](https://wiki.vg/NBT#Network_NBT_(Java_Edition)). pub fn write_unnamed(&self) -> Bytes { let mut bytes = BytesMut::new(); bytes.put_u8(COMPOUND_ID);