Make a feature spawn like near where the player spawns (Like bonus chests)

Started by Terminnus on

Topic category: Help with modding (Java Edition)

Last seen on 02:31, 25. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a feature spawn like near where the player spawns (Like bonus chests)
Wed, 09/25/2024 - 02:32 (edited)

I'm making a mod that adds crates to the game, a block that gives you some loot when you destroy it, I want to add a feature that generates 4 basic crates near where the player spawns (much like the bonus chest), Is there any way to do that?, thanks!

PD: sorry for my English, I'm not a native

Edited by Terminnus on Wed, 09/25/2024 - 02:32