SPIGOT-1980: Register new brewing slot
This commit is contained in:
parent
4cd46b242b
commit
105df861ed
@ -14,6 +14,7 @@ import net.minecraft.server.PacketPlayOutOpenWindow;
|
|||||||
import net.minecraft.server.Slot;
|
import net.minecraft.server.Slot;
|
||||||
|
|
||||||
public class CraftContainer extends Container {
|
public class CraftContainer extends Container {
|
||||||
|
|
||||||
private final InventoryView view;
|
private final InventoryView view;
|
||||||
private InventoryType cachedType;
|
private InventoryType cachedType;
|
||||||
private String cachedTitle;
|
private String cachedTitle;
|
||||||
@ -262,9 +263,9 @@ public class CraftContainer extends Container {
|
|||||||
this.a(new Slot(top, 1, 79, 53));
|
this.a(new Slot(top, 1, 79, 53));
|
||||||
this.a(new Slot(top, 2, 102, 46));
|
this.a(new Slot(top, 2, 102, 46));
|
||||||
this.a(new Slot(top, 3, 79, 17));
|
this.a(new Slot(top, 3, 79, 17));
|
||||||
|
this.a(new Slot(top, 4, 17, 17));
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < 3; ++i) {
|
for (i = 0; i < 3; ++i) {
|
||||||
for (int j = 0; j < 9; ++j) {
|
for (int j = 0; j < 9; ++j) {
|
||||||
this.a(new Slot(bottom, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));
|
this.a(new Slot(bottom, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user