Modding:Block Json Properties: Difference between revisions

From Vintage Story Wiki
Add a link to the code that defines the properties
(Add doNotRenderAtLod2)
(Add a link to the code that defines the properties)
Line 3: Line 3:
__NOTOC__
__NOTOC__
== Overview == <!--T:1-->
== Overview == <!--T:1-->
A complete list of all available properties
This table was once complete, but it is now missing some new properties. In the code, these come from the fields listed with the "[JsonProperty]" attribute in [https://github.com/anegostudios/vsessentialsmod/blob/master/Loading/BlockType.cs BlockType.cs], plus the fields from the parent classes [https://github.com/anegostudios/vsessentialsmod/blob/master/Loading/CollectibleType.cs CollectibleType.cs] and [https://github.com/anegostudios/vsessentialsmod/blob/master/Loading/RegistryObjectType.cs RegistryObjectType.cs]. The json parser is case insensitive, which is how the property names can have different capitalization in the code and in the table below.


<!--T:2-->
<!--T:2-->
Confirmedusers
261

edits