Formatted DungeonGenerator
Changed the formatting in DungeonGenerator. Autocorrected indentation and removed extra empty lines to improve readability. None of the variables were changed since that would break compability with previous serialized instances.
This commit is contained in:
@@ -7,11 +7,8 @@ import java.util.Random;
|
|||||||
|
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public class DungeonGenerator implements Serializable
|
public class DungeonGenerator implements Serializable
|
||||||
{
|
{
|
||||||
|
|
||||||
public int weight;
|
public int weight;
|
||||||
public String schematicPath;
|
public String schematicPath;
|
||||||
public ArrayList<HashMap> sideRifts = new ArrayList<HashMap>();
|
public ArrayList<HashMap> sideRifts = new ArrayList<HashMap>();
|
||||||
@@ -22,21 +19,10 @@ public class DungeonGenerator implements Serializable
|
|||||||
public int exitDoorsSoFar=0;
|
public int exitDoorsSoFar=0;
|
||||||
public int deadEndsSoFar=0;
|
public int deadEndsSoFar=0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public DungeonGenerator(int weight, String schematicPath, Boolean isOpen)
|
public DungeonGenerator(int weight, String schematicPath, Boolean isOpen)
|
||||||
{
|
{
|
||||||
this.weight=weight;
|
this.weight=weight;
|
||||||
this.schematicPath=schematicPath;
|
this.schematicPath=schematicPath;
|
||||||
this.isOpen=isOpen;
|
this.isOpen=isOpen;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user