public ContainerPan(InventoryPlayer playerInventory, TileEntityPan pan) {
this.addSlotToContainer(new SlotPanInput(pan.getInventory(), 0, 56, 17));
this.addSlotToContainer(new SlotPanOutput(playerInventory.player, pan.getInventory(), 1, 116, 35));
for (int i = 0; i < 3; ++i)
for (int j = 0; j < 9; ++j)
this.addSlotToContainer(new Slot(playerInventory, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));
for (int k = 0; k < 9; ++k)
this.addSlotToContainer(new Slot(playerInventory, k, 8 + k * 18, 142));
}
ContainerPan.java 文件源码
java
阅读 18
收藏 0
点赞 0
评论 0
项目:ExSartagine
作者:
评论列表
文章目录