- Massive Block Placement Algorithm
- Grid Creation and Manipulation Algorithm
- Modules Framework by despawningbone (Currently Unreleased)
- Mine Expansions
- Mine Factories
- Custom Mine Schematics
- Autominer
- Members System
- Settings & Boosters
A couple of techniques were used to solve the problem of placing over 1,000,000 Blocks per private mine
- PMine Creation Queue system (Max mines generated/s depending on TPS)
- Schematics to FAWE Fast Print Technique
- Mine Blocks Reset via FAWE Fast Print Technique
FAWE Fast Print Technique
FaweQueue queue = FaweAPI.createQueue(
FaweAPI.getWorld(world.getBlockAt(mineCenterX, 128, mineCenterZ).getWorld().getName()), false);
queue.getRelighter().clear();
int count = 0;
for (int x = getMineCenterX() - getXZRadius(); x <= getMineCenterX() + getXZRadius(); x++) {
for (int y = getMineYSurface(); y >= getMineYSurface() - getMineYLength() && y > 0; y--) {
for (int z = mineCenterZ - getXZRadius(); z <= mineCenterZ + getXZRadius(); z++) {
if(count < genTableBlockIDs.size())
{
MineBlock block = genTableBlockIDs.get(count++);
if(block == null)
queue.setBlock(x, y,z, Material.STONE.getId());
else
queue.setBlock(x, y, z, block.getMaterial().getId(), block.getData());
}
else
queue.setBlock(x, y, z, 0);
}
}
}
