Update config to include comments (#108)

* Add comments to configs
* Removed unused options
* Added a few of the newer options mainline Mekanism supports
* Also list the default values in the MekanismConfig class for easier comparision
* Change spacing slightly for tools config in code
* Add some of the missing generator config comments
* Config comments for tiers, and add missing comment for MinerSilkMultiplier
* Config comments for rest of generators module
* Fix which stick to sawdust recipe
* Config comments for tools
* Config comments for armor
* Add warning to DM radius comment, and fix a couple things addressed in PR comments
This commit is contained in:
Richard Freimer authored and Dave Smith committed 2019-03-24 14:40:28 -06:00
1 parent 1b6cfd37e9
commit 5a67067f07
18 files changed
+751 -480

No files matched your search

@@ -46,12 +46,14 @@ public final class MinerVisualRenderer {
List<Model3D> models = new ArrayList<>();
for (int x = -data.radius; x <= data.radius; x++) {
for (int y = data.minY - data.yCoord; y <= data.maxY - data.yCoord; y++) {
for (int z = -data.radius; z <= data.radius; z++) {
if (x == -data.radius || x == data.radius || y == data.minY - data.yCoord
|| y == data.maxY - data.yCoord || z == -data.radius || z == data.radius) {
models.add(createModel(new Coord4D(x, y, z, mc.world.provider.getDimension())));
if (data.radius <= 64) {
for (int x = -data.radius; x <= data.radius; x++) {
for (int y = data.minY - data.yCoord; y <= data.maxY - data.yCoord; y++) {
for (int z = -data.radius; z <= data.radius; z++) {
if (x == -data.radius || x == data.radius || y == data.minY - data.yCoord
|| y == data.maxY - data.yCoord || z == -data.radius || z == data.radius) {
models.add(createModel(new Coord4D(x, y, z, mc.world.provider.getDimension())));
}
}
}
}