From 114aa2ae4dbf95d7bc00831fb687899c9e9ec8d1 Mon Sep 17 00:00:00 2001 From: Misode Date: Tue, 26 Sep 2023 11:25:32 +0200 Subject: [PATCH] Update Minecraft Wiki links to new domain after fork --- README.md | 4 ++-- src/util.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a7a320d..5bc34db 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Here is where you can edit the materials that the loaded model uses. Any changes * **Smart averaging** - When performing colour-to-block conversions only block faces that are visible are used in calculating the 'average' face colour. There's no reason to turn this off apart from it being slower. * **Smoothness** - A high smoothness value will prevent block with noisey textures being used. This is very sensitive to small changes. High smoothness values will decrease the colour accuracy as under-the-hood it is trading off colour error for std error. * **Calculate lighting** - Turn this on if you want don't want night-vision in the editor. Only turn this on if you really need it as it is considerably slower. -* **Light threshold** - Requires *Calculate lighting* to be on. Will place light blocks (not the [Light Block](https://minecraft.fandom.com/wiki/Light_Block)) in places where the light value is less than the threshold. Useful in automatically lighting up the dark areas of your structure. +* **Light threshold** - Requires *Calculate lighting* to be on. Will place light blocks (not the [Light Block](https://minecraft.wiki/w/Light_Block)) in places where the light value is less than the threshold. Useful in automatically lighting up the dark areas of your structure. ### Export -* **File format** - The format to save your structure to. The [Litematica](https://www.curseforge.com/minecraft/mc-mods/litematica) format is strongly recommended and is significantly faster to export to for large structures. The Schematic exporter is useful if you still play in 1.12 as it uses the old block ID system before The Flattening, however many new blocks cannot be encoded in this format so they will be turned into Stone blocks. The NBT exporter is used for Minecraft's [structure blocks](https://minecraft.fandom.com/wiki/Structure_Block). The OBJ exporter can be used to render your structres in a program such as Blender. +* **File format** - The format to save your structure to. The [Litematica](https://www.curseforge.com/minecraft/mc-mods/litematica) format is strongly recommended and is significantly faster to export to for large structures. The Schematic exporter is useful if you still play in 1.12 as it uses the old block ID system before The Flattening, however many new blocks cannot be encoded in this format so they will be turned into Stone blocks. The NBT exporter is used for Minecraft's [structure blocks](https://minecraft.wiki/w/Structure_Block). The OBJ exporter can be used to render your structres in a program such as Blender. diff --git a/src/util.ts b/src/util.ts index 317b15d..8ce4598 100644 --- a/src/util.ts +++ b/src/util.ts @@ -11,7 +11,7 @@ export namespace AppUtil { * For example `namespaceBlock('stone')` returns `'minecraft:stone'` */ export function namespaceBlock(blockName: string): AppTypes.TNamespacedBlockName { - // https://minecraft.fandom.com/wiki/Resource_location#Namespaces + // https://minecraft.wiki/w/Resource_location#Namespaces return isNamespacedBlock(blockName) ? blockName : ('minecraft:' + blockName); }