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

From Vintage Story Wiki

Change the color of the block

To achieve this...
Modify the shinygoldtexture.png texture to a different color.

Change the block to only be mined with at least a tier 1 tool. Note that you will have to add a new "requiredMiningTier" property

To achieve this...
Add "requiredMiningTier":1 to the blocktype file.

Change your modid and domain to something else

To achieve this...
Modify both the modid entry in modinfo.json, and change the name of the 'simpleblock' folder in 'assets'.

Rename your 'Simple Gold Block'

To achieve this...
Change the entry for simplegoldblock in your en.json lang file.

Create another block with a different texture and properties

To achieve this...
Create a new block texture with a different name, and a duplicate blocktype file. In the new blocktype file, change the block code and change the texture property to your new texture path. Modify the properties to change the type of block. Don't forget to add new lang translation entries!