Custom Machinery 1.16
  • Welcome
  • Creating custom machines
    • Creating a custom machine
    • Machine Appearance
      • Block appearance
      • Item appearance
      • Sound
      • Light
      • Color
      • Hardness
      • Resistance
      • Tool type
      • Mining level
      • Shape
    • Machine components
      • Energy component
      • Fluid component
      • Item component
      • Redstone component
    • Machine GUI
      • Dump Element
      • Energy element
      • Fluid element
      • Fuel element
      • Player inventory element
      • Progress bar element
      • Reset element
      • Size element
      • Slot element
      • Status element
      • Text element
      • Texture element
    • JEI Recipe GUI
    • Catalysts
  • Recipes
    • Creating a recipe
    • Requirements
      • Biome
      • Block
      • Command
      • Dimension
      • Drop
      • Durability
      • Effect
      • Energy
      • Energy per tick
      • Entity
      • Fluid
      • Fluid per tick
      • Fuel
      • Item
      • Light
      • Loot table
      • Position
      • Structure
      • Redstone
      • Time
      • Weather
    • Upgrades
      • Modifiers
  • Mod integrations
    • Crafttweaker
      • Recipes
        • Context
        • Machine
      • Upgrades
    • KubeJS
      • Recipes
        • Context
        • Machine
      • Upgrades
  • Misc
    • Crafting your machine
    • Text component
    • Comparator
Powered by GitBook
On this page
  1. Creating custom machines
  2. Machine Appearance

Hardness

Customize the machine block breaking speed.

Hardness is a float value used to calculate the breaking speed of the machine block.

The higher the hardness the longer the breaking time.

The default hardness is 3.5.

A hardness of -1 will make the block unbreakable (like bedrock).

Some comparisons with vanilla blocks :

  • Wool : 0.8

  • Stone : 1.5

  • Dirt : 0.5

  • Obsidian : 50

  • Netherrack : 0.4

  • End stone : 3

Example

"appearance": {
    "hardness": 42
}
PreviousColorNextResistance

Last updated 3 years ago