Skip to content

1.21.1 blocks

github-actions[bot] edited this page Dec 3, 2026 · 3 revisions

Blocks

Block — Simple Example

{
  "id": "my_ore",
  "type": "block",
  "names": {
    "en_us": "My Ore",
    "es_mx": "Mi Mineral"
  },
  "light_level": 3,
  "destroy_time": 3.0,
  "explosion_resistance": 3.0,
  "map_color": "deepslate",
  "required_tool": "pickaxe",
  "harvest_level": 2,
  "sound": "stone",
  "texture": {
    "refs": {
      "block": "minecraft:block/diamond_ore"
    }
  }
}

Block with Per-Face Textures — Example

{
  "id": "multi_ore",
  "type": "block",
  "names": {
    "en_us": "Multi Ore",
    "es_mx": "Mineral Multi"
  },
  "texture": {
    "faces": {
      "top":    "minecraft:block/coal_ore",
      "bottom": "minecraft:block/iron_ore",
      "north":  "minecraft:block/gold_ore",
      "south":  "minecraft:block/redstone_ore",
      "east":   "minecraft:block/emerald_ore",
      "west":   "minecraft:block/diamond_ore"
    }
  }
}

Use "side" as a shortcut to apply the same texture to all 4 horizontal faces.

Directional Block — Example

{
  "id": "directional_block",
  "type": "block",
  "directional": true,
  "names": {
    "en_us": "My Machine",
    "es_mx": "Mi Máquina"
  },
  "texture": {
    "faces": {
      "top":    "minecraft:block/stone",
      "bottom": "minecraft:block/stone",
      "side":   "minecraft:block/stone",
      "north":  "minecraft:block/furnace_front_on"
    }
  }
}

The "north" face is the front face — it points toward the player when the block is placed.

Break Particles

The bits a block breaks into, and the dust kicked up when something walks or lands on it, come from a single texture. Without being told, a block picks one of its own:

Block Particle
One texture (all) That texture
Per-face The north face: the front of a directional block, as a furnace
Barrel Its side
Chest, shulker A piece of its own texture (see Containers)

When that piece is the wrong one, say a machine whose front is a screen, name it with particle in refs. It takes the same values as a face: a reference or a PNG of your own.

{
  "texture": {
    "refs": {
      "side":     "minecraft:block/smooth_stone",
      "north":    "textures/machine_screen.png",
      "particle": "minecraft:block/smooth_stone"
    }
  }
}

particle is never a face, so it works with any of the forms above, and on its own it does not turn a single-texture block into a per-face one.

Falling Block — Example

{
  "id": "my_falling_block",
  "type": "block",
  "gravity": true,
  "names": {
    "en_us": "My Falling Block",
    "es_mx": "Mi Bloque con Caída"
  },
  "sound": "sand",
  "destroy_time": 0.5,
  "explosion_resistance": 0.5,
  "texture": {
    "refs": { "block": "minecraft:block/sand" }
  }
}

Block Fields

Field Type Default Description
light_level Int 0 Light emitted by the block (0–15)
destroy_time Float 3.0 Hardness, as vanilla counts it (not seconds). Stone=1.5, obsidian=50, bedrock=-1 (unbreakable). See Vanilla reference
explosion_resistance Float 3.0 Resistance to explosions. Stone=6.0, Obsidian=1200.0
sound String stone Sound when placing/breaking/walking. See Block sound types for all available values. Default: stone
map_color String stone Map color for the block. See Map colors for all available values. Default: stone
required_tool String none Tool that mines the block efficiently: pickaxe, axe, shovel, hoe, sword or none. Grants mining speed only — use harvest_level to gate drops
harvest_level Int 0 Tool tier that gates drops: 0=no requirement (drops with anything), 1=stone, 2=iron, 3=diamond, 4=netherite. Level 4 uses the diamond requirement (vanilla has no netherite block tag)
directional Boolean false If true, rotates to face the player when placed. Requires texture.faces.north defined
gravity Boolean false If true, falls when unsupported, like sand or gravel. Cannot combine with directional
texture.refs.block String — (Simple blocks) Resource location used for all 6 faces
texture.faces Object — Per-face texture configuration. Keys: top, bottom, north, south, east, west, side
texture.faces.side String — Shortcut: applies to north, south, east, west if not individually defined
texture.refs.particle String — The texture the block breaks into. See Break Particles

With harvest_level ≥ 1, the block behaves like vanilla ore: the wrong tool or a lower tier is slow AND drops nothing. With level 0 (or omitted), required_tool only grants mining speed — the block drops with anything, like sand. Works with modded tools that follow vanilla tiers. Note: switching harvest_level between 0 and ≥1 requires a restart (the drop requirement is baked at startup); adjusting it between 1–4, or changing required_tool, applies with /customgear reload.

Vanilla reference

Values from Minecraft 1.21.1, to compare yours against.

How long a block takes to break. With the right tool, about destroy_time × 1.5 / mining_speed seconds: obsidian (50) with a diamond pickaxe (8.0) takes 50 × 1.5 / 8 ≈ 9.4 s. By hand, destroy_time × 1.5 if the block drops without a tool, and destroy_time × 5 if it needs one. Efficiency and Haste make it faster; mining underwater or in the air makes it slower.

Block destroy_time explosion_resistance Tool Needs to drop
Leaves 0.2 0.2 hoe —
Glass 0.3 0.3 — Silk Touch
Netherrack 0.4 0.4 pickaxe any pickaxe
Dirt, sand 0.5 0.5 shovel —
Gravel, grass block 0.6 0.6 shovel —
Wool 0.8 0.8 shears —
Stone 1.5 6.0 pickaxe any pickaxe
Cobblestone 2.0 6.0 pickaxe any pickaxe
Oak log 2.0 2.0 axe —
Oak planks 2.0 3.0 axe —
Shulker box 2.0 2.0 pickaxe —
Chest, barrel 2.5 2.5 axe —
Crafting table 2.5 2.5 axe —
Coal ore 3.0 3.0 pickaxe any pickaxe
Iron ore 3.0 3.0 pickaxe stone pickaxe
Diamond ore 3.0 3.0 pickaxe iron pickaxe
Deepslate 3.0 6.0 pickaxe any pickaxe
Furnace 3.5 3.5 pickaxe any pickaxe
Deepslate ores 4.5 3.0 pickaxe as the plain ore
Iron block 5.0 6.0 pickaxe stone pickaxe
Diamond block 5.0 6.0 pickaxe iron pickaxe
Ender chest 22.5 600 pickaxe any pickaxe
Ancient debris 30 1200 pickaxe diamond pickaxe
Obsidian 50 1200 pickaxe diamond pickaxe
Netherite block 50 1200 pickaxe diamond pickaxe
Bedrock -1 3600000 — unbreakable

"Any pickaxe" has no harvest_level equivalent: level 0 drops with anything, even a hand. For the others, stone = 1, iron = 2, diamond = 3.

Light source light_level
Glowstone, sea lantern, lantern 15
Torch, end rod 14
Soul torch, soul lantern 10
Redstone torch, glow lichen 7
Amethyst cluster 5
Magma block 3
Brewing stand 1

Clone this wiki locally