Skip to content

Commit

Permalink
[0.5.0] Update Minecraft wiki links to new domain (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spongecade authored Sep 28, 2023
1 parent 50aa6fc commit 1b46499
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::util::zero_copy_deserialize_traits::ZeroCopyDeserializable;

/// References:
/// - Vanilla deserializer: `net.minecraft.client.renderer.block.model.BlockModelDefinition`
/// - https://minecraft.fandom.com/wiki/Tutorials/Models#Block_states
/// - https://minecraft.wiki/w/Tutorials/Models#Block_states
#[derive(Debug, Deserialize, Serialize)]
pub(super) struct BlockState<'data> {
// TODO docs: must be present if not multipart. The game falls back silently if some variant is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ use crate::{
/// (used for both item and block models)
/// - `net.minecraft.client.resources.model.ModelBakery#BUILTIN_*`
/// (look at `GENERATION_MARKER` and `BLOCK_ENTITY_MARKER` usages at `ModelBakery`)
/// - https://minecraft.fandom.com/wiki/Tutorials/Models#Block_models
/// - https://minecraft.fandom.com/wiki/Tutorials/Models#Item_models
/// - https://minecraft.wiki/w/Tutorials/Models#Block_models
/// - https://minecraft.wiki/w/Tutorials/Models#Item_models
#[derive(Debug, Deserialize, Serialize)]
pub(super) struct ItemOrBlockModel<'data> {
/// The location of the parent model of this model.
Expand Down
4 changes: 2 additions & 2 deletions packages/packsquash/src/pack_processor/java/pack_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ mod metadata_section;
/// root folder of a pack.
///
/// References:
/// - <https://minecraft.fandom.com/wiki/Resource_Pack#Contents>
/// - <https://minecraft.fandom.com/wiki/Data_Pack#pack.mcmeta>
/// - <https://minecraft.wiki/w/Resource_Pack#Contents>
/// - <https://minecraft.wiki/w/Data_Pack#pack.mcmeta>
/// - Minecraft class `net.minecraft.server.packs.metadata.pack.PackMetadataSectionSerializer`
/// - Minecraft class `net.minecraft.server.packs.resources.ResourceFilterSection`
pub struct PackMeta {
Expand Down

0 comments on commit 1b46499

Please sign in to comment.