thomas15v / NoXray

Xray prevention plugin for sponge
MIT License
9 stars 1 forks source link

Better Ore selection #3

Closed thomas15v closed 8 years ago

thomas15v commented 8 years ago

Instead of using the hardness level of blocks to figure out if they are ores or not. We need to use a static list in a config file. For forge mods we should use the OreDict to figure out blocks.

This will reduce the load for blocks that shouldn't be handled. Especially in a modded environment.

thomas15v commented 8 years ago

Solved with net.minecraft.block.OreBlock :smile:. Now I only need a way to address forges oredict.