Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 19: Line 19:
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
{
{
code: "myspecialplanks",
code: "mygoldblock",
creativeinventory: { "default": ["*"] },
creativeinventory: { "default": ["*"] },
shape: { base: "basic/cube" },
shape: { base: "basic/cube" },
blockmaterial: "Wood",
blockmaterial: "Stone",
drawtype: "cube",
drawtype: "cube",
textures: {
textures: {
all: { base: "wood/planks/ourtexture.png" }
all: { base: "metal/mygoldtexture.png" }
},
},
resistance: 3.5,
resistance: 3.5,
sounds: {
sounds: {
"place": "block/planks",
"place": "block/anvil",
"walk": "walk/wood"
"walk": "walk/stone"
}
}
}
}
Confirmedusers, editor, Administrators
886

edits