/
Belyash5
/
Flu
Обзор
Документация
Войти
/
Belyash5
/
Flu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/java/com/hbm/inventory/container/ContainerDroneProvider.java
21 строка
573 B
70000hp
Container base class to make life easier
01 июн 2024, 22:23
01 июн 2024, 22:23
eb8155b
Код
Авторство
О чём код?
package com.hbm.inventory.container; import com.hbm.tileentity.network.TileEntityDroneProvider; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Slot; public class ContainerDroneProvider extends ContainerCrateBase { public ContainerDroneProvider(InventoryPlayer invPlayer, TileEntityDroneProvider tedf) { super(invPlayer,tedf); for(int i = 0; i < 3; i++) { for(int j = 0; j < 3; j++) { this.addSlotToContainer(new Slot(tedf, j + i * 3, 62 + j * 18, 17 + i * 18)); } } this.playerInv(invPlayer, 8, 103, 161); } }