danpost wrote...
If you only have two types of ore, then you can distinguish between them within the array by using negative quantities for one of them.worldChunk[5][5][2] [world00[ThreshMin][ThreshMax]][world01[ThreshMin][ThreshMax]][world02[ThreshMin][ThreshMax]][world03[ThreshMin][ThreshMax]][world04[ThreshMin][ThreshMax]] [world10[ThreshMin][ThreshMax]][world11[ThreshMin][ThreshMax]][world12[ThreshMin][ThreshMax]][world13[ThreshMin][ThreshMax]][world14[ThreshMin][ThreshMax]] [world20[ThreshMin][ThreshMax]][world21[ThreshMin][ThreshMax]][world22[ThreshMin][ThreshMax]][world23[ThreshMin][ThreshMax]][world24[ThreshMin][ThreshMax]] [world30[ThreshMin][ThreshMax]][world31[ThreshMin][ThreshMax]][world32[ThreshMin][ThreshMax]][world33[ThreshMin][ThreshMax]][world34[ThreshMin][ThreshMax]] [world40[ThreshMin][ThreshMax]][world41[ThreshMin][ThreshMax]][world42[ThreshMin][ThreshMax]][world43[ThreshMin][ThreshMax]][world44[ThreshMin][ThreshMax]]
worldChunkOre[300][4] - Where each row would be: [x][y][amount][type]
for(row = worldChunk[x][y][0]; row < worldChunk[x][y][1]; row++){ getWorld().addObject(new Ore(oreTypeList[worldChunkOre[row][3]], worldChunkOre[row][2]), worldChunkOre[row],[0]worldChunkOre[row][1]) }