A procedure that runs a command and adds the element called by the command to the slot of the selected block

Started by VegaOrionis on

Topic category: Help with MCreator software

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
A procedure that runs a command and adds the element called by the command to the slot of the selected block

Hey, I would like to know how to run a specific command that summons a specific item and adds it to the slot of the selected block.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
/item replace block -2 68 87…
Mon, 09/22/2025 - 09:00

/item replace block -2 68 87 container.0 with minecraft:acacia_boat

this?

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What I mean is that items…
Mon, 09/22/2025 - 09:05

What I mean is that items such as books or potions can only be called with the /Give.... - I'm trying to find a way to call the command in such a way that the called item will be placed in a specific slot of my selected block (with slots)

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can get potion and…
Mon, 09/22/2025 - 09:11

you can get potion and enchanted books with procedure blocks

but the command I sent can also use such data like /give command. You cannot /give an item to a block though.

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm temporarily using the…
Mon, 09/22/2025 - 09:29

I'm temporarily using the old version of MCreator (2020.5) because I'm also trying to make mods for older versions of the game and I don't think there are even such procedures in this version. At most I will move to newer versions. I'm wondering if the /give command, if it can be passed to a living creature, theoretically transfers it from a mob to a block. Hmm... There should be a way around this, I don't know... I don't spend enough time in McCreator.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
why can't you just use the …
Mon, 09/22/2025 - 10:12

why can't you just use the /item command?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you're on super old…
Mon, 09/22/2025 - 10:15

if you're on super old versions it's probably /replaceitem