Update to Minecraft 1.15

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-12-11 09:00:00 +11:00
parent 1400103b2f
commit 0e142c7f03
293 changed files with 2875 additions and 2648 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/WorldData.java
+++ b/net/minecraft/server/WorldData.java
@@ -11,6 +11,11 @@
@@ -12,6 +12,11 @@
import java.util.UUID;
import java.util.Map.Entry;
import javax.annotation.Nullable;
@@ -12,7 +12,7 @@
public class WorldData {
@@ -67,6 +72,7 @@
@@ -68,6 +73,7 @@
private UUID W;
private final GameRules X;
private final CustomFunctionCallbackTimerQueue<MinecraftServer> Y;
@@ -20,7 +20,7 @@
protected WorldData() {
this.f = WorldType.NORMAL;
@@ -418,6 +424,7 @@
@@ -419,6 +425,7 @@
nbttagcompound.setString("WanderingTraderId", this.W.toString());
}
@@ -28,7 +28,7 @@
}
public long getSeed() {
@@ -506,6 +513,20 @@
@@ -511,6 +518,20 @@
}
public void setThundering(boolean flag) {
@@ -49,7 +49,7 @@
this.thundering = flag;
}
@@ -522,6 +543,20 @@
@@ -527,6 +548,20 @@
}
public void setStorm(boolean flag) {
@@ -70,7 +70,7 @@
this.raining = flag;
}
@@ -671,6 +706,12 @@
@@ -676,6 +711,12 @@
public void setDifficulty(EnumDifficulty enumdifficulty) {
this.F = enumdifficulty;
@@ -83,7 +83,7 @@
}
public boolean isDifficultyLocked() {
@@ -775,4 +816,12 @@
@@ -780,4 +821,12 @@
public void a(UUID uuid) {
this.W = uuid;
}