Wiki 9Minecraft Wiki 9Minecraft
Darkmining Wiki › Guides › Customizing Mining Drops Using a Companion Datapack

Customizing Mining Drops Using a Companion Datapack

Adding a Companion Datapack

DarkMining supports custom drop rates and item lists through a companion datapack, allowing you to tune how frequently extra items drop and which rewards appear.

1. Locate your Minecraft world directory. In singleplayer, select your world in the saves menu and open the folder, or access your dedicated server's root folder.

2. Open the datapacks folder located inside the active world save.

3. Place your DarkMining companion datapack into this datapacks directory.

4. If the world is running, execute the /reload command in the chat or console, or restart the world to apply the changes.

Configuring Drops and Server Support

Once the companion datapack is active, you can adapt the drop system to your preferred gameplay style:

1. Adjust the drop weightages within the companion datapack to alter how often bonus food, ores, or rare dimensional items appear.

2. The underlying weightage system preserves all standard vanilla drops regardless of your custom bonus values.

3. If hosting a multiplayer world, the mod works entirely server-side. Once the server has the mod and companion datapack installed, connecting clients can receive all custom drops without installing client-side files.