protected void addPlayerSlots(InventoryPlayer playerInventory, int x, int y) {
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 9; ++j) {
addSlotToContainer(new Slot(playerInventory, j + i * 9 + 9, x + j * 18, y + i * 18));
}
}
for (int i = 0; i < 9; ++i) {
addSlotToContainer(new Slot(playerInventory, i, x + i * 18, y + 58));
}
}
ContainerBase.java 文件源码
java
阅读 40
收藏 0
点赞 0
评论 0
项目:Bewitchment
作者:
评论列表
文章目录