Json block behaviors Container: Difference between revisions

From Vintage Story Wiki
m
no edit summary
(Created page with "== Purpose == This attaches a container to the block and should be paired with the entityClass "GenericContainer". It has attributes that apply to the Generic Container. An e...")
 
mNo edit summary
 
Line 1: Line 1:
== Purpose ==
== Purpose ==
This attaches a container to the block and should be paired with the entityClass "GenericContainer". It has attributes that apply to the Generic Container.  An example implementation from VintageStorage is below.
This attaches a container to the block and should be paired with the entityClass "GenericContainer". It has attributes that apply to the Generic Container.  An example implementation from Vintage Story is below.
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
behaviors: [{name: "Container"}],
behaviors: [{name: "Container"}],
205

edits