Fandom

Minecraft Mod Custom Stuff Wiki

Hardness

175pages on
this wiki
Add New Page
Comments7 Share
CS1 Custom Stuff 1

Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.

CobblestoneBreak

The Time it takes to break cobblestone attests to its hardness.

The hardness of an attribute defines how difficult the block is to break with hands or tools. The higher the hardness value is, the more difficult the block is to break. Most common blocks are fairly easy to break, having no more than 5 hardness at the most. More resilient blocks such as obsidian will have hardness values that are significantly higher than this.

The syntax for defining hardness for a block is a single very basic line:

hardness=1;

As with most simple attributes, changing the number is all that's necessary to alter the value.

Important: the hardness of a block isn't the only determining factor in the amount of time it takes to mine a block. The material the block is made of plays a huge part in determining how the hardness value relates to its break time. Tests show that the time that it takes to break an item made from 'wood' with no tool is roughly twice the listed hardness value, while an item made from 'rock' takes roughly five times the listed value (in seconds) to break without a tool.

Hardness in the Vanilla Game

To help you decide what the hardness of your Custom Stuff blocks should be, below is a list of hardness values in the default game. Note that these values are different from just the amount of time necessary to mine a block with your bare hands. All of these values have been taken directly from the game code (thanks CubeX2) so they are accurate.

Air
Bed 0.2
Bedrock
Bookshelf 1.5
Brick 2
Cactus 0.4
Cake 0.5
Chest 2.5
Coal Ore 3
Cobblestone 2
Clay (block) 0.6
Crafting Table 2.5
Diamond Block 5
Diamond Ore 3
Dirt 0.5
Dispenser 3.5
Enchantment Table 5
End Stone 3
Farmland 0.6
Fence 2
Fire 0
Flowers 0
Furnace 3.5
Gold (block) 3
Gold Ore 3
Glass 0.3
Glowstone 0.3
Grass 0.6
Gravel 0.6
Ice 0.5
Iron Bars 5
Iron (block) 5
Iron Door 5
Iron Ore 3
Jack-O-Lantern 1
Jukebox 2
Ladder 0.4
Lapis Lazuli (block) 5
Lapis Lazuli Ore 3
Lava
Lava (flowing)
Leaves 0.2
Lever 0.5
Melon (block) 1
Monster Spawner 5
Moss Stone 2
Mushrooms 0
Mycelium 0.6
Nether Brick 2
Nether Brick Fence 2
Nether Brick Stairs 2
Netherrack 0.4
Note Block 0.8
Obsidian 50
Pressure Plates 0.5
Pumpkin 1
Portal (block)
Redstone Ore 3
Redstone Repeater 0
Redstone Torch 0
Redstone (wire) 0
Sand 0.5
Sandstone 0.8
Sapling 0
Sign 1
Sponge 0.6
Slabs 2
Snow 0.1
Snow (block) 0.2
Soul Sand 0.5
Stone 1.5
Stone Brick 1.5
Stone Button 0.5
Stone Stairs 2
Sugar Cane 0
TNT 0
Torch 0
Vines 0.2
Water
Water (flowing)
Wood 2
Wooden Plank 2
Wooden Stairs 2
Wheat 0

Note: Blocks shown with a hardness of "∞" cannot be broken by conventional means.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.