Hacked PocketBuilder to Generate Mazes
Made a minor change to PocketBuilder so that mazes generate instead of regular pocket dimensions. I'm only doing this to test dungeon generation - it'll get switched back once mazes are ready.
This commit is contained in:
@@ -465,6 +465,7 @@ public class PocketBuilder
|
||||
Point3D door = new Point3D(x, y, z);
|
||||
BlockRotator.transformPoint(center, door, orientation - BlockRotator.EAST_DOOR_METADATA, door);
|
||||
|
||||
/*
|
||||
//Build the outer layer of Eternal Fabric
|
||||
buildBox(world, center.getX(), center.getY(), center.getZ(), (size / 2), properties.PermaFabricBlockID, false, 0);
|
||||
|
||||
@@ -474,8 +475,9 @@ public class PocketBuilder
|
||||
buildBox(world, center.getX(), center.getY(), center.getZ(), (size / 2) - layer, properties.FabricBlockID,
|
||||
layer < (wallThickness - 1) && properties.TNFREAKINGT_Enabled, properties.NonTntWeight);
|
||||
}
|
||||
*/
|
||||
|
||||
//MazeBuilder.generate(world, x, y, z, random);
|
||||
MazeBuilder.generate(world, x, y, z, random);
|
||||
|
||||
//Build the door
|
||||
int doorOrientation = BlockRotator.transformMetadata(BlockRotator.EAST_DOOR_METADATA, orientation - BlockRotator.EAST_DOOR_METADATA + 2, properties.DimensionalDoorID);
|
||||
|
||||
Reference in New Issue
Block a user