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

@@ -8,8 +8,8 @@
+public class TileEntitySign extends TileEntity implements ICommandListener { // CraftBukkit - implements
public final IChatBaseComponent[] lines = new IChatBaseComponent[]{new ChatComponentText(""), new ChatComponentText(""), new ChatComponentText(""), new ChatComponentText("")};
private int c = -1;
@@ -29,6 +29,12 @@
public boolean isEditable = true;
@@ -26,6 +26,12 @@
nbttagcompound.setString("Text" + (i + 1), s);
}
@@ -22,7 +22,7 @@
nbttagcompound.setString("Color", this.color.b());
return nbttagcompound;
}
@@ -39,18 +45,38 @@
@@ -36,18 +42,38 @@
super.load(nbttagcompound);
this.color = EnumColor.a(nbttagcompound.getString("Color"), EnumColor.BLACK);
@@ -67,8 +67,8 @@
+ this.lines[i] = new ChatComponentText(s);
}
this.k[i] = null;
@@ -111,11 +137,37 @@
this.g[i] = null;
@@ -108,11 +134,37 @@
return true;
}
@@ -107,7 +107,7 @@
}
public EnumColor getColor() {
@@ -126,7 +178,7 @@
@@ -123,7 +175,7 @@
if (enumcolor != this.getColor()) {
this.color = enumcolor;
this.update();