Json block behaviors Container
Jump to navigation
Jump to search
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 Vintage Story is below.
behaviors: [{name: "Container"}],
entityclass: "GenericContainer",
attributes: {
inventoryClassName: "chest",
quantitySlots: 12,
dialogTitleLangCode: "basketcontents",
},
Modding |