Skip to content

Commit

Permalink
fix typo in event differences page
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Aug 4, 2024
1 parent 4138086 commit 02122fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikis/lootjs/docs/difference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 02122fd

Please sign in to comment.