From 4b2d0213a13e7854a00a0bbe170bb2f039dee266 Mon Sep 17 00:00:00 2001 From: IchHabeHunger54 Date: Mon, 29 Jan 2024 22:34:12 +0100 Subject: [PATCH] fix broken links --- docs/datagen/server/loottables.md | 2 +- docs/datagen/server/tags.md | 2 +- docs/gettingstarted/index.md | 2 +- docs/gettingstarted/modfiles.md | 5 ++--- docs/gui/screens.md | 2 +- docs/items/index.md | 2 +- docs/items/mobeffects.md | 2 +- docs/misc/config.md | 2 +- docs/misc/gametest.mdx | 2 +- docs/misc/keymappings.md | 4 ++-- docs/resources/server/loottables.md | 2 +- docs/resources/server/recipes/incode.md | 6 +++--- 12 files changed, 16 insertions(+), 17 deletions(-) diff --git a/docs/datagen/server/loottables.md b/docs/datagen/server/loottables.md index 2436a2d2b..e7d5eb982 100644 --- a/docs/datagen/server/loottables.md +++ b/docs/datagen/server/loottables.md @@ -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 diff --git a/docs/datagen/server/tags.md b/docs/datagen/server/tags.md index 5603a548e..f52824a6c 100644 --- a/docs/datagen/server/tags.md +++ b/docs/datagen/server/tags.md @@ -118,4 +118,4 @@ public AttributeTagsProvider(PackOutput output, CompletableFuture 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 diff --git a/docs/items/mobeffects.md b/docs/items/mobeffects.md index 1af79dfe4..a8c9e98ad 100644 --- a/docs/items/mobeffects.md +++ b/docs/items/mobeffects.md @@ -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 diff --git a/docs/misc/config.md b/docs/misc/config.md index 4d51af03f..6ba9abdc6 100644 --- a/docs/misc/config.md +++ b/docs/misc/config.md @@ -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 diff --git a/docs/misc/gametest.mdx b/docs/misc/gametest.mdx index 90b1f0470..7562122c9 100644 --- a/docs/misc/gametest.mdx +++ b/docs/misc/gametest.mdx @@ -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 diff --git a/docs/misc/keymappings.md b/docs/misc/keymappings.md index 5d72a8cfe..f4fb2b8fb 100644 --- a/docs/misc/keymappings.md +++ b/docs/misc/keymappings.md @@ -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 diff --git a/docs/resources/server/loottables.md b/docs/resources/server/loottables.md index 52d7eed62..2e80c2f17 100644 --- a/docs/resources/server/loottables.md +++ b/docs/resources/server/loottables.md @@ -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 diff --git a/docs/resources/server/recipes/incode.md b/docs/resources/server/recipes/incode.md index 26d1f7ce4..00497a10a 100644 --- a/docs/resources/server/recipes/incode.md +++ b/docs/resources/server/recipes/incode.md @@ -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