Skip to content

Commit

Permalink
Replace fandom reference with new wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Sep 26, 2023
1 parent a6439e3 commit 3d0a06c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion crates/valence_anvil/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# valence_anvil

Support for Minecraft's [anvil file format](https://minecraft.fandom.com/wiki/Anvil_file_format).
Support for Minecraft's [anvil file format](https://minecraft.wiki/w/Anvil_file_format).
2 changes: 1 addition & 1 deletion crates/valence_ident/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# valence_ident

A library for parsing Minecraft's [resource locations](https://minecraft.fandom.com/wiki/Resource_location) (also known as "resource identifiers" and "namespaced IDs")
A library for parsing Minecraft's [resource locations](https://minecraft.wiki/w/Resource_location) (also known as "resource identifiers" and "namespaced IDs")
2 changes: 1 addition & 1 deletion crates/valence_nbt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A library for encoding and decoding Minecraft's [Named Binary Tag] (NBT)
format.

[Named Binary Tag]: https://minecraft.fandom.com/wiki/NBT_format
[Named Binary Tag]: https://minecraft.wiki/w/NBT_format

# Features
- `binary`: Adds support for serializing and deserializing in Java edition's binary format.
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ pub struct PlayerSampleEntry {
/// The name of the player.
///
/// This string can contain
/// [legacy formatting codes](https://minecraft.fandom.com/wiki/Formatting_codes).
/// [legacy formatting codes](https://minecraft.wiki/w/Formatting_codes).
pub name: String,
/// The player UUID.
pub id: Uuid,
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_text/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# valence_text

A library for parsing and writing Minecraft's [JSON text format](https://minecraft.fandom.com/wiki/Raw_JSON_text_format)
A library for parsing and writing Minecraft's [JSON text format](https://minecraft.wiki/w/Raw_JSON_text_format)
12 changes: 6 additions & 6 deletions crates/valence_text/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub use into_text::IntoText;
///
/// For more information, see the relevant [Minecraft Wiki article].
///
/// [Minecraft Wiki article]: https://minecraft.fandom.com/wiki/Raw_JSON_text_format
/// [Minecraft Wiki article]: https://minecraft.wiki/w/Raw_JSON_text_format
///
/// # Examples
///
Expand Down Expand Up @@ -116,11 +116,11 @@ pub enum TextContent {
ScoreboardValue { score: ScoreboardValueContent },
/// Displays the name of one or more entities found by a [`selector`].
///
/// [`selector`]: https://minecraft.fandom.com/wiki/Target_selectors
/// [`selector`]: https://minecraft.wiki/w/Target_selectors
EntityNames {
/// A string containing a [`selector`].
///
/// [`selector`]: https://minecraft.fandom.com/wiki/Target_selectors
/// [`selector`]: https://minecraft.wiki/w/Target_selectors
selector: Cow<'static, str>,
/// An optional custom separator used when the selector returns multiple
/// entities. Defaults to the ", " text with gray color.
Expand All @@ -133,7 +133,7 @@ pub enum TextContent {
/// A [`keybind identifier`], to be displayed as the name of the button
/// that is currently bound to that action.
///
/// [`keybind identifier`]: https://minecraft.fandom.com/wiki/Controls#Configurable_controls
/// [`keybind identifier`]: https://minecraft.wiki/w/Controls#Configurable_controls
keybind: Cow<'static, str>,
},
/// Displays NBT values from block entities.
Expand Down Expand Up @@ -171,7 +171,7 @@ pub struct ScoreboardValueContent {
/// The name of the score holder whose score should be displayed. This
/// can be a [`selector`] or an explicit name.
///
/// [`selector`]: https://minecraft.fandom.com/wiki/Target_selectors
/// [`selector`]: https://minecraft.wiki/w/Target_selectors
pub name: Cow<'static, str>,
/// The internal name of the objective to display the player's score in.
pub objective: Cow<'static, str>,
Expand Down Expand Up @@ -301,7 +301,7 @@ impl Text {
/// Creates a text component for a keybind. The keybind should be a valid
/// [`keybind identifier`].
///
/// [`keybind identifier`]: https://minecraft.fandom.com/wiki/Controls#Configurable_controls
/// [`keybind identifier`]: https://minecraft.wiki/w/Controls#Configurable_controls
pub fn keybind(keybind: impl Into<Cow<'static, str>>) -> Self {
Self(Box::new(TextInner {
content: TextContent::Keybind {
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_world_border/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# valence_world_border

Contains the plugin for working with Minecraft's [world border](https://minecraft.fandom.com/wiki/World_border).
Contains the plugin for working with Minecraft's [world border](https://minecraft.wiki/w/World_border).

To enable world border functionality for a layer, insert the [`WorldBorderBundle`] component on the layer entity.
Note that the layer entity must have the [`ChunkLayer`] component for this to work.
Expand Down
2 changes: 1 addition & 1 deletion crates/valence_world_border/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use valence_server::protocol::packets::play::{
use valence_server::protocol::WritePacket;
use valence_server::{ChunkLayer, Server};

// https://minecraft.fandom.com/wiki/World_border
// https://minecraft.wiki/w/World_border
pub const DEFAULT_PORTAL_LIMIT: i32 = 29999984;
pub const DEFAULT_DIAMETER: f64 = (DEFAULT_PORTAL_LIMIT * 2) as f64;
pub const DEFAULT_WARN_TIME: i32 = 15;
Expand Down

0 comments on commit 3d0a06c

Please sign in to comment.