Skip to content

Commit

Permalink
fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabeHunger54 committed Jan 29, 2024
1 parent a748304 commit 4b2d021
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/datagen/server/loottables.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ Scoreboard providers are a special type of number providers defined by `Scoreboa
[loottable]: ../../resources/server/loottables.md
[datagen]: ../index.md#data-providers
[registered]: ../../concepts/registries.md#registries-that-arent-forge-registries
[registered]: ../../concepts/registries.md
2 changes: 1 addition & 1 deletion docs/datagen/server/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ public AttributeTagsProvider(PackOutput output, CompletableFuture<HolderLookup.P

[tags]: ../../resources/server/tags.md
[datagen]: ../index.md#data-providers
[custom]: ../../concepts/registries.md#creating-custom-forge-registries
[custom]: ../../concepts/registries.md#custom-registries
2 changes: 1 addition & 1 deletion docs/gettingstarted/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Once accepted, the server will load and become available under `localhost` (or `
You should always test your mod in a dedicated server environment. This includes [client-only mods][client], as these should not do anything when loaded on the server.
:::

[client]: ../concepts/sides.md#writing-one-sided-mods
[client]: ../concepts/sides.md
[eclipse]: https://www.eclipse.org/downloads/
[git]: https://www.git-scm.com/
[github]: https://github.com/
Expand Down
5 changes: 2 additions & 3 deletions docs/gettingstarted/modfiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Mods can specify their dependencies, which are checked by NeoForge before loadin
| `reason` | string | *nothing* | An optional user-facing message to describe why this dependency is required, or why it is incompatible. |
| `versionRange` | string | `""` | The acceptable version range of the language loader, expressed as a [Maven Version Range][mvr]. An empty string matches any version. | `versionRange="[1, 2)"` |
| `ordering` | string | `"NONE"` | Defines if the mod must load before (`"BEFORE"`) or after (`"AFTER"`) this dependency. If the ordering does not matter, return `"NONE"` | `ordering="AFTER"` |
| `side` | string | `"BOTH"` | The [physical side][dist] the dependency must be present on: `"CLIENT"`, `"SERVER"`, or `"BOTH"`. | `side="CLIENT"` |
| `side` | string | `"BOTH"` | The [physical side][sides] the dependency must be present on: `"CLIENT"`, `"SERVER"`, or `"BOTH"`. | `side="CLIENT"` |
| `referralUrl` | string | *nothing* | A URL to the download page of the dependency. Currently unused. | `referralUrl="https://library.example.com/"` |

:::danger
Expand Down Expand Up @@ -163,7 +163,6 @@ There must be a 1-to-1 matching of mods in the `mods.toml` file and `@Mod` entry

[array]: https://toml.io/en/v1.0.0#array-of-tables
[atlasviewer]: https://github.com/XFactHD/AtlasViewer/blob/1.20.2/neoforge/src/main/resources/META-INF/services/xfacthd.atlasviewer.platform.services.IPlatformHelper
[dist]: ../concepts/sides.md#different-kinds-of-sides
[events]: ../concepts/events.md
[features]: #features
[group]: #the-group-id
Expand All @@ -181,7 +180,7 @@ There must be a 1-to-1 matching of mods in the `mods.toml` file and `@Mod` entry
[packaging]: ./structuring.md#packaging
[registration]: ../concepts/registries.md#deferredregister
[serviceload]: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/ServiceLoader.html#load(java.lang.Class)
[sides]: ../concepts/sides.md#writing-one-sided-mods
[sides]: ../concepts/sides.md
[spdx]: https://spdx.org/licenses/
[toml]: https://toml.io/
[update]: ../misc/updatechecker.md
Expand Down
2 changes: 1 addition & 1 deletion docs/gui/screens.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,4 @@ private void clientSetup(FMLClientSetupEvent event) {
[argb]: https://en.wikipedia.org/wiki/RGBA_color_model#ARGB32
[component]: ../concepts/internationalization.md#translatablecontents
[keymapping]: ../misc/keymappings.md#inside-a-gui
[modbus]: ../concepts/events.md#mod-event-bus
[modbus]: ../concepts/events.md#event-buses
2 changes: 1 addition & 1 deletion docs/items/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public static final Supplier<CreativeModeTab> EXAMPLE_TAB = CREATIVE_MODE_TABS.r
[interactionpipeline]: interactionpipeline.md
[loottables]: ../resources/server/loottables.md
[mobeffectinstance]: mobeffects.md#mobeffectinstances
[modbus]: ../concepts/events.md#mod-event-bus
[modbus]: ../concepts/events.md#event-buses
[nbt]: ../datastorage/nbt.md
[registering]: ../concepts/registries.md#methods-for-registering
[resources]: ../resources/client/index.md
Expand Down
2 changes: 1 addition & 1 deletion docs/items/mobeffects.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ BrewingRecipeRegistry.addRecipe(
This should be called some time during setup, for example during [`FMLCommonSetupEvent`][commonsetup]. Make sure to wrap this into an `event.enqueueWork()` call, as the brewing recipe registry is not thread-safe.

[block]: ../blocks/index.md
[commonsetup]: ../concepts/events.md#mod-event-bus
[commonsetup]: ../concepts/events.md#event-buses
[datapack]: ../resources/server/index.md
[events]: ../concepts/events.md
[item]: index.md
Expand Down
2 changes: 1 addition & 1 deletion docs/misc/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ These events are called for all configurations for the mod; the `ModConfig` obje
[toml]: https://toml.io/
[nightconfig]: https://github.com/TheElectronWill/night-config
[type]: https://github.com/neoforged/FancyModLoader/blob/19d6326b810233e683f1beb3d28e41372e1e89d1/core/src/main/java/net/neoforged/fml/config/ModConfig.java#L83-L111
[events]: ../concepts/events.md#creating-an-event-handler
[events]: ../concepts/events.md#registering-an-event-handler
2 changes: 1 addition & 1 deletion docs/misc/gametest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -284,5 +284,5 @@ property 'forge.enableGameTest', 'true'

[test]: #running-game-tests
[namespaces]: #enabling-other-namespaces
[event]: ../concepts/events.md#creating-an-event-handler
[event]: ../concepts/events.md#registering-an-event-handler
[buildscript]: ../gettingstarted/index.md#simple-buildgradle-customizations
4 changes: 2 additions & 2 deletions docs/misc/keymappings.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ public boolean mouseClicked(double x, double y, int button) {
If you do not own the screen which you are trying to check a **mouse** for, you can listen to the `Pre` or `Post` events of `ScreenEvent$MouseButtonPressed` on the [**Forge event bus**][forgebus] instead.
:::

[modbus]: ../concepts/events.md#mod-event-bus
[modbus]: ../concepts/events.md#event-buses
[controls]: https://minecraft.wiki/w/Options#Controls
[tk]: ../concepts/internationalization.md#translatablecontents
[keyinput]: https://www.glfw.org/docs/3.3/input_guide.html#input_key
[forgebus]: ../concepts/events.md#creating-an-event-handler
[forgebus]: ../concepts/events.md#registering-an-event-handler
2 changes: 1 addition & 1 deletion docs/resources/server/loottables.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ Forge adds an additional `LootItemCondition` which checks whether the given `Loo

[datapack]: https://minecraft.wiki/w/Data_pack
[wiki]: https://minecraft.wiki/w/Loot_table
[event]: ../../concepts/events.md#creating-an-event-handler
[event]: ../../concepts/events.md#registering-an-event-handler
[glm]: ./glm.md
6 changes: 3 additions & 3 deletions docs/resources/server/recipes/incode.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ public static final BannerPattern EXAMPLE_PATTERN = REGISTER.register("example_p
```

[recipe]: ./custom.md#recipe
[cancel]: ../../../concepts/events.md#canceling
[attached]: ../../../concepts/events.md#creating-an-event-handler
[registering]: ../../../concepts/registries.md#registries-that-arent-forge-registries
[cancel]: ../../../concepts/events.md#cancellable-events
[attached]: ../../../concepts/events.md#registering-an-event-handler
[registering]: ../../../concepts/registries.md

1 comment on commit 4b2d021

@neoforged-pages-deployments
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploying with Cloudflare Pages

Name Result
Last commit: 4b2d0213a13e7854a00a0bbe170bb2f039dee266
Status: ✅ Deploy successful!
Preview URL: https://2190de3c.neoforged-docs-previews.pages.dev
PR Preview URL: https://pr-48.neoforged-docs-previews.pages.dev

Please sign in to comment.