Update to mcdev rename revision 01 for 1.8.1

This commit is contained in:
Dinnerbone
2011-09-24 22:03:31 +01:00
parent 75ac4e00b2
commit 0118a20d6a
40 changed files with 322 additions and 324 deletions

View File

@@ -31,11 +31,11 @@ import org.bukkit.block.BlockState;
public class World implements IBlockAccess {
public final int a = 7;
public final int b = 11;
public final int c = 128;
public final int d = 127;
public final int e = 63;
public final int heightBits = 7;
public final int heightBitsPlusFour = 11;
public final int height = 128;
public final int heightMinusOne = 127;
public final int seaLevel = 63;
public boolean f = false;
public List entityList = new ArrayList();
private List M = new ArrayList();
@@ -59,7 +59,7 @@ public class World implements IBlockAccess {
public boolean suppressPhysics = false;
private long S = System.currentTimeMillis();
protected int u = 40;
public int spawnMonsters;
public int difficulty;
public Random random = new Random();
public boolean x = false;
public WorldProvider worldProvider; // CraftBukkit - remove final
@@ -1038,7 +1038,7 @@ public class World implements IBlockAccess {
}
}
public void cleanUp() {
public void tickEntities() {
int i;
Entity entity;
@@ -1604,7 +1604,7 @@ public class World implements IBlockAccess {
if (this.everyoneDeeplySleeping()) {
boolean flag = false;
if (this.allowMonsters && this.spawnMonsters >= 1) {
if (this.allowMonsters && this.difficulty >= 1) {
flag = SpawnerCreature.a(this, this.players);
}