How do I clear my custom inventory with procedures?

Started by IndianaJohns on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I clear my custom inventory with procedures?

Hello. I ask for help in this matter. I have a custom block. Its functionality is similar to the chisel from the mod "chisel". One slot for a cobblestone (for example), the output has several options for its appearance. These are output slots. There are 24 of them. I created a recipe. If you put a cobblestone in the input slot, other variants of it appear in the 24 output slots. Question - how can I delete the remaining 23 slots when getting an item from any one output slot using the procedures? The procedures include clearing the slot. But only one. Is it possible to set a condition-clear everything except the one from which I pick up the finished item. I apologize for the English language, I use a translator and for the first time I work with mcreator

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the only way to clear a…
Fri, 02/07/2020 - 13:21

the only way to clear a whole custom inventory is by putting the clear [item amount] from slot [id] a lot of times

i dont know if there are other ways to clear a whole custom inventory so this the only i know to do that

You could use clear command…
Sat, 02/08/2020 - 19:29

You could use clear command in combination with the procedure block.

There is clear inventory procedure block too, I believe.