@@ -1,7 +1,8 @@
|
||||
--- a/net/minecraft/server/ContainerLoom.java
|
||||
+++ b/net/minecraft/server/ContainerLoom.java
|
||||
@@ -1,7 +1,29 @@
|
||||
package net.minecraft.server;
|
||||
--- a/net/minecraft/world/inventory/ContainerLoom.java
|
||||
+++ b/net/minecraft/world/inventory/ContainerLoom.java
|
||||
@@ -16,8 +16,30 @@
|
||||
import net.minecraft.world.level.block.Blocks;
|
||||
import net.minecraft.world.level.block.entity.EnumBannerPatternType;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.Location;
|
||||
@@ -30,7 +31,7 @@
|
||||
private final ContainerAccess containerAccess;
|
||||
private final ContainerProperty d;
|
||||
private Runnable e;
|
||||
@@ -29,6 +51,13 @@
|
||||
@@ -45,6 +67,13 @@
|
||||
ContainerLoom.this.a((IInventory) this);
|
||||
ContainerLoom.this.e.run();
|
||||
}
|
||||
@@ -44,7 +45,7 @@
|
||||
};
|
||||
this.resultInventory = new InventorySubcontainer(1) {
|
||||
@Override
|
||||
@@ -36,6 +65,13 @@
|
||||
@@ -52,6 +81,13 @@
|
||||
super.update();
|
||||
ContainerLoom.this.e.run();
|
||||
}
|
||||
@@ -58,7 +59,7 @@
|
||||
};
|
||||
this.containerAccess = containeraccess;
|
||||
this.f = this.a(new Slot(this.craftInventory, 0, 13, 26) {
|
||||
@@ -96,10 +132,12 @@
|
||||
@@ -112,10 +148,12 @@
|
||||
}
|
||||
|
||||
this.a(this.d);
|
||||
@@ -71,7 +72,7 @@
|
||||
return a(this.containerAccess, entityhuman, Blocks.LOOM);
|
||||
}
|
||||
|
||||
@@ -218,6 +256,11 @@
|
||||
@@ -234,6 +272,11 @@
|
||||
|
||||
if (nbttagcompound.hasKeyOfType("Patterns", 9)) {
|
||||
nbttaglist = nbttagcompound.getList("Patterns", 10);
|
||||
|
||||
Reference in New Issue
Block a user