Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 27: Line 27:
<div class="treeview">
<div class="treeview">
* '''Json File'''
* '''Json File'''
** '''code'''
** '''code ''(string)'''''
** '''variantgroups (array)'''
** '''maxstacksize ''(number)''''': ''default'': 64
** '''enabled ''(boolean)''''': ''default'': true; If the block will be added to game or not.
** '''randomdrawoffset ''(boolean)''''': ''default'': false; If the block has a random draw offset.
** '''renderpass'''
*** Opaque ''(default)''
*** OpaqueNoCull
*** Transparent
*** Liquid
*** TopSoil
** '''variantgroups ''(array)'''''
*** '''loadFromProperties'''
*** '''loadFromProperties'''
** '''creativeinventory'''
** '''creativeinventory'''
*** '''default'''
*** '''default'''
** '''shapeinventory'''
** '''shape'''
** '''shape'''
*** '''base'''
*** '''base'''
** '''shapebytype'''
** '''ambientocclusion ''(boolean)''''': ''default'': true; If ambient occlusion will be applied to the block.
** '''blockmaterial'''
** '''blockmaterial'''
** '''drawtype'''
** '''drawtype'''
Line 51: Line 63:
*** CrossAndSnowlayer
*** CrossAndSnowlayer
** '''textures'''
** '''textures'''
** '''texturesinventory'''
** '''texturesbytype'''
** '''texturesinventorybytype'''
** '''resistance'''
** '''resistance'''
** '''sounds'''
** '''sounds'''
*** '''place'''
*** '''place'''
*** '''walk'''
*** '''walk'''
*** '''break'''
*** '''hit'''
*** '''inside'''
</div>
</div>
Confirmedusers, editor, Administrators
886

edits