Translations:Modding:Content Tutorial Simple Block/25/en

From Vintage Story Wiki
Revision as of 13:13, 28 March 2024 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The first thing to set is the mining properties for your block. Add a comma after the last property, and add the following properties to your json file:

"blockmaterial": "Stone",
"resistance": 3.5

The blockmaterial property determines what tools are effective at digging this block. Setting this to Stone implies that it can be mined by pickaxes. For a complete list of block materials, view the EnumBlockMaterial section on GitHub.