Skip to content

Commit

Permalink
(1.18.x) Update Minecraft Wiki links to new domain (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spongecade authored Sep 27, 2023
1 parent b333582 commit 988d9c1
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/internationalization.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ The first parameter of the `TranslatableComponent(String, Object...)` constructo

- `createComponentTranslation(CommandSource, String, Object...)` creates a localized and formatted `BaseComponent` depending on a receiver. The localization and formatting is done eagerly if the receiver is a vanilla client. If not, the localization and formatting is done lazily with a `TranslatableComponent`. This is only useful if the server should allow vanilla clients to connect.

[langs]: https://minecraft.gamepedia.com/Language#Available_languages
[langs]: https://minecraft.wiki/w/Language#Available_languages
[converter]: https://tterrag.com/lang2json/
2 changes: 1 addition & 1 deletion docs/datagen/client/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ this.add("object.examplemod.example_object", "Example Object");
```

[lang]: ../../concepts/internationalization.md
[locale]: https://minecraft.fandom.com/wiki/Language#Languages
[locale]: https://minecraft.wiki/w/Language#Languages
[datagen]: ../index.md#data-providers
2 changes: 1 addition & 1 deletion docs/datagen/client/modelproviders.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public void run(HashCache cache) throws IOException {
[color]: ../../resources/client/models/tinting.md#blockcoloritemcolor
[overrides]: ../../resources/client/models/itemproperties.md
[blockstateprovider]: #block-state-provider
[blockstate]: https://minecraft.fandom.com/wiki/Model#Block_states
[blockstate]: https://minecraft.wiki/w/Model#Block_states
[blockmodels]: #blockmodelprovider
[itemmodels]: #itemmodelprovider
[properties]: ../../blocks/states.md#implementing-block-states
Expand Down
4 changes: 2 additions & 2 deletions docs/datagen/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ The `GatherDataEvent` is fired on the mod event bus when the data generator is b
* [`AdvancementProvider`][advgen] - for [advancements]; override `#registerAdvancements`

[langgen]: ./client/localization.md
[lang]: https://minecraft.fandom.com/wiki/Language
[lang]: https://minecraft.wiki/w/Language
[soundgen]: ./client/sounds.md
[sounds]: https://minecraft.fandom.com/wiki/Sounds.json
[sounds]: https://minecraft.wiki/w/Sounds.json
[modelgen]: ./client/modelproviders.md
[models]: ../resources/client/models/index.md
[itemmodelgen]: ./client/modelproviders.md#itemmodelprovider
Expand Down
2 changes: 1 addition & 1 deletion docs/gameeffects/sounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Note that each takes a `SoundEvent`, the ones registered above. Additionally, th
- **Usage**: Just like the ones in `Level`, these two overrides in the player classes seem to be for code that runs together on both sides. The client handles playing the sound to the user, while the server handles everyone else hearing it without re-playing to the original user.

[loc]: ../concepts/resources.md#resourcelocation
[wiki]: https://minecraft.gamepedia.com/Sounds.json
[wiki]: https://minecraft.wiki/w/Sounds.json
[datagen]: ../datagen/client/sounds.md
[registration]: ../concepts/registries.md#methods-for-registering
[sides]: ../concepts/sides.md
4 changes: 2 additions & 2 deletions docs/resources/client/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ You can then follow the steps found [at the Minecraft Wiki][createrespack] to cr

Additional reading: [Resource Locations][resourcelocation]

[respack]: https://minecraft.fandom.com/wiki/Resource_Pack
[createrespack]: https://minecraft.fandom.com/wiki/Tutorials/Creating_a_resource_pack
[respack]: https://minecraft.wiki/w/Resource_Pack
[createrespack]: https://minecraft.wiki/w/Tutorials/Creating_a_resource_pack
[resourcelocation]: ../../concepts/resources.md#ResourceLocation
8 changes: 4 additions & 4 deletions docs/resources/client/models/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Models and textures are linked through [`ResourceLocation`][resloc]s but are sto

Textures, like models, are contained within resource packs and are referred to with `ResourceLocation`s. In Minecraft, the [UV coordinates][uv] (0,0) are taken to mean the **top-left** corner. UVs are *always* from 0 to 16. If a texture is larger or smaller, the coordinates are scaled to fit. A texture should also be square, and the side length of a texture should be a power of two, as doing otherwise breaks mipmapping (e.g. 1x1, 2x2, 8x8, 16x16, and 128x128 are good. 5x5 and 30x30 are not recommended because they are not powers of 2. 5x10 and 4x8 are completely broken as they are not square.). Textures should only ever be not a square if it is [animated][animated].

[models]: https://minecraft.fandom.com/wiki/Model#File_path
[models]: https://minecraft.wiki/w/Model#File_path
[resloc]: ../../../concepts/resources.md#resourcelocation
[statemodel]: https://minecraft.fandom.com/wiki/Model#Block_states
[itemmodels]: https://minecraft.fandom.com/wiki/Model#Item_models
[statemodel]: https://minecraft.wiki/w/Model#Block_states
[itemmodels]: https://minecraft.wiki/w/Model#Item_models
[state]: ../../../blocks/states.md
[uv]: https://en.wikipedia.org/wiki/UV_mapping
[animated]: https://minecraft.fandom.com/wiki/Resource_Pack?so=search#Animation
[animated]: https://minecraft.wiki/w/Resource_Pack?so=search#Animation
2 changes: 1 addition & 1 deletion docs/resources/client/models/itemproperties.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ private void setup(final FMLClientSetupEvent event)
}
```

[format]: https://minecraft.gamepedia.com/Model#Item_models
[format]: https://minecraft.wiki/w/Model#Item_models
2 changes: 1 addition & 1 deletion docs/resources/client/models/tinting.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ public void registerItemColors(ColorHandlerEvent.Item event){
}
```

[wiki]: https://minecraft.gamepedia.com/Model#Block_models
[wiki]: https://minecraft.wiki/w/Model#Block_models
8 changes: 4 additions & 4 deletions docs/resources/server/advancements.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ When an advancement is completed, rewards may be given out. These can be a combi
}
```

[datapack]: https://minecraft.fandom.com/wiki/Data_pack
[wiki]: https://minecraft.fandom.com/wiki/Advancement/JSON_format
[datapack]: https://minecraft.wiki/w/Data_pack
[wiki]: https://minecraft.wiki/w/Advancement/JSON_format
[conditional]: ./conditional.md#implementations
[function]: https://minecraft.fandom.com/wiki/Function_(Java_Edition)
[triggers]: https://minecraft.fandom.com/wiki/Advancement/JSON_format#List_of_triggers
[function]: https://minecraft.wiki/w/Function_(Java_Edition)
[triggers]: https://minecraft.wiki/w/Advancement/JSON_format#List_of_triggers
4 changes: 2 additions & 2 deletions docs/resources/server/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ You can then follow the steps found [here][createdatapack] to create any datapac

Additional reading: [Resource Locations][resourcelocation]

[datapack]: https://minecraft.fandom.com/wiki/Data_pack
[createdatapack]: https://minecraft.fandom.com/wiki/Tutorials/Creating_a_data_pack
[datapack]: https://minecraft.wiki/w/Data_pack
[createdatapack]: https://minecraft.wiki/w/Tutorials/Creating_a_data_pack
[resourcelocation]: ../../concepts/resources.md#ResourceLocation
4 changes: 2 additions & 2 deletions docs/resources/server/loottables.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Forge adds an additional `LootItemCondition` which checks whether the given `Loo
}
```

[datapack]: https://minecraft.fandom.com/wiki/Data_pack
[wiki]: https://minecraft.fandom.com/wiki/Loot_table
[datapack]: https://minecraft.wiki/w/Data_pack
[wiki]: https://minecraft.wiki/w/Loot_table
[event]: ../../concepts/events.md#creating-an-event-handler
[glm]: ./glm.md
2 changes: 1 addition & 1 deletion docs/resources/server/recipes/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ All custom recipes, regardless of input or output data, can be created into a `F

[nonforge]: ../../../concepts/registries.md#registries-that-arent-forge-registries
[forge]: ../../../concepts/registries.md#methods-for-registering
[json]: https://minecraft.fandom.com/wiki/Recipe#JSON_format
[json]: https://minecraft.wiki/w/Recipe#JSON_format
[manager]: ./index.md#recipe-manager
[datagen]: ../../../datagen/server/recipes.md#custom-recipe-serializers
4 changes: 2 additions & 2 deletions docs/resources/server/recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ Larger crafting grids in recipes can be [data generated][datagen].

A few additional [ingredient types][ingredients] are added to allow recipes to have inputs which check tag data or combine multiple ingredients into a single input checker.

[datapack]: https://minecraft.fandom.com/wiki/Data_pack
[wiki]: https://minecraft.fandom.com/wiki/Recipe
[datapack]: https://minecraft.wiki/w/Data_pack
[wiki]: https://minecraft.wiki/w/Recipe
[advancement]: ../advancements.md
[datagen]: ../../../datagen/server/recipes.md
[cap]: ../../../datastorage/capabilities.md
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/server/recipes/ingredients.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public IIngredientSerializer<? extends Ingredient> getSerializer() {
!!! tip
If using `FMLCommonSetupEvent` to register an ingredient serializer, it must be enqueued to the synchronous work queue via `FMLCommonSetupEvent#enqueueWork` as `CraftingHelper#register` is not thread-safe.

[recipes]: https://minecraft.fandom.com/wiki/Recipe#List_of_recipe_types
[recipes]: https://minecraft.wiki/w/Recipe#List_of_recipe_types
[nbt]: #nbtingredient
[serializer]: #iingredientserializer
[compound]: #compoundingredient
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/server/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Using Tags in Recipes and Advancements
Tags are directly supported by Vanilla. See the respective Vanilla wiki pages for [recipes][] and [advancements][] for usage details.

[datapack]: ./index.md
[tags]: https://minecraft.gamepedia.com/Tag#JSON_format
[taglist]: https://minecraft.gamepedia.com/Tag#List_of_tags
[tags]: https://minecraft.wiki/w/Tag#JSON_format
[taglist]: https://minecraft.wiki/w/Tag#List_of_tags
[forgetags]: https://github.com/MinecraftForge/MinecraftForge/tree/1.18.x/src/generated/resources/data/forge/tags
[recipes]: https://minecraft.gamepedia.com/Recipe#JSON_format
[advancements]: https://minecraft.gamepedia.com/Advancements
[recipes]: https://minecraft.wiki/w/Recipe#JSON_format
[advancements]: https://minecraft.wiki/w/Advancements

0 comments on commit 988d9c1

Please sign in to comment.