Allow hoppers/pipes/turtles to access devices' upgrades
JCLemme opened this issue ยท 0 comments
Describe your enhancement
I noticed that I couldn't use vanilla hoppers or Mekanism pipes to insert patterns into autocrafters. Kind of an odd request, but I'm trying to automate factory construction with ComputerCraft turtles and they can't finish setting machines up without being able to install patterns.
It seems like there's an ItemHandler.BLOCK capability that allows this, which a handful of devices (disk drive, interface) have but the rest don't. Simple enough to change... I made a patch set that enables it across the board:
- All machines (except the interfaces, see below) expose their upgrades
- Autocrafters expose both their patterns and upgrades
- Security Managers expose their security cards
I also added this change to the Interface and Disk Interface, but reverted it; they both had logic already for inserting/exporting items and I didn't want to change their behavior. Maybe it's worth it to include them, maybe it's not.
I'll make a pull request today with the proposed changes.