Skip to content

Commit

Permalink
Remove all wiki.vg mentions
Browse files Browse the repository at this point in the history
wiki.vg is gone
  • Loading branch information
Snowiiii committed Dec 3, 2024
1 parent 35afc0b commit 219527d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion pumpkin-core/src/text/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion pumpkin-core/src/text/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ pub mod style;
pub struct Text<'a>(pub Box<TextComponent<'a>>);

// 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> {
Expand Down
1 change: 0 additions & 1 deletion pumpkin-inventory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 0 additions & 3 deletions pumpkin-inventory/src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down
2 changes: 0 additions & 2 deletions pumpkin-nbt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Nbt, Error> {
let tag_type_id = bytes.get_u8();

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 219527d

Please sign in to comment.