How to select the number of items in a procedures

Started by thws6834 on

Topic category: Help with modding (Java Edition)

Last seen on 09:52, 21. Aug 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to select the number of items in a procedures

Hello, I'm using translator right now, so the grammar is awkward. Thank you for your understanding.
I'm working on a procedure, but I have a question.
world management category I am using spawn item/gem, is it possible to set the number of items dropped at this time? If it is possible to set the number of items, please let me know how to set it. please.

Last seen on 16:31, 28. Sep 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to create a local…
Mon, 08/14/2023 - 12:57

You need to create a local item stack variable, then you can set the variable to the item you want to drop and you can set the number of items in the variable to the amount you want, finally you drop the variable after you set it's stack size.

Last seen on 09:52, 21. Aug 2023
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you! It helped me…
Thu, 08/17/2023 - 11:42

thank you! It helped me. have a good day!