Modding:Item Json Properties: Difference between revisions

From Vintage Story Wiki
Marked this version for translation
mNo edit summary
(Marked this version for translation)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages/><translate>
<languages/><translate>
== Overview ==
== Overview == <!--T:1-->
A complete list of all available properties
A complete list of all available properties


<!--T:2-->
Definitions:
Definitions:


<!--T:3-->
'''Key''' - The name of the property, which should be used as it appears in the column.
'''Key''' - The name of the property, which should be used as it appears in the column.


<!--T:4-->
'''Value''' - A component of a property.
'''Value''' - A component of a property.


<!--T:5-->
'''Array''' - A list of objects or values that can be referenced in code.
'''Array''' - A list of objects or values that can be referenced in code.


<!--T:6-->
'''String''' - A sequence of characters that can be used as an identifier in code. Essentially a word that can be referenced and assigned to something. Generally does not use numbers.
'''String''' - A sequence of characters that can be used as an identifier in code. Essentially a word that can be referenced and assigned to something. Generally does not use numbers.


<!--T:7-->
'''Boolean''' - A true or false value, essentially "on" or "off".  
'''Boolean''' - A true or false value, essentially "on" or "off".  


<!--T:8-->
'''Int''' - An integer, or whole number. Cannot use decimal values.  
'''Int''' - An integer, or whole number. Cannot use decimal values.  


<!--T:9-->
'''Float''' - A decimal, specifically one that does not exceed more than 1 significant digit
'''Float''' - A decimal, specifically one that does not exceed more than 1 significant digit


<!--T:10-->
'''Object''' - This is a bit more complex, but essentially objects are the items, blocks and entities that can be interacted with. In most cases, when an "object" type appears it means you must use a specific item variant code, which follows the "itemcode-variant_1-variant_2-variant_n" style of naming.  
'''Object''' - This is a bit more complex, but essentially objects are the items, blocks and entities that can be interacted with. In most cases, when an "object" type appears it means you must use a specific item variant code, which follows the "itemcode-variant_1-variant_2-variant_n" style of naming.  


Confirmedusers
13,514

edits