From 02122fd561887622fdb1aaf15c725ef5e4330db8 Mon Sep 17 00:00:00 2001 From: rlnt Date: Sun, 4 Aug 2024 13:04:50 +0200 Subject: [PATCH] fix typo in event differences page --- wikis/lootjs/docs/difference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wikis/lootjs/docs/difference.md b/wikis/lootjs/docs/difference.md index 4cb9e3e..11d237c 100644 --- a/wikis/lootjs/docs/difference.md +++ b/wikis/lootjs/docs/difference.md @@ -8,6 +8,6 @@ This event directly modifies the loot tables which are loaded through datapacks. ## `LootJS.modifiers()` -The modifications specified in this event are dynamically invoked after a loot table is rolled. They don't hold any information on how the loot table is structured. Modifiers only information about the items that will be dropped. The event allows to modify the dropped items directly. +The modifications specified in this event are dynamically invoked after a loot table is rolled. They don't hold any information on how the loot table is structured. Modifiers only have information about the items that will be dropped. The event allows to modify the dropped items directly. NeoForge provides the [Global Loot Modifier](https://docs.neoforged.net/docs/resources/server/loottables/glm/) system which allows mods to dynamically add loot when a specific loot table is rolled. This information does not exist inside a loot table meaning the `LootJS.lootTables()` event can't track any information about them. Instead, they can be modified with the `LootJS.modifiers()` event as it runs after the NeoForge hook.