Join our discord
In partnership with NodeCraft Logo NodeCraft


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

Drop JSONs

From Pixelmon Wiki

Different aspects of the Pixelmon mod can be tweaked through different types of external JSON files. This page covers the drop files, which define what items drop from Normal Pokémon, Boss Pokémon, Raids, loot from PokéLoot Chests as well as the Blank Galarian TM/TR Imprint Rate. Drop files are located at <Minecraft directory>/pixelmon/drops.

Examples of how to edit these files can be found on this page.

blankimprintrate.json

This file contains a list of all Galarian TMs and TRs along with the number of uses needed to complete the disk beside each move.
There are two JSON arrays: tm_gen8 and tr_gen8.

bossdrops.json

This file contains data about boss Pokémon drops. There are seven JSON arrays: common, uncommon, rare, epic, legendary, ultimate and spooky. These arrays each contain item IDs for the possible drops of each tier.

pokechestdrops.json

This file allows the special drop tables to be modified. The file contains four JSON arrays: tier1, tier2, tier3 and ultraSpace. Each array contains the item IDs of items that can be dropped in each special drop tier.

pokedrops.json

This file allows regular Pokémon drops to be edited. It is an array of JSON objects, one for each Pokémon. Pokémon that are not implemented in Pixelmon are also contained in this file, although these entries are currently unused by Pixelmon.

  • pokemon: The name of the Pokémon whose drops are being defined in the object.

All other fields follow a similar format, but allow for multiple drops with different rarities and quantities to be defined. JSON keys are created by combining a drop type and a data type.

Drop types include:

  • maindrop: The first item that the Pokémon can drop 100% of the time.
  • optdrop1: The second item that the Pokémon can drop 100% of the time.
  • optdrop2: The third item that the Pokémon can drop 100% of the time.
  • raredrop: An item that the Pokémon can drop 5% of the time.

It is not necessary to include all four drop types in a drop entry; Pokémon can have up to four items to drop, but may also drop fewer than four items.

Data types include:

  • data: The item ID of the item to drop.
  • min: The minimum quantity of the item that the Pokémon can drop. This number can also be 0 for the item to not always be dropped (or to make the drop rarer for raredrop) . If this field is omitted, its default value is 0.
  • max: The maximum quantity of the item that the Pokémon can drop. If this field is omitted, its default value is 1.

Drop quantities are chosen uniformly randomly between min and max, inclusive of both numbers.

Drop types and data types can be combined into the following JSON keys:

maindrop optdrop1 optdrop2 raredrop
data maindropdata optdrop1data optdrop2data raredropdata
min maindropmin optdrop1min optdrop2min raredropmin
max maindropmax optdrop1max optdrop2max raredropmax

raiddrops.json

This file contains data about Raid Drops. There are five JSON arrays, each for the respective Star Level: 1, 2, 3, 4 and 5. Each of these Star Level arrays contain Type Drops, which are Drops are based on the Dynamax Pokémon's type. The Any array in each Star Level contains the Star Drops. A complete table of these drops can be found on this page.

  • item: The item ID of the item to drop.
  • weight: Defines the weight value of the item. Formula: weight/sum of all weights = probability of obtaining

© 2012 - 2022 Pixelmon Mod