MCEdit - some interesting worldgen stats

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Had to use MCEdit to reset some chunks, and while exploring the software, discovered that it can analyze everything in your world.

There are some interesting results, some of which seem a bit alarming, and might be possible "balance" and/or "performance" issues.

These results are based on over 1 million blocks, ignoring stone, gravel, bedrock, dirt, water & leaves.

11% of all the blocks are XYcraft ores and crystals (coal ore is 10%, no other ore is in the double digits)
There are 16817 quartz crystals within the area I analyzed, and currently they are always rendered at full distance (you can see them in loading holes), and are called as TileEntities. 99% of all TileEntities are these crystals. I'm assuming that TileEntites require more resources to be handled by MC then normal blocks.

RedPower Marble and Basalt combined total 21% of all the blocks, although they are not as noticeable within the world, but all those blocks are generated after the main world gen, which could explain some lag issues with chunk loading.

We know that XYCraft ores are common, but 1 in 10 blocks seems overkill to me. You can even view the quartz crystals within MCEdit, and they are everywhere.

At this point I'm thinking of disabling XYCraft due to the overwhelming world gen and the quartz crystals.
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
"ignoring stone, gravel, [...] dirt"
Well, you then base your search only ores and special blocks.
XyCraft ores are 5 types by themselves, and not quite rare, and you then throw in the crystals with it and make math.

How can you compare a lot of 6 blocks to any other ore in the game?

11%, along with the 21%, and maybe the 10% for coal, that means that the remaining 69% are ores that are supposed to be useful for common use.

The only block that I am really finding useless is really the crystals, because you can't even decorate with them.
XyCraft blocks are at least good for building purpose, and as such, you want them to be plentiful, because else you won't have enough to build with, right?
 

Golrith

Over-Achiever
Trusted User
Nov 11, 2012
3,834
2,137
248
Well, you can place quartz crystals as a decoration object. They stick to almost any other block.

With ores just compared to each other (DW20 pack):
Vanilla ores total 41.49%, XY totals 26.09%, all other mods total 32.42%. Does show how one mod overwhelms many other mods with it's ore gen. Haven't a problem with that since in time those ores will be useful, but what is worrying is having 16k tile entities (quartz crystals) that seem to be always loaded. Plus we don't really know how much more memory usage the ores require for having two textures overlayed on each other.

Coal Ore 23.55%
Iron Ore 12.27%
Aluminium 9.90%
Tin Ore 7.10%
Copper Ore 4.13%
Nikolite 3.81%
Redstone Ore 3.42%
Apatite 2.77%
Quartz Crystal 2.74%
Dark XY Ore 2.73%
Red XY Ore 2.72%
Blue XY Ore 2.70%
Light XY Ore 2.66%
Green XY Ore 2.64%
Silver Ore 2.14%
Lead Ore 2.00%
Monazit Ore 1.61%
Cinnabar 1.59%
Gold Ore 1.18%
Green Sapphire Ore1.18%
Blue Sapphire Ore1.17%
Ruby Ore 1.14%
Uranium Ore 0.92%
Earth Infused Stone0.77%
Ferrus Ore 0.54%
Lapis Lazuli Ore0.49%
Diamond Ore 0.43%
Water Infused Stone0.36%
Air Infused Stone0.34%
Vis Infused Stone0.29%
Fire Infused Stone0.29%
Tungston Ore 0.26%
Emerald Ore 0.15%
Dull Stone 0.01%
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
ouah, I can't do math apparently...
I'm ashamed of myself and am going to review the math I did today, because not being able to substract means I might have screwed some harder calculs...

One mod indeed outweight every others, but I prefer my ice cream not to have that flavor...
Ok, Vanilla is not a mod...

If you remove Aluminum (what's the point of this right now?) and crystals, you get some pretty normal numbers for XyCraft.
It can even be considered low as they can count as building materials.

As for the memory usage for having two textures?
16x16=256 Bytes per block (not per block in the world, per block different block), that's not exactly high.
If you had asked about how it hurts the CPU or GPU, you could have had a point, but memory wise, it's so low that you won't even notice it.


Also, I would like to inquire what kind of size you took for your data, because things like biomes can be of quite a large influence on the results.
Oceans, for example, make Copper rate go quite a bit lower.
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
I'd imagine the RP marble/basalt will change quite a bit depending on the size of the nodes/volcanoes in the area.

I think the thaumcraft infused stone is biome based.

Having 2 textures would explain aluminium ore flickering in a barrel. (which is very annoying)
Flickering?
Just by chance, would you happen to have Optifine installed?
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
This will happen even without Optifine due to the way barrels display items inside of them.
Now testing...


Indeed, there is a weird texture glitch that makes the texture bellow show up a little over the other one.
I wouldn't call it flickering though, because it only change when you move or turn, but yes, there is definitely something happening.
 

Kariko83

New Member
Jul 29, 2019
36
0
0
I wouldn't call it flickering though, because it only change when you move or turn, but yes, there is definitely something happening.
It is called z-fighting and is caused by the layering of textures in xycraft. While not being a problem within minecraft's normal rendering engine which handels it well, some mods that change how things in minecraft are rendered, or use their own rendering method, will cause this to happen.
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
Nice to know that it has a name.

It sure would be nice to see this fixed, because I can see more and more mods trying to go for effects like XyCraft blocks and ores.