Skip to content
Hoid2 edited this page Oct 26, 2021 · 9 revisions

Welcome to the Action Inventory Mod wiki!


Action Inventory

The base of this mod are action inventories. Action inventories are displayed the same as regular inventories. When an item inside of an action inventory is clicked, certain things will happen.

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.

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 page for more information.

Items

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

Clone this wiki locally