コード例 #1
0
  public boolean isTriggerPowered(FlowComponent item, boolean high) {
    List<SystemCoord> receivers =
        CommandBase.getContainers(
            item.getManager(), (MenuContainer) item.getMenus().get(containerId));

    return receivers != null && isTriggerPowered(receivers, item, high);
  }
コード例 #2
0
 protected List<SystemCoord> getContainers(TileEntityManager manager, MenuContainer menu) {
   return CommandBase.getContainers(manager, menu);
 }