diff options
| -rw-r--r-- | azalea-auth/README.md | 2 | ||||
| -rw-r--r-- | azalea-client/src/plugins/packet/game/mod.rs | 2 | ||||
| -rw-r--r-- | azalea-core/src/bitset.rs | 11 | ||||
| -rw-r--r-- | azalea-entity/src/attributes.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_add_entity.rs | 2 |
5 files changed, 10 insertions, 9 deletions
diff --git a/azalea-auth/README.md b/azalea-auth/README.md index 00c6d84a..8f7cd46b 100644 --- a/azalea-auth/README.md +++ b/azalea-auth/README.md @@ -26,4 +26,4 @@ async fn main() { } ``` -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). +Thanks to [wiki contributors](https://minecraft.wiki/w/Microsoft_authentication), [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 d786d238..7c93aa9b 100644 --- a/azalea-client/src/plugins/packet/game/mod.rs +++ b/azalea-client/src/plugins/packet/game/mod.rs @@ -1233,7 +1233,7 @@ impl GamePacketHandler<'_> { // TODO: handle ContainerSetData packet // this is used for various things like the furnace progress // bar - // see https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Protocol#Set_Container_Property + // see https://minecraft.wiki/w/Java_Edition_protocol/Packets#Set_Container_Property // as_system::<Query<&mut Inventory>>(self.ecs, |mut query| { // let inventory = query.get_mut(self.player).unwrap(); diff --git a/azalea-core/src/bitset.rs b/azalea-core/src/bitset.rs index ccc43ba0..1cac4a9c 100644 --- a/azalea-core/src/bitset.rs +++ b/azalea-core/src/bitset.rs @@ -124,14 +124,15 @@ impl From<Vec<u8>> for BitSet { } } -/// A list of bits with a known fixed size. +/// A compact fixed-size array of bits. /// -/// The `N` is the number of bytes reserved for the bitset. You're encouraged to +/// The `N` is the number of bits reserved for the bitset. You're encouraged to /// use it like `FixedBitSet<20>` if you need 20 bits. /// -/// Note that this is primarily meant for fast serialization and deserialization -/// for Minecraft. An alternative that would be ~20% faster for accessing data -/// could store it interally as `usize`s instead of `u8`s. +/// Note that this is optimized for fast serialization and deserialization for +/// Minecraft, and may not be as performant as it could be for other purposes. +/// Notably, the internal representation is an array of `u8`s even though +/// `usize` would be slightly faster. #[derive(Debug, Clone, PartialEq, Eq, Hash)] pub struct FixedBitSet<const N: usize> where diff --git a/azalea-entity/src/attributes.rs b/azalea-entity/src/attributes.rs index d3881147..12c9b908 100644 --- a/azalea-entity/src/attributes.rs +++ b/azalea-entity/src/attributes.rs @@ -1,4 +1,4 @@ -//! See <https://minecraft.fandom.com/wiki/Attribute>. +//! See <https://minecraft.wiki/w/Attribute>. use std::collections::{HashMap, hash_map}; diff --git a/azalea-protocol/src/packets/game/c_add_entity.rs b/azalea-protocol/src/packets/game/c_add_entity.rs index 008d6d28..b2370f3f 100644 --- a/azalea-protocol/src/packets/game/c_add_entity.rs +++ b/azalea-protocol/src/packets/game/c_add_entity.rs @@ -22,7 +22,7 @@ pub struct ClientboundAddEntity { /// encouraged to use [`MinecraftEntityId::from`] for. Other entities may /// treat it as a block state or enum variant. /// - /// See [the wiki](https://minecraft.wiki/w/Minecraft_Wiki:Projects/wiki.vg_merge/Object_Data) + /// See [the wiki](https://minecraft.wiki/w/Java_Edition_protocol/Object_data) /// for more information about this field. #[var] pub data: u32, |
