4e8b8deab7
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.
28 lines
No EOL
702 B
Java
28 lines
No EOL
702 B
Java
package StevenDimDoors.mod_pocketDim;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.ArrayList;
|
|
import java.util.HashMap;
|
|
import java.util.Random;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
public class DungeonGenerator implements Serializable
|
|
{
|
|
public int weight;
|
|
public String schematicPath;
|
|
public ArrayList<HashMap> sideRifts = new ArrayList<HashMap>();
|
|
public LinkData exitLink;
|
|
public static Random rand = new Random();
|
|
public boolean isOpen;
|
|
public int sideDoorsSoFar=0;
|
|
public int exitDoorsSoFar=0;
|
|
public int deadEndsSoFar=0;
|
|
|
|
public DungeonGenerator(int weight, String schematicPath, Boolean isOpen)
|
|
{
|
|
this.weight=weight;
|
|
this.schematicPath=schematicPath;
|
|
this.isOpen=isOpen;
|
|
}
|
|
} |