Pixel Dream StudiosWiki

Complete example

A whole new tier, t10: its tier file, head model and recipe.

Tier: t10

data/rose_quartz_drills/drill_tiers/t10.json

{
  "id": "rose_quartz_drills:t10",
  "order": 10,
  "core_item": "rose_quartz_drills:rose_quartz_laser_t10",
  "stress_at_minRPM": 32.0,
  "min_rpm": 128,
  "max_rpm": 256,
  "head_partial": "rose_quartz_drills:block/laser_head_rose_quartz"
}

Head model inheriting from base

assets/rose_quartz_drills/models/block/laser_head_rose_quartz.json

{
  "parent": "create_mininglaser:block/laser_head_t1",
  "textures": {
    "1": "rose_quartz_drills:block/laser_head_rose_quartz",
    "particle": "create_mininglaser:block/drill_casing"
  }
}

assets/rose_quartz_drills/textures/block/laser_head_rose_quartz.png (64×64 PNG matching the base UVs)

Recipe for that tier

data/rose_quartz_drills/recipes/drill_core/rose_quartz_laser_ores.json

{
  "type": "create_mininglaser:drill_core",
  "tier": "rose_quartz_drills:t10",
  "duration": 200,
  "drops": [
    {
      "item": "minecraft:quartz_ore",
      "chance": 0.35,
      "min": 1,
      "max": 3,
      "env": { "dimensions": ["minecraft:the_nether"] }
    },
    {
      "item": "minecraft:iron_ore",
      "chance": 0.30,
      "min": 1,
      "max": 2,
      "env": { "biomes": ["#minecraft:is_overworld"] }
    }
  ]
}

On this page