Skip to content

Home v2

Hoid2 edited this page Jan 18, 2022 · 2 revisions

Action inventories are created using the json format. Action inventory files should be placed inside of a folder called "action inventories" within the Minecraft world save directory. (/reload also reloads Action inventories)

An action inventory is composed of the following:

Name

key = 'name'
This is a string. Used for identification.

Display Name

key = 'displayName'
This is an object. Displayed at the top of an inventory screen. Visit here for help creating text.

Rows

key = 'rows'
This is an int. Must be between 1 and 6 (includes 1 and 6).

Disallow Commands

key = 'disableCommand'
Default = false
This is a boolean. This determines whether this inventory can be opened using commands (false) or not (true).

Disallow Signs

key = 'disableSign'
Default = false
This is a boolean. This determines whether this inventory can be opened using special signs (false) or not (true).

Disallow Actions

key = 'disableAction'
Default = false
This is a boolean. This determines whether this inventory can be opened when an action item is clicked (false) or not (true).

Openers

key = 'openers'
This is an array of objects. See Openers v2 page for more information.

Items

key = 'items'
This is an array of objects. See Items v2 page for more information.

Clone this wiki locally