Wiki 9Minecraft Integrated Dynamics Wiki
Integrated Dynamics WikiDocumentation › Loot Conditions And Functions

Loot Conditions And Functions

As of Minecraft 1.15, this mod introduces a couple of loot conditions and functions that can be reused.

Examples can be found here:

Loot Conditions

Wrench

The integrateddynamics:match_wrench condition enables checking whether or not a block was broken by a tool with the forge:wrench tag. This will therefore not only match with the Integrated Dynamics Wrench, but also wrenches from other mods (that implement have this tag).

Example:

{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "integrateddynamics:proxy"
        }
      ],
      "conditions": [
        { "condition": "integrateddynamics:match_wrench" }
      ]
    }
  ]
}

Loot Functions

  • integrateddynamics:copy_proxy_id: Copy the proxy id to NBT.
  • integrateddynamics:copy_mechanical_drying_basin_tanks: Copy the mechanical drying basin tanks to NBT.
  • integrateddynamics:copy_mechanical_squeezer_tank: Copy the mechanical squeezer tank to NBT.
  • integrateddynamics:copy_mechanical_machine_energy: Copy the mechanical machine energy to NBT.