Pixel Dream StudiosWiki

Tier recipes

The drill core recipes a tier mines with: every field, and where the files go.

Recipes tell the drill what to roll while the specified tier is active. They also support dimension/biome filters so you can restrict outputs (e.g., quartz only in Nether).

Create files at:

data/<namespace>/recipes/drill_core/<name>.json

Recipe JSON schema

{
  "type": "create_mininglaser:drill_core",

  // link to your tier by id (the file name or "id" field of your TierDef)
  "tier": "<namespace>:t10",

  // base duration in ticks (20 ticks = 1 second) @ 1× speed
  // effective time is divided by speed multiplier (up to 2× at max_rpm)
  "duration": 200,

  // ordered drop table; the first successful roll returns
  "drops": [
    {
      "item": "minecraft:iron_ore",
      "chance": 0.35,      // 35% per completion
      "min": 1,
      "max": 2,

      // optional environment filter
      "env": {
        // only allow in these dimensions (resource locations)
        "dimensions": ["minecraft:overworld"],

        // biomes: either explicit ids...
        // "biomes": ["minecraft:old_growth_pine_taiga"]
        // ...or tags prefixed with '#'
        "biomes":
        [
        "#minecraft:is_overworld",
        "minecraft:plains"
        ]
      }
    },

    // Try next entry if previous didn't roll
    {
      "item": "minecraft:copper_ore",
      "chance": 0.25,
      "min": 1,
      "max": 3
    }
  ]
}

Environment filter details

  • dimensions: array of resource locations. Only matches when the controller is in one of these dimensions.
  • biomes: array of biome ids ("minecraft:desert") and/or biome tags (prefix with "#", e.g. "#minecraft:is_nether"). If any tag matches, the filter passes.

If neither dimensions nor biomes is provided, the drop is allowed everywhere.

On this page