Guys, I have a thing to do but don't know how to. I'm creating a platform game where you interact with a chest, set him with values from another object, like a potion, that is a value to put in the chest (a variable). When this happens, I want to show a block at a display representing the action. Any ideas?
Edit: I will show clearly with images:
I have two chests which will store 2 values. To do this, I have to go to this shelf and get a potion that will represent a data type (number, text, bool, etc):

Here, I'm pretending to get a data, like a number. Let's suppose that is a number data, the number 1. I will store at the chest A:

At this moment, the game creates a block like that:

With the block created, I will store the chest A's value at the chest B:

When I do that, a new block like this one will spawn under the previous block:

What should I do?