Appearance
Items and containers
Before you start
Use Rocket Inventory Core 1.0.0 with Unreal Engine 5.8. Follow Install the plugin and Blueprint content first.
This example creates DA_Item_Example with a custom five-cell shape, text, and a 2D icon, and DA_Container_Example with a 4×4 grid. Definitions store reusable asset data; runtime inventory operations create item and container instances from them. Return to Set up an inventory to connect your definitions to an inventory owner.
1. Create an item definition
- In the Content Browser, choose a folder for your own inventory assets.
- Open the asset creation menu and select Rocket Core > Item Definition.
- Name the new asset DA_Item_Example.
- Double-click it to open the item definition editor.

Add the example's fragments
Open Add Fragment in the item editor. Use its search field to find and select a fragment class. Configure each fragment by selecting it in the fragment list.
See Fragments for the purpose and main settings of each supplied fragment.

For DA_Item_Example, add these four fragments:
- Shape: Jigsaw Custom (
RicItemFragmentJigsawItemShapeCustom). - Visual Resolver.
- Text (Name, Description).
- Icon 2D (
RicItemFragmentIcon).

2. Configure shape and presentation
Select Shape: Jigsaw Custom and set:
- Rows:
2. - Columns:
3.
Configure the mask with all three top-row cells enabled and only the left and right cells enabled in the bottom row. Leave the bottom-center cell disabled. The example occupies five cells within a three-column, two-row bounding area.

Grid placement uses the enabled cells in this mask. Choose a container with enough usable space for this shape; this example does not fit in a one-cell grid.
Choose the 2D visual resolver
Select Visual Resolver and set Visual Resolver Class to BP_VisualResolver_Icon2D.
The supplied UI needs the resolver to display the icon. Configure this fragment as well as the Icon 2D data below.

Set the item's text
Select Text (Name, Description). The example uses Example for Name, Short Name, and Description. Replace these with the text for your own item.

Assign the icon
Select Icon 2D and set Icon to T_Food_1x1, as shown, or use your own texture. Save DA_Item_Example after configuring the fragments.
![]()
The texture's asset name does not determine the item's grid shape. This example uses T_Food_1x1 for presentation and the custom five-cell mask for placement.
3. Create a container definition
- In the Content Browser, choose a folder for your own inventory assets.
- Open the asset creation menu and select Rocket Core > Container Definition.
- Name the new asset DA_Container_Example.
- Double-click it to open the container definition editor.

Configure the grid
Under Container Type, select Jigsaw Grid. The selected card shows Selected, and the right-hand panel displays Jigsaw Container Fragment.
Set the following values:
- Rows:
4. - Columns:
4. - Container Tag:
Ric.Container.Type.Chest.
Click Fill below the grid to enable all 16 cells. This example uses the full rectangular grid. Clear disables all cells; individual cells can be toggled to create a custom container shape.
Leave Additional Fragments empty at this stage; the next section adds a tag filter. Save DA_Container_Example after configuring the grid and tag. The asterisk beside the asset name in the screenshot indicates unsaved changes.

The enabled cells define the usable placement area. The custom five-cell DA_Item_Example shape fits within this empty 4×4 grid.
Container Tag identifies the container for tag-based lookup and placement selection. Assigning Ric.Container.Type.Chest does not create a chest actor or display a UI widget. The definition must first be used to create a runtime container, and the UI must be connected to that instance.
4. Configure filters and nested containers
Item tags
In DA_Item_Example, add the Tags fragment and set Initial Item Tags to Ric.Equipment.Backpack. Save the asset.

Container filter
In DA_Container_Example, add Dynamic Filter under Additional Fragments and set:
- Gameplay Tags:
Ric.Equipment.Backpack. - Filter Type: Allow Items with Tags.
- Apply to All Children: unchecked.
Save the asset. This filter allows items matching the configured tag. Enable Apply to All Children to apply the restriction to nested containers too.

Nested containers
To give an item storage, add one of these fragments to its item definition:
- Container Collection (recommended): references an asset containing an array of container definitions.
- Container Definition: references a single container definition.
The screenshots below use the demo ChestRig item.
Configure the collection
The demo collection DA_ContainerCollection_BagCollection_1 contains eight entries in Container Definitions:
- Index 0–3: DA_Container_Bag_1x1.
- Index 4–7: DA_Container_Bag_2x1.

In the item's Container Collection fragment, set Container Collection to DA_ContainerCollection_BagCollection_1. Each entry supplies a separate container inside the item.

Arrange the containers in the UI
For the supplied UI, also add BP_ItemFragment_ContainerArranger, displayed as BP Item Fragment Container Arranger. It defines how the item's containers are placed in the layout grid.
Add a Container Locations entry for each container, in the same array order. The ChestRig example uses (0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), and (1, 3).

Save the collection and item definition. For displaying this storage beside equipped items, see WBP_EquipmentWithSlots: equipment with nested storage.
Result in the UI
The equipped ChestRig displays eight containers: four single-cell compartments above four two-cell compartments. The open Tactical Chest Rig window shows the same layout.

5. Verify the assets in an inventory
Create the runtime container
In the Blueprint that owns Ric Container Manager, create the container from the definition configured above:
- Drag Ric Container Manager from the Components panel into the graph as a reference.
- Drag from that reference and add Add Container from Definition.
- Connect Event BeginPlay to the node's execution input.
- Connect Ric Container Manager to Target.
- Set Container Definition to DA_Container_Example. The asset name is truncated in the screenshot's narrow selector.

Add Container from Definition is an authority-only Blueprint function. The graph connects BeginPlay directly to it; a separate Switch Has Authority is not required for this call. The node does not send a client request to the server. For multiplayer, the inventory owner must replicate as described in Set up an inventory.
The node creates a runtime container from DA_Container_Example and adds it to the manager. Return Value is the created container reference; it is left unconnected in the screenshot. You can check it with Is Valid and keep the reference for later container or UI setup.
At this stage, the container is empty. Creating it does not add DA_Item_Example or open an inventory widget.
If you are extending an existing initialization graph, place this call in that sequence before adding the example item. Keep the existing demo setup and add the example container once during initialization.
Add the example item
Continue the execution wire from Add Container from Definition to Add Item from Definition. Use the same Ric Container Manager as Target on both nodes so the placement search can find the newly created container.
Configure Add Item from Definition as shown:
- Target: Ric Container Manager.
- Definition: DA_Item_Example. Its name is truncated in the screenshot's selector.
- Num:
1. - Find Space in Containers: Empty.
- Look for Place in Nested Items: checked.
- Exclude Container Tags: Empty.

The complete execution sequence is Event BeginPlay → Add Container from Definition → Add Item from Definition. Both creation functions are authority-only Blueprint calls.

An empty Find Space in Containers allows the manager to search eligible root containers without a tag restriction. With Look for Place in Nested Items checked, the search also includes storage inside items belonging to those roots. For a manager containing only the empty DA_Container_Example instance, placement uses that grid. Existing inventories may offer other eligible containers, so these settings do not select the example container exclusively.
To restrict the root selection to chest-tagged containers, set Find Space in Containers to Ric.Container.Type.Chest. This optional change is not shown in the screenshot. If several roots share that tag, all remain eligible; nested storage remains eligible while the checkbox is checked.
An empty Exclude Container Tags adds no explicit exclusions. The manager still excludes its swap-buffer container internally. Placement must also satisfy the destination's available space, shape, and filters.
Out Items Added reports the actual quantity placed. Return Value is true when at least one item was added; for requests larger than one, it can also indicate partial success. For this example's Num = 1, successful placement produces Out Items Added = 1 and Return Value = true. Both outputs are left unconnected in the screenshot; connect them to a temporary Print String or inspect them while debugging to verify placement.
6. Find a container by tag
The following graph shows three lookup options using the example's Container Tag, Ric.Container.Type.Chest. These are alternative queries, not an execution sequence. Each node returns a runtime container reference through Return Value; the screenshot leaves those outputs unconnected.

Find Container Copy by Tag
Use Find Container Copy by Tag on Ric Client Predicted Inventory when obtaining a container for UI that follows the player's predicted inventory state:
- Target: Ric Client Predicted Inventory.
- Container Gameplay Tag:
Ric.Container.Type.Chest. - Observed: unchecked for this example's container in the player's own inventory.
On a remote client, this query searches the selected collection of container copies. On authority, including standalone play and a listen-server host, it uses the corresponding container manager's tag lookup and returns a source container.
Enable Observed when querying the currently observed inventory instead of the player's own inventory. The observed manager must already be configured; checking this input does not open or begin observing a chest.
Find Container with Container Tag
Use Find Container with Container Tag on Ric Container Manager to find a source container among that manager's root containers:
- Target: Ric Container Manager.
- Tag:
Ric.Container.Type.Chest.
This searches the manager's direct containers. DA_Container_Example is added as a root by Add Container from Definition, so this query can find its runtime instance. It does not search storage inside items.
Find Container with Container Tag Recursive
Use Find Container with Container Tag Recursive on the same manager when the desired source container may be inside an item, such as storage in a backpack. Set Tag to Ric.Container.Type.Chest, as shown.
The recursive query checks all roots first, then storage inside their items, including deeper nested containers. For this example's root container, both manager queries can return the same instance.
Use the result in the UI
Each query returns the first exact tag match in its search order, or an invalid reference if no match is available. The tag is not a unique instance identifier: several containers can share it. Check Return Value with Is Valid before using it. On a remote client, the container may not yet be available while inventory replication and copy synchronization are pending.
For the supplied grid widget, follow Bind each widget by container tag: add WBP_InventorySlotGrid to your layout, set Assign to Container Tag to Ric.Container.Type.Chest, and leave IsObserved disabled for this player's container. The supplied widget handles tag binding; the lookup nodes above also let custom UI logic obtain a reference directly.
7. Display the example container
Use the inventory UI configured in Inventory UI and input. In its Designer layout, add or select a WBP_InventorySlotGrid instance and expand State in Details. Match the example's settings:
- Assign to Container Tag:
Ric.Container.Type.Chest. - Custom Rotation:
0°. - Is Quick Slot: unchecked.
- Is Observed: unchecked, selecting the player's own inventory.
- Draw Border: checked.

The assignment tag matches the runtime container's Container Tag. With the supplied inventory UI initialized, the widget binds to that container and displays its contents. For this setup, configure the assignment on the widget; the lookup nodes in the preceding section are useful when you also need a reference in your own Blueprint logic.
Compile and save the widget and the inventory owner's Blueprint, then run the level and display the inventory. The example's result is shown below.
Expected result
The supplied runtime screenshot shows a 4×4 container grid with the example item's food-can icon near the upper-left corner. The widget displays the icon selected in Icon 2D through BP_VisualResolver_Icon2D.

The item's enabled shape cells are configured in its definition. This screenshot shows the icon and grid; it does not highlight the five occupied shape cells individually.
To check this example:
- Compile and save the Blueprint, then start Play in Editor with that inventory owner active.
- Check that Add Container from Definition returns a valid container reference.
- Check that Add Item from Definition reports Out Items Added = 1 and Return Value = true.
- Open the inventory and confirm that the widget bound to
Ric.Container.Type.Chestshows a 4×4 grid and the example item's 2D icon, as above.
If Out Items Added is 0, check the selected definitions, the shared manager target, the execution order, and the destination's usable cells and filters. If placement succeeds but the grid is absent or empty, check the widget's Assign to Container Tag, Is Observed, and inventory UI initialization. With several eligible containers, also check where automatic placement put the item.