Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "External JSON files"

From Pixelmon Wiki
(Updated for 8.0.2)
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<seo title="External JSON files" metakeywords="Pixelmon Reforged external JSONs spawns drops moves rules NPCs stats structures shops shopkeepers" metadescription="A guide explaining how to enable and work with Pixelmon's external JSON files."/>
 
<seo title="External JSON files" metakeywords="Pixelmon Reforged external JSONs spawns drops moves rules NPCs stats structures shops shopkeepers" metadescription="A guide explaining how to enable and work with Pixelmon's external JSON files."/>
 +
 +
'''In 1.16 and 1.20, External JSON files are no longer present. Instead, the JSON files from the Mod can be edited and applied via Datapacks. Please see [https://pixelmonmod.com/wiki/Datapack_Creation this page] for further details and instructions on how to access the JSON files now. '''
  
 
Certain aspects of Pixelmon, including [[special drops]], [[NPCs]], and [[structures]], can be edited through [https://www.json.org/ JSON] files.  
 
Certain aspects of Pixelmon, including [[special drops]], [[NPCs]], and [[structures]], can be edited through [https://www.json.org/ JSON] files.  
Line 22: Line 24:
 
|style="text-align:center"|[[NPC JSONs|NPCs]]
 
|style="text-align:center"|[[NPC JSONs|NPCs]]
 
|Governs many [[NPCs|Pixelmon NPC]]-related settings, from shop items and possible trades to translations.
 
|Governs many [[NPCs|Pixelmon NPC]]-related settings, from shop items and possible trades to translations.
 +
|-
 +
|style="text-align:center"|[[Quests/Creation|Quests]]
 +
|Governs default and custom [[quests]].
 +
|-
 +
|style="text-align:center"|[[Raid JSON|Raids]]
 +
|Governs which Pokémon can spawn in [[Raid Den|Raid Dens]] in which biome and at what Star level(s).
 
|-
 
|-
 
|style="text-align:center"|[[Rule JSONs|Rules]]
 
|style="text-align:center"|[[Rule JSONs|Rules]]
 
|Governs rulesets and tiers for competitive battling.
 
|Governs rulesets and tiers for competitive battling.
 
|-
 
|-
|style="text-align:center"|[[Spawning JSONs|Spawns]]
+
|style="text-align:center"|[[Spawning JSONs|Spawning]]
 
|Governs what Pokémon spawn where, when and how. Includes [[fishing]], [[bosses]] and [[Spawner Cave Rock|Cave Rock]]/[[Pixelmon Grass|Grass]] spawns.
 
|Governs what Pokémon spawn where, when and how. Includes [[fishing]], [[bosses]] and [[Spawner Cave Rock|Cave Rock]]/[[Pixelmon Grass|Grass]] spawns.
 
|-
 
|-
Line 34: Line 42:
 
|style="text-align:center"|[[Structure JSONs|Structures]]
 
|style="text-align:center"|[[Structure JSONs|Structures]]
 
|Governs what [[structures]] can spawn, and where. Only affects new chunks.
 
|Governs what [[structures]] can spawn, and where. Only affects new chunks.
|-
 
|style="text-align:center"|[[Quests/Creation|Quests]]
 
|Governs default and custom [[quests]].
 
 
|}
 
|}
  
 
'''Please note:''' When Pixelmon is updated, internal copies of the above files may change but externals will not. If any are enabled, keep a close eye on the changelogs and refresh or update files where necessary. Outdated files may cause issues, or contain bugs that have since been fixed.
 
'''Please note:''' When Pixelmon is updated, internal copies of the above files may change but externals will not. If any are enabled, keep a close eye on the changelogs and refresh or update files where necessary. Outdated files may cause issues, or contain bugs that have since been fixed.

Latest revision as of 18:58, 25 March 2024


In 1.16 and 1.20, External JSON files are no longer present. Instead, the JSON files from the Mod can be edited and applied via Datapacks. Please see this page for further details and instructions on how to access the JSON files now.

Certain aspects of Pixelmon, including special drops, NPCs, and structures, can be edited through JSON files. These files can be accessed by enabling their respective useExternalJSONFiles config setting(s) and then starting Minecraft, or restarting the server. Enabled external JSON files will show up under a newly-created pixelmon folder in .minecraft or the server root, depending on the side they're being edited on. JSON files can be edited with any plain text editor.

External JSON files should be edited carefully, as bad edits can potentially result in unexpected behavior from Pixelmon. Certain tools (such as JSONLint) can be used to verify that files are formatted correctly. If necessary, deleting the external JSON folder and restarting will cause fresh files to be regenerated.

After editing external JSON files, they will need to be reloaded in order for the changes to take effect. Shopkeeper and NPC files can be reloaded in-game via the /pokereload command. All external JSON files are reloaded after restarting the game or server.

The following types of external files can currently be enabled:

File type Description
Drops Governs drops from bosses and wild Pokémon, as well as PokéLoot Chest loot.
Moves Governs stats and rules for battle moves, as well as any graphical effects.
NPCs Governs many Pixelmon NPC-related settings, from shop items and possible trades to translations.
Quests Governs default and custom quests.
Raids Governs which Pokémon can spawn in Raid Dens in which biome and at what Star level(s).
Rules Governs rulesets and tiers for competitive battling.
Spawning Governs what Pokémon spawn where, when and how. Includes fishing, bosses and Cave Rock/Grass spawns.
Stats Governs Pokémon stats, EV yields, evolutions, whether they can be mounted, move lists and more.
Structures Governs what structures can spawn, and where. Only affects new chunks.

Please note: When Pixelmon is updated, internal copies of the above files may change but externals will not. If any are enabled, keep a close eye on the changelogs and refresh or update files where necessary. Outdated files may cause issues, or contain bugs that have since been fixed.

© 2012 - 2025 Pixelmon Mod