Generating a emerald-like ore

Started by 0TastyPie0 on

Topic category: Help with modding (Java Edition)

Last seen on 21:41, 4. May 2021
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Generating a emerald-like ore

I've been trying to make an ore that spawns the same way as a vanilla emerald ore. They attempt to spawn 11 times per chunk in mountainous biomes, and they spawn only as a single block (no cluster of ore). That last part is the issue I'm having because there doesn't seem to be an option to generate a set amount, you can only set an average amount. I've tried setting "average number of ores per group" to 1, but then the ore doesn't even seem to spawn at all (I've tested in multiple worlds, and I've found none of the ore, but a bunch of emerald ore). If I set a higher value, the ore starts spawning, but I get more than one ore together which I don't want.

If anyone knows how to fix this, or if you can work around this through the code editor somehow, please let me know!

Last seen on 18:50, 15. Nov 2020
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
go into a world. place your…
Sun, 08/23/2020 - 21:45

go into a world.

place your block.

use the command /give *press tab* structure_block.

place one on two of the corners of your block.

set both structure blocks to corner mode, and make sure both text fields have the same name (it can be any name you want).

set up a third structure block, this time set it to save mode.

put the same name you put into the corner structure blocks into the textfield.

hit the button labeled detect. lines should appear around your block.

hit the save button within the structure block. there should be two buttons named save, hit the one in all caps.

go back into mcreator.

inside the resources section, there should be a tab called structures. go there.

click the import structures from minecraft button. you should see your stucture in the list. choose it.

create a structure using the structure you just imported. tweak it however you like.

 

Hope this helped :D

Last seen on 21:41, 4. May 2021
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can see how this would…
Mon, 08/24/2020 - 21:00

I can see how this would work, however I can't seem to get the same spawn values as emerald ores with this method. I can't set 11 of them to spawn per chunk, and I don't know which of the adjustable values will make them only spawn below y 32 ("spawn height offset" doesn't seem do that sadly).