mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
SPIGOT-1980: Register new brewing slot
By: md_5 <git@md-5.net>
This commit is contained in:
parent
75c3223fb3
commit
95133063a1
1 changed files with 51 additions and 50 deletions
|
@ -14,6 +14,7 @@ import net.minecraft.server.PacketPlayOutOpenWindow;
|
|||
import net.minecraft.server.Slot;
|
||||
|
||||
public class CraftContainer extends Container {
|
||||
|
||||
private final InventoryView view;
|
||||
private InventoryType cachedType;
|
||||
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, 2, 102, 46));
|
||||
this.a(new Slot(top, 3, 79, 17));
|
||||
this.a(new Slot(top, 4, 17, 17));
|
||||
|
||||
int i;
|
||||
|
||||
for (i = 0; i < 3; ++i) {
|
||||
for (int j = 0; j < 9; ++j) {
|
||||
this.a(new Slot(bottom, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));
|
||||
|
|
Loading…
Add table
Reference in a new issue