Changes

Copy Dynamic Loot Modification to MC1.16 archive
Line 5: Line 5:  
You will need 3 things:
 
You will need 3 things:
 
# 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/1.16]].
+
#* This will tell Forge about your modifiers and works similar to [[Tags/1.16|tags]].
 
# A serialized json representing your modifier at <code><nowiki>/data/<modID>/loot_modifiers/</nowiki></code>
 
# 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.
Line 11: Line 11:  
#* The operational code that makes your modifier work and associated serializer.
 
#* The operational code that makes your modifier work and associated serializer.
   −
Finally, the serializer for your operational class is [[Registration|registered/1.16]] as any other <code>ForgeRegistryEntry</code>.
+
Finally, the serializer for your operational class is [[Registration/1.16|registered]] as any other <code>ForgeRegistryEntry</code>.
    
==The global_loot_modifiers.json==
 
==The global_loot_modifiers.json==
372

edits