Generation of crystal blocks

Started by Yharon Soup on Fri, 10/28/2022 - 13:37

Topic category: Help with modding (Java Edition)

Last seen on 08:49, 1. Nov 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Generation of crystal blocks
Fri, 10/28/2022 - 13:37

Hi, everyone! I am not really an mcreator expert but decided to make something. I made crystal blocks but i can't make then to generate them like on screenshot. What is a way to do something like that? screenshot

Last seen on 22:18, 30. Jan 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
If you want them to generate…
Thu, 11/03/2022 - 02:44

If you want them to generate underground, you'll need to make a structure that consists of the block.

  • Save six different structures that consist of your custom crystal block facing different directions.
  • Make six different structure files in your workspace, one for each direction. For each condition, the structure should check if there is air in its position, and check if there is a block next to it in the correct direction. (For example; the crystal attatched to the east side of a block should have a condition that the block next to it must be facing east.)
  • Set all of the generation chances to 1,000,000. Underground structures that require air to generate are kind of tricky, and you may have to make duplicates of the structure files to get a good amount.
  • If you want the crystals to generate in groups, you can use the built in structure group size feature; or, alternatively, add another procedure that generates more of the crystals on nearby blocks. (I'd recommend modifying the 'search for block in 6*6 cube template procedure.)