Update to Minecraft 1.11

This commit is contained in:
md_5
2016-11-17 12:41:03 +11:00
parent 51263e9718
commit c25ddf063a
279 changed files with 3722 additions and 2992 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/ChunkProviderServer.java
+++ b/net/minecraft/server/ChunkProviderServer.java
@@ -14,6 +14,11 @@
@@ -15,6 +15,11 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -12,7 +12,7 @@
public class ChunkProviderServer implements IChunkProvider {
private static final Logger a = LogManager.getLogger();
@@ -69,19 +74,82 @@
@@ -70,19 +75,82 @@
Chunk chunk = this.getLoadedChunkAt(i, j);
if (chunk == null) {
@@ -97,7 +97,7 @@
if (chunk == null) {
long k = ChunkCoordIntPair.a(i, j);
@@ -100,7 +168,7 @@
@@ -101,7 +169,7 @@
this.chunks.put(k, chunk);
chunk.addEntities();
@@ -106,7 +106,7 @@
}
return chunk;
@@ -146,10 +214,12 @@
@@ -147,10 +215,12 @@
public boolean a(boolean flag) {
int i = 0;
@@ -122,7 +122,7 @@
if (flag) {
this.saveChunkNOP(chunk);
@@ -182,10 +252,12 @@
@@ -183,10 +253,12 @@
Chunk chunk = (Chunk) this.chunks.get(olong);
if (chunk != null && chunk.d) {
@@ -139,7 +139,7 @@
++i;
}
}
@@ -197,6 +269,40 @@
@@ -198,6 +270,40 @@
return false;
}