How do I use ArrayList for random blocks

Started by NickIINack on Sat, 01/29/2022 - 01:46

Topic category: Help with modding (Java Edition)

Last seen on 20:04, 13. May 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I use ArrayList for random blocks
Sat, 01/29/2022 - 01:46

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 07:49, 20. May 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.   :)