How do I use ArrayList for random blocks

Started by NickIINack on

Topic category: Help with modding (Java Edition)

Last seen on 10:03, 5. Jan 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I use ArrayList for random blocks

I'm making a block that which broken, will drop five blocks that exist in a 5x5 area centered on itself. However, I don't know how to spawn the blocks as items.

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The only way to do it, is…
Sun, 01/30/2022 - 14:12

The only way to do it, is with this: https://ibb.co/BqWmGdX

I made it 3 x 3 star shape. If you really would want to do it in a 5 x 5 area, that would be a bit harder. 

Glad if I helped.   :)