public ContainerDetectorItem(InventoryPlayer playerInv, TileDetector tile) {
super(((DetectorItem) tile.getDetector()).getFilters());
this.detector = (DetectorItem) tile.getDetector();
for (int i = 0; i < 9; i++) {
addSlot(new SlotFilter(detector.getFilters(), i, 8 + i * 18, 61, detector.getSlotController()));
}
for (int i = 0; i < 3; i++) {
for (int k = 0; k < 9; k++) {
addSlot(new Slot(playerInv, k + i * 9 + 9, 8 + k * 18, 84 + i * 18));