mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-02 16:07:06 +00:00
Schem
This commit is contained in:
parent
4199824275
commit
e7baa90792
@ -1,6 +1,5 @@
|
|||||||
package ninja.bytecode.iris;
|
package ninja.bytecode.iris;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
@ -84,24 +83,6 @@ public class Iris extends JavaPlugin implements Listener
|
|||||||
}
|
}
|
||||||
}, 0, 15);
|
}, 0, 15);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void convert(File folder)
|
|
||||||
{
|
|
||||||
if(!folder.exists())
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(folder.isFile())
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
for(File i : folder.listFiles())
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private int getTC()
|
private int getTC()
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,7 @@ public class Settings
|
|||||||
public PerformanceMode performanceMode = PerformanceMode.UNLIMITED;
|
public PerformanceMode performanceMode = PerformanceMode.UNLIMITED;
|
||||||
public int threadCount = 12;
|
public int threadCount = 12;
|
||||||
public int threadPriority = Thread.MAX_PRIORITY;
|
public int threadPriority = Thread.MAX_PRIORITY;
|
||||||
public boolean loadonstart = true;
|
public boolean loadonstart = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class GeneratorSettings
|
public static class GeneratorSettings
|
||||||
|
@ -70,9 +70,6 @@ public class Schematic
|
|||||||
w = din.readInt();
|
w = din.readInt();
|
||||||
h = din.readInt();
|
h = din.readInt();
|
||||||
d = din.readInt();
|
d = din.readInt();
|
||||||
din.readInt();
|
|
||||||
din.readInt();
|
|
||||||
din.readInt();
|
|
||||||
int l = din.readInt();
|
int l = din.readInt();
|
||||||
clear();
|
clear();
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ import org.bukkit.util.BlockVector;
|
|||||||
|
|
||||||
import ninja.bytecode.iris.schematic.Schematic;
|
import ninja.bytecode.iris.schematic.Schematic;
|
||||||
import ninja.bytecode.shuriken.collections.GList;
|
import ninja.bytecode.shuriken.collections.GList;
|
||||||
|
import ninja.bytecode.shuriken.logging.L;
|
||||||
|
|
||||||
public class WandUtil
|
public class WandUtil
|
||||||
{
|
{
|
||||||
@ -49,7 +50,6 @@ public class WandUtil
|
|||||||
byte data = b.getData();
|
byte data = b.getData();
|
||||||
|
|
||||||
BlockVector bv = b.getLocation().subtract(c.getCenter()).toVector().toBlockVector();
|
BlockVector bv = b.getLocation().subtract(c.getCenter()).toVector().toBlockVector();
|
||||||
System.out.println("Load " + bv + " " + b.getType());
|
|
||||||
s.put(bv.getBlockX(),
|
s.put(bv.getBlockX(),
|
||||||
bv.getBlockY(),
|
bv.getBlockY(),
|
||||||
bv.getBlockZ(),
|
bv.getBlockZ(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user