How do I use ArrayList for random blocks

Started by NickIINack on

Topic category: Help with Minecraft modding (Java Edition)

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.

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.   :)