Less spam

This commit is contained in:
Daniel Mills 2020-01-08 14:24:28 -05:00
parent ce8127456c
commit 248f2ca3c4
4 changed files with 2 additions and 13 deletions

View File

@ -246,13 +246,11 @@ public class Iris extends JavaPlugin implements Listener
public static IrisDimension loadDimension(String s) throws JSONException, IOException
{
L.i("Loading Iris Dimension " + s);
return new IrisDimension(loadJSON("pack/dimensions/" + s + ".json"));
}
public static IrisBiome loadBiome(String s) throws JSONException, IOException
{
L.i("Loading Iris Biome " + s);
return new IrisBiome(loadJSON("pack/biomes/" + s + ".json"));
}
@ -263,7 +261,6 @@ public class Iris extends JavaPlugin implements Listener
if(g != null)
{
schematics.put(s, g);
L.i("Loaded Object Group: " + g.getName() + " (" + g.getSchematics().size() + " Objects)");
return g;
}
@ -274,7 +271,6 @@ public class Iris extends JavaPlugin implements Listener
public static Schematic loadSchematic(String s) throws IOException
{
L.i("Loading Iris Object " + s);
return Schematic.load(loadResource("pack/objects/" + s + ".ish"));
}
@ -289,7 +285,6 @@ public class Iris extends JavaPlugin implements Listener
if(internal.exists())
{
L.v("Loading Group: " + string);
return internal;
}

View File

@ -85,7 +85,6 @@ public class Schematic
mountHeight = avg(avy);
mount = new BlockVector(avg(avx), 0, avg(avz));
L.i("Corrected " + getName() + "'s Mount Point: 0,0,0 -> " + mount.getBlockX() + "," + mount.getBlockY() + "," + mount.getBlockZ());
}
private int avg(double[] v)
@ -260,7 +259,6 @@ public class Schematic
Schematic s = new Schematic(1, 1, 1);
s.read(in);
L.i("Loaded Internal Object: " + s.getSchematic().size());
return s;
}
@ -271,7 +269,6 @@ public class Schematic
FileInputStream fin = new FileInputStream(f);
s.read(fin);
L.i("Loaded Object: " + f.getPath() + " Size: " + s.getSchematic().size());
return s;
}
@ -335,7 +332,6 @@ public class Schematic
{
int downshift = Integer.valueOf(j.split("\\Q=\\E")[1]);
shift.subtract(new Vector(0, downshift, 0));
L.i("Corrected " + getName() + "'s Mount Height: 0,0,0 -> " + shift.getBlockX() + "," + shift.getBlockY() + "," + shift.getBlockZ());
}
}

View File

@ -9,6 +9,7 @@ import ninja.bytecode.iris.util.Direction;
import ninja.bytecode.shuriken.collections.GList;
import ninja.bytecode.shuriken.execution.TaskExecutor;
import ninja.bytecode.shuriken.execution.TaskExecutor.TaskGroup;
import ninja.bytecode.shuriken.format.F;
import ninja.bytecode.shuriken.io.IO;
import ninja.bytecode.shuriken.logging.L;
@ -121,8 +122,6 @@ public class SchematicGroup
public void processVariants()
{
GList<Schematic> inject = new GList<>();
L.v("Processing " + name + " Objects");
L.v("# Creating Rotations for " + getSchematics().size() + " Objects");
String x = Thread.currentThread().getName();
ReentrantLock rr = new ReentrantLock();
TaskExecutor ex = new TaskExecutor(Iris.settings.performance.compilerThreads, Iris.settings.performance.compilerPriority, x + "/Subroutine ");
@ -146,7 +145,6 @@ public class SchematicGroup
gg.execute();
gg = ex.startWork();
getSchematics().add(inject);
L.v("# Generated " + inject.size() + " Rotated Objects to " + getName());
for(Schematic i : getSchematics())
{
@ -162,6 +160,7 @@ public class SchematicGroup
gg.execute();
ex.close();
L.i("Processed " + F.f(schematics.size()) + " Schematics in " + name);
}
@Override

View File

@ -170,7 +170,6 @@ public class IrisBiome
for(String i : schematicGroups.k())
{
L.v("Loading Object Group: " + i);
Iris.loadSchematicGroup(i);
}
});