Repackage NMS

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-03-16 09:00:00 +11:00
parent 18496e998f
commit 9da047989c
968 changed files with 5448 additions and 5050 deletions

View File

@@ -1,6 +1,6 @@
--- a/net/minecraft/server/WorldMap.java
+++ b/net/minecraft/server/WorldMap.java
@@ -11,6 +11,15 @@
--- a/net/minecraft/world/level/saveddata/maps/WorldMap.java
+++ b/net/minecraft/world/level/saveddata/maps/WorldMap.java
@@ -31,6 +31,15 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -16,7 +16,7 @@
public class WorldMap extends PersistentBase {
private static final Logger LOGGER = LogManager.getLogger();
@@ -28,8 +37,18 @@
@@ -48,8 +57,18 @@
public final Map<String, MapIcon> decorations = Maps.newLinkedHashMap();
private final Map<String, WorldMapFrame> n = Maps.newHashMap();
@@ -35,7 +35,7 @@
}
public void a(int i, int j, int k, boolean flag, boolean flag1, ResourceKey<World> resourcekey) {
@@ -52,12 +71,30 @@
@@ -72,12 +91,30 @@
@Override
public void a(NBTTagCompound nbttagcompound) {
@@ -69,7 +69,7 @@
});
this.centerX = nbttagcompound.getInt("xCenter");
this.centerZ = nbttagcompound.getInt("zCenter");
@@ -92,13 +129,32 @@
@@ -112,13 +149,32 @@
@Override
public NBTTagCompound b(NBTTagCompound nbttagcompound) {
@@ -103,7 +103,7 @@
nbttagcompound.setInt("xCenter", this.centerX);
nbttagcompound.setInt("zCenter", this.centerZ);
nbttagcompound.setByte("scale", this.scale);
@@ -389,12 +445,25 @@
@@ -409,12 +465,25 @@
@Nullable
public Packet<?> a(ItemStack itemstack) {