Modding:Basic Entity: Difference between revisions

From Vintage Story Wiki
(→‎Item: Removed second modid)
Tags: Mobile edit Mobile web edit
m (change syntax highlighting?)
Line 53: Line 53:
(please note that // comments are actually not a valid json syntax, so if you want to use this json code in your projects, you'd have to remove these first)
(please note that // comments are actually not a valid json syntax, so if you want to use this json code in your projects, you'd have to remove these first)


<syntaxhighlight lang="c#">
<syntaxhighlight lang="json">
   "client": {
   "client": {
     "renderer": "Shape", // How the entity will be rendered, "Shape" is the right one in almost all cases.
     "renderer": "Shape", // How the entity will be rendered, "Shape" is the right one in almost all cases.