Skip to content
OreCruncher edited this page Jan 19, 2017 · 1 revision

Welcome to the Debris wiki!

Debris is a simple Minecraft mod that adds rubble and bone piles to the Minecraft world. When broken they will drop a random selection of items for the player to collect. The items dropped can range from normal mundane blocks (cobble, sand, gravel, etc.), worn tools (picks and helmets), useful material (string, clay, redstone, torches, coal, etc.) and perhaps something a little more rare (emeralds and diamonds).

This mod is based on the Pile of Rubble from my Thermal Recycling mod.

How it Works

Debris determines what to drop by using internal Loot Tables. The Pile of Rubble and Bone Pile each have their own separate loot table so the drops you see from one will not be available in the other.

The Loot Tables can be further modified by particular mods that are installed. As of this release Forestry is the only mod directly supported. Future releases will have builtin mod support if it makes sense to do so.

External Json Files

String with v0.0.2.0 a modpack author can add additional items to the loot tables for the two blocks. An example of what it could look like can be found in the forestry.json file built into the mod.

To include an external configuration file:

  • Place your loot table Json in the debris config directory.
  • Modify debris.cfg, adding the name of your Json file to the “External Configuration Files” string list.

Things to note:

  • If you want to add items to the Pile of Rubble, make sure the pool name is “pile_of_rubble”.
  • If you want to add items to the Bone Pile, make sure the pool name is “bone_pile”.
  • If an item name matches an entry already in the list, your item will replace the existing item.
  • The number of regular rolls and bonus rolls are set from the debris.cfg file meaning those settings in the Json are ignored.
  • The entries in “External Configuration Files” are processed in the specified order. This is important because of item replacement mentioned above.
  • Make sure you check the client logs when developing your loot table Json. Errors will be reported in the log.

Clone this wiki locally