Open main menu
Home
Random
Log in
Settings
About Forge Community Wiki
Disclaimers
Forge Community Wiki
Search
Changes
← Older edit
Newer edit →
Dynamic Loot Modification
(view source)
Revision as of 23:38, 13 March 2021
63 bytes added
,
23:38, 13 March 2021
add folder for serialized jsons
Line 6:
Line 6:
# Create a <code>global_loot_modifiers.json</code> file at <code><nowiki>/data/forge/loot_modifiers/</nowiki></code>
# Create a <code>global_loot_modifiers.json</code> file at <code><nowiki>/data/forge/loot_modifiers/</nowiki></code>
#* This will tell Forge about your modifiers and works similar to [[Tags|tags]].
#* This will tell Forge about your modifiers and works similar to [[Tags|tags]].
−
# A serialized json representing your modifier
+
# A serialized json representing your modifier
at <code><nowiki>/data/<modID>/loot_modifiers/</nowiki></code>
#* This will contain all of the data about your modification and allows data packs to tweak your effect.
#* This will contain all of the data about your modification and allows data packs to tweak your effect.
# A class that extends <code>LootModifier</code>
# A class that extends <code>LootModifier</code>
Unbekannt
Interface administrators
,
Moderators
77
edits