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,7 +1,8 @@
--- a/net/minecraft/server/ContainerCartography.java
+++ b/net/minecraft/server/ContainerCartography.java
@@ -1,7 +1,29 @@
package net.minecraft.server;
--- a/net/minecraft/world/inventory/ContainerCartography.java
+++ b/net/minecraft/world/inventory/ContainerCartography.java
@@ -13,8 +13,30 @@
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.saveddata.maps.WorldMap;
+// CraftBukkit start
+import org.bukkit.Location;
@@ -30,7 +31,7 @@
private final ContainerAccess containerAccess;
private long e;
public final IInventory inventory;
@@ -19,6 +41,13 @@
@@ -32,6 +54,13 @@
ContainerCartography.this.a((IInventory) this);
super.update();
}
@@ -44,7 +45,7 @@
};
this.resultInventory = new InventoryCraftResult() {
@Override
@@ -26,6 +55,13 @@
@@ -39,6 +68,13 @@
ContainerCartography.this.a((IInventory) this);
super.update();
}
@@ -58,7 +59,7 @@
};
this.containerAccess = containeraccess;
this.a(new Slot(this.inventory, 0, 15, 15) {
@@ -78,10 +114,12 @@
@@ -91,10 +127,12 @@
this.a(new Slot(playerinventory, j, 8 + j * 18, 142));
}