Item that spawns 50 entities at random sequence

Started by Polixaber on

Topic category: Help with modding (Java Edition)

Last seen on 15:14, 1. Sep 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item that spawns 50 entities at random sequence

Hello! I am making a mod, and i want to create an item, that when you will right click, it will spawn one of the 50 entities, and i want it to spawn entities at random sequence. Is this possible?

Last seen on 13:36, 30. Jul 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go to your custom item tab…
Sat, 07/13/2024 - 20:30

Go to your custom item tab and go to triggers, then create a procedure to when right-clicked 
In the procedure use the spawn entity and the random chance blocks, you can find the random chance code in the Procedure templates.